Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

sarvamai
/
sarvam-translate

Translation
Transformers
Safetensors
gemma3
image-text-to-text
text-generation-inference
Model card Files Files and versions
xet
Community
20

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
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

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
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs