Instructions to use sarvamai/sarvam-translate with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sarvamai/sarvam-translate 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="sarvamai/sarvam-translate")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("sarvamai/sarvam-translate") model = AutoModelForMultimodalLM.from_pretrained("sarvamai/sarvam-translate") - Notebooks
- Google Colab
- Kaggle
Memory Issue
#20 opened 4 months ago
by
Dehsahk-AI
doubt regarding the scope of the model
#19 opened 5 months ago
by
ColdMeat2003
Help me resolve this error. I'm running the sarvam translate model from hugging face on google colab with T4 gpu
#18 opened 6 months ago
by
Gagana25
Does this model support translation among Indian languages?
4
#16 opened 10 months ago
by
vishnu-vizz
Translations sound too literal/textbook-like
โค๏ธ๐ 2
1
#15 opened 10 months ago
by
ColdMeat2003
The Model on GPU is taking Longer Time to Translate then Expected, CPU is Faster in my Case
#14 opened 11 months ago
by
iamgrootns
The model fails to convert to gguf
โ 1
#12 opened 12 months ago
by
msripada
Model parameters and prompt optimization
#11 opened about 1 year ago
by
AadarshMaheshwari
Repeating Tokens
2
#10 opened about 1 year ago
by
Koosh0610
TypeError: argument of type 'NoneType' is not iterable when running model
2
#9 opened about 1 year ago
by
jafthab
Update README.md
๐ 1
#4 opened about 1 year ago
by
sumanth-sarvam