Prince-1/sarvam-m-onnx
By Prince-1 · ↓ 0 · ♥ 1 · Updated 2025-06-14
What's in this repo
This page lists the files in Prince-1/sarvam-m-onnx, including model.onnx.
- 1 ONNX models (.onnx files)
- 8 files, including 4 .json, 1 .md, 1 .onnx, 1 .data
- Last updated 2025-06-14
ONNX files
| File | Size | Download |
|---|---|---|
| model.onnx | — | Download |
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
Sarvam-M
Model Information
sarvam-m is a multilingual, hybrid-reasoning, text-only language model built on Mistral-Small. This post-trained version delivers exceptional improvements over the base model:
- +20% average improvement on Indian language benchmarks
- +21.6% enhancement on math benchmarks
- +17.6% boost on programming benchmarks
Performance gains are even more impressive at the intersection of Indian languages and mathematics, with an outstanding +86% improvement in romanized Indian language GSM-8K benchmarks.
Learn more about sarvam-m in our detailed blog post.
Key Features
-
Hybrid Thinking Mode: A single versatile model supporting both "think" and "non-think" modes. Use the think mode for complex logical reasoning, mathematical problems, and coding tasks, or switch to non-think mode for efficient, general-purpose conversation.
-
Advanced Indic Skills: Specifically post-trained on Indian languages alongside English, embodying a character that authentically reflects and emphasizes Indian cultural values.
-
Superior Reasoning Capabilities: Outperforms most similarly-sized models on coding and math benchmarks, demonstrating exceptional reasoning abilities.
-
Seamless Chatting Experience: Full support for both Indic scripts and romanized versions of Indian languages, providing a smooth and accessible multilingual conversation experience.
Convertion
The original model is converted to onnx using OnnxRuntime-GenAI develop by Microsoft .
Quickstart
The following code snippet demonstrates how to use sarvam-m using Onnx.
[!NOTE] For thinking mode, we recommend
temperature=0.5; for no-think mode,temperature=0.2.
Model info
Created: 2025-06-14
Updated: 2025-06-14
View on Hugging FaceFiles (8)
Related models
More from Prince-1
More models
No task type declared.