Instructions to use google/bert2bert_L-24_wmt_en_de with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/bert2bert_L-24_wmt_en_de with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="google/bert2bert_L-24_wmt_en_de")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/bert2bert_L-24_wmt_en_de") model = AutoModelForSeq2SeqLM.from_pretrained("google/bert2bert_L-24_wmt_en_de") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- de383bb2cec1e2daa2824cc55f5b63c62ab53841efe1691aa2ede4ab576b9af1
- Size of remote file:
- 3.09 GB
- SHA256:
- 9f8827cab1fc38613fae1197309f828417da006cfe0f50563d3b0418e3c9f388
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.