Instructions to use facebook/m2m100_1.2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/m2m100_1.2B with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("facebook/m2m100_1.2B") model = AutoModelForSeq2SeqLM.from_pretrained("facebook/m2m100_1.2B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download rust_model.ot from facebook/m2m100_1.2B: direct link, hf CLI and curl.
- Browser
- Download file 4.96 GB
-
https://huggingface.co/facebook/m2m100_1.2B/resolve/main/rust_model.ot
- Command line
-
hf download hf://facebook/m2m100_1.2B/rust_model.ot
-
curl -L -o rust_model.ot https://huggingface.co/facebook/m2m100_1.2B/resolve/main/rust_model.ot
4.96 GB
- Xet hash:
- 6ee337505ef9996eadfaaebcb95af8caf1c097dc999570f5ad6317741e7fd0f8
- Size of remote file:
- 4.96 GB
- SHA256:
- a469969f13bade87949ec0b8c580a98298eb9db013e1c69aa1393379a2b512ec
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.