Transformers
Safetensors
Persian
mt5
text2text-generation
persian
mt5-small
persian translation
seq2seq
farsi
Instructions to use NLPclass/mt5_en_fa_translation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NLPclass/mt5_en_fa_translation with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("NLPclass/mt5_en_fa_translation") model = AutoModelForSeq2SeqLM.from_pretrained("NLPclass/mt5_en_fa_translation", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -76,7 +76,7 @@ print("Pipeline Translation:", translate_with_pipeline(text))
|
|
| 76 |
If you use this model in your research or applications, please cite it as follows:
|
| 77 |
|
| 78 |
```bibtex
|
| 79 |
-
@misc{
|
| 80 |
author = {NLPclass},
|
| 81 |
title = {English to Persian Translation using MT5-Small},
|
| 82 |
year = {2024},
|
|
|
|
| 76 |
If you use this model in your research or applications, please cite it as follows:
|
| 77 |
|
| 78 |
```bibtex
|
| 79 |
+
@misc{mt5_en_fa_translation,
|
| 80 |
author = {NLPclass},
|
| 81 |
title = {English to Persian Translation using MT5-Small},
|
| 82 |
year = {2024},
|