Instructions to use RohanMuralidharan/Transync with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RohanMuralidharan/Transync with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="RohanMuralidharan/Transync")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("RohanMuralidharan/Transync") model = AutoModelForSeq2SeqLM.from_pretrained("RohanMuralidharan/Transync") - Notebooks
- Google Colab
- Kaggle
Update transync_inference.py
Browse files- transync_inference.py +0 -1
transync_inference.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
""
|
| 2 |
Transync - Indic Multilingual Translation Inference
|
| 3 |
-
Uses facebook/mbart-large-50-one-to-many-mmt model
|
| 4 |
Supports 50+ languages including all major Indian languages
|
| 5 |
"""
|
| 6 |
|
|
|
|
| 1 |
""
|
| 2 |
Transync - Indic Multilingual Translation Inference
|
|
|
|
| 3 |
Supports 50+ languages including all major Indian languages
|
| 4 |
"""
|
| 5 |
|