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")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("sarvamai/sarvam-translate") model = AutoModelForMultimodalLM.from_pretrained("sarvamai/sarvam-translate", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Word dropping
2
#21 opened 4 months ago
by
spitfire4794
Memory Issue
#20 opened 9 months ago
by
Dehsahk-AI
doubt regarding the scope of the model
1
#19 opened 10 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 11 months ago
by
Gagana25
Does this model support translation among Indian languages?
4
#16 opened about 1 year ago
by
vishnu-vizz
Translations sound too literal/textbook-like
👍❤️ 2
1
#15 opened about 1 year ago
by
ColdMeat2003
The Model on GPU is taking Longer Time to Translate then Expected, CPU is Faster in my Case
#14 opened over 1 year ago
by
iamgrootns
The model fails to convert to gguf
➕ 1
#12 opened over 1 year ago
by
msripada
Model parameters and prompt optimization
#11 opened over 1 year ago
by
AadarshMaheshwari
Repeating Tokens
2
#10 opened over 1 year ago
by
Koosh0610
TypeError: argument of type 'NoneType' is not iterable when running model
2
#9 opened over 1 year ago
by
jafthab
Update README.md
👍 1
#4 opened over 1 year ago
by
sumanth-sarvam