Instructions to use NLPclass/mt5_base_translation_en_to_fa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NLPclass/mt5_base_translation_en_to_fa with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("NLPclass/mt5_base_translation_en_to_fa") model = AutoModelForSeq2SeqLM.from_pretrained("NLPclass/mt5_base_translation_en_to_fa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature4443afc -
Upload tokenizer
Verified signature9b89453 -
Upload MT5ForConditionalGeneration
Verified signature6581873 -
initial commit
Verified signature1d644c4