Downloads · 30 days
13
8% of all-time downloads
SandLogicTechnologies/IndicPhi-mini
IndicPhi-mini is a text generation model from SandLogicTechnologies. Use it when you need the model to write or continue text. The card lists the license as mit.
IndicPhi-mini is a fine-tuned version of Microsoft’s Phi-mini-MoE, a compact Mixture-of-Experts (MoE) model, adapted specifically for Indic languages. It is trained on a curated multilingual dataset of approximately 2…
Downloads · 30 days
13
8% of all-time downloads
All-time downloads
159
Public
Parameters
7.6B
45.3 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors45.9 GB · 100%
From the Hugging Face model README
IndicPhi-mini is a fine-tuned version of Microsoft’s Phi-mini-MoE, a compact Mixture-of-Experts (MoE) model, adapted specifically for Indic languages. It is trained on a curated multilingual dataset of approximately 29 million high-quality samples, standardized into a conversational format from diverse sources. By leveraging efficient fine-tuning techniques such as QLoRA-based quantization and LoRA adapters, the model enhances Indic language capabilities while keeping resource usage practical. Evaluation on benchmark datasets shows consistent 3–4% accuracy improvements across multiple Indic languages, demonstrating the effectiveness of targeted fine-tuning with curated data. a compact Mixture-of-Experts (MoE) model
To load the fine-tuned model:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "SandLogicTechnologies/IndicPhi-mini"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
device_map="auto",
load_in_4bit=True
)
prompt = "ग्रामीण क्षेत्रों में ऑनलाइन शिक्षा की समस्याएं क्या हैं?"
inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
| Language | Samples |
|---|---|
| Hindi | 4.63M |
| Kannada | 3.54M |
| Telugu | 3.72M |
| Tamil | 3.86M |
| Marathi | 3.79M |
| Malayalam | 2.81M |
| Gujarati | 2.94M |
| Bengali | 1.82M |
| Odia | 438K |
| Punjabi | 1.21M |
| Assamese | 185K |
| Sinhala | 64K |
| Urdu | 58K |
Total curated dataset: ~29 million high-quality samples
| Language | Accuracy (Phi-mini-MoE) | Accuracy (IndicPhi-mini) |
|---|---|---|
| Hindi | 22.61 | 26.17 |
| Kannada | 20.96 | 25.83 |
| Tamil | 20.78 | 24.61 |
| Telugu | 20.70 | 26.00 |
| Bengali | 21.91 | 25.04 |
| Gujarati | 18.17 | 21.30 |
| Malayalam | 22.26 | 23.91 |
| Marathi | 19.65 | 25.22 |
| Odia | 22.26 | 24.17 |
Accuracy: (Phi-mini-MoE) 21.03 → (IndicPhi-mini) 24.46 (+3.43%)
MMLU-Indic
| Language | Accuracy (Phi-mini-MoE) | Accuracy (Phi-mini-MoE) |
|---|---|---|
| Hindi | 28.01 | 31.45 |
| Kannada | 26.74 | 30.12 |
| Tamil | 27.53 | 30.84 |
| Telugu | 27.20 | 31.02 |
| Bengali | 28.36 | 31.44 |
| Gujarati | 25.91 | 29.28 |
| Malayalam | 26.65 | 29.77 |
| Marathi | 27.12 | 30.63 |
| Odia | 27.05 | 30.45 |
| Punjabi | 26.42 | 29.61 |
| Assamese | 25.98 | 29.23 |
| Sinhala | 24.87 | 27.66 |
| Urdu | 25.44 | 28.71 |
Accuracy: (Phi-mini-MoE) 27.47 → (IndicPhi-mini) 30.95 (+3.48%)
The Phi-mini-MoE-Instruct models are based on the original work by Microsoft and fine-tuned by the Sandlogic development team.
Special thanks to:
For any inquiries or support, please contact us at [email protected] or visit our Website.