Translation
Transformers
PyTorch
Safetensors
English
Russian
fsmt
text2text-generation
wmt19
facebook
Instructions to use facebook/wmt19-en-ru with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/wmt19-en-ru 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="facebook/wmt19-en-ru")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("facebook/wmt19-en-ru") model = AutoModelForSeq2SeqLM.from_pretrained("facebook/wmt19-en-ru", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from facebook/wmt19-en-ru: direct link, hf CLI and curl.
- Browser
- Download file 1.16 GB
-
https://huggingface.co/facebook/wmt19-en-ru/resolve/refs%2Fpr%2F3/pytorch_model.bin
- Command line
-
hf download hf://facebook/wmt19-en-ru@refs/pr/3/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/facebook/wmt19-en-ru/resolve/refs%2Fpr%2F3/pytorch_model.bin
1.16 GB
- Xet hash:
- 5ee901f3082441ba0a9ee1bd6083d350d827e9646661f8e3fb3c9b2b17c2e3cd
- Size of remote file:
- 1.16 GB
- SHA256:
- a0600405208c25794cb81244e3c2ded3d288981d7181b3616834f3e05713f940
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.