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