Skip to content

Add sarvam model#45133

Draft
itazap wants to merge 1 commit intohuggingface:mainfrom
itazap:add-sarvam-model
Draft

Add sarvam model#45133
itazap wants to merge 1 commit intohuggingface:mainfrom
itazap:add-sarvam-model

Conversation

@itazap
Copy link
Copy Markdown
Collaborator

@itazap itazap commented Mar 31, 2026

Summary

  • Auto-generated modular integration for sarvam
  • modular_sarvam.py written via HF Inference API guided by modular_model_detector.py
  • modeling_sarvam.py regenerated from modular via modular_model_converter.py

Test plan

  • Review modular_sarvam.py inheritance and overrides for correctness
  • Run python utils/modular_model_converter.py --files src/transformers/models/sarvam/modular_sarvam.py and verify the output matches
  • Add model to __init__.py, auto mappings, and configuration files
  • Run model-specific tests

Generated via utils/auto_modular_pr.py

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants