Instructions to use entropy25/moe_fr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use entropy25/moe_fr with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("facebook/nllb-200-distilled-600M") model = PeftModel.from_pretrained(base_model, "entropy25/moe_fr") - Transformers
How to use entropy25/moe_fr with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("entropy25/moe_fr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K