Instructions to use hf-internal-testing/random-nllb-moe-2-experts with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/random-nllb-moe-2-experts with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/random-nllb-moe-2-experts") model = AutoModelForSeq2SeqLM.from_pretrained("hf-internal-testing/random-nllb-moe-2-experts", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add safetensors weights
Verified signaturec069636
-
Update config.json
fc40309
-
Upload tokenizer
7eb7068
-
Upload model
0537bfe -
initial commit
8a9ed34