AI & ML interests

Small Models and Inference Cascades

Recent Activity

rajpdus  updated a model 3 days ago
altslate/stream-vad-small
rajpdus  published a model 3 days ago
altslate/stream-vad-small
rajpdus  updated a model 3 days ago
altslate/indic-ocr-0.9b
View all activity

Organization Card

AltSlate Labs

Efficient, honest AI — small models trained from scratch, with the full recipe published.

We build compact language models that punch above their weight, and we release everything needed to trust and reproduce them: code, weights, evaluations, and reports.

🪰 The Jugnu family

Tiny language models pretrained from scratch (jugnu — जुगनू — means "firefly": small, but it glows). All under 150M parameters, all trained on 4× Blackwell GPUs, all Apache-2.0.

Model Params BLiMP ARC-Easy WikiText-2 (byte-ppl)
JugnuLM-53M 53.5M 78.1 51.4 2.04
JugnuLM-110M (R0) 109.7M 81.3 52.5 1.95
JugnuLM-110M-R1 — + value residuals 109.7M 81.1 54.7 1.94
JugnuLM-110M-R2 — + Muon 109.7M 80.8 56.1 1.93
JugnuLM-110M-R3 — + data blend 109.7M 81.8 53.6 1.91
JugnuLM-110M-R4a — + logit KD (heavy) 109.7M 80.4 57.0 2.18
JugnuLM-110M-R4b — + logit KD (light) 109.7M 79.3 55.5 1.92
🏆 JugnuLM-110M-R2+ — R2 recipe, scaled 109.7M 82.5 55.1 1.87

JugnuLM-110M-R2+ is our flagship — the kept R2 recipe (value residuals + Muon) scaled to 25B tokens under a WSD schedule. It posts the family's best BLiMP and perplexity, beats the baseline on every metric, and ranks #1 on the Tiny-ML Leaderboard efficiency score — a hair ahead of GPT-X2-125M, at a smaller size. (It's a value-residual model, so load it with trust_remote_code=True.)

JugnuLM-110M's 81.3% BLiMP ≈ GPT-X2-125M at ~12% fewer parameters and ~9× fewer training tokens.

The ablation ladder

Starting from an honest 110M baseline (R0), we add one lever at a time and keep only what beats the previous rung on the metric that matters:

  • R1 — value residuals (ResFormer): ARC-Easy +2.2 → kept.
  • R2 — Muon optimizer: ARC-Easy +1.4, lower perplexity → kept.
  • R3 — diverse data blend (+DCLM +FineMath): best BLiMP & perplexity, but ARC-Easy −2.5 → dropped. An honest negative — at this scale, FineWeb-Edu's educational filtering feeds ARC-Easy more than raw diversity does.
  • R4 — logit distillation (from a 1.7B teacher): brackets a narrow operating point — R4a (heavy KD) lifts ARC-Easy to a family-best 57.0 but hurts perplexity (2.18); R4b (light KD) recovers perplexity but loses the ARC gain → both dropped. Offline KD across a ~15× teacher–student gap isn't a clean win at this scale.
  • R2+ — the competitive run: take the strongest kept stack (R2) and scale it — 25B tokens + a WSD schedule → best-in-family BLiMP and perplexity, and #1 on the leaderboard efficiency score.

Training code & full recipe: github.com/AltSlate-Labs/jugnu

🇮🇳 Indic chat toolkit

Small task models for how people in India actually type: native script, romanized ("kal meeting cancel ho gayi"), and code-mixed. Each one runs in the browser (ONNX, transformers.js), is Apache-2.0, and its card states where other models are better. All are in the Indic chat toolkit collection.

Model Params What it does Held-out result Demo
indic-pii-redactor-small 141M Finds 16 kinds of Indian personal data (Aadhaar, PAN, UPI, GSTIN, phone, names…) in English, Hindi and Hinglish redaction recall 0.995, false alarms on 2.6% of PII-free messages (other open PII models: 44–94%) Space
indic-pii-redactor-base 307M The same, plus Marathi, Bengali, Tamil, Telugu, Gujarati and Kannada precision 0.989, 5.8% false alarms; recall 0.874 is lower than Horizon-Labs' model (0.923), which flags 82% of PII-free messages Space
Screenshot PII redactor (Space) OCR 29 MB + 141M Covers Aadhaar, PAN, UPI, phone numbers, names… in screenshots, in the browser: PP-OCRv5 (Latin + Devanagari) + indic-pii-redactor-small 96% of Latin-script and 90% of Devanagari personal data covered on rendered test screenshots; other scripts not yet Space
indic-chat-lid-small 140M Language ID for 12 South Asian languages, native and romanized 77% on romanized chat (GlotLID 42%, IndicLID 39%); GlotLID is better on English Space
indic-chat-wordlid-small 140M Word-level language ID for code-mixed chat: labels every word (12 Indian languages + English), including two Indian languages in one message 0.904 on human-labelled Hinglish words (muril-hinglish-lid: 0.875; we trained on that dataset's train split); 0.95 on mixed messages in 12 languages; romanized Hindi vs Urdu is unreliable Space
indic-chat-xlit-small 300M Romanized chat → native script, whole sentences, 12 languages, optional keep-English mode CER 0.057 on Dakshina (IndicXlit 0.097); IndicXlit is still better on Kannada Space
indic-tts-normalizer-small 300M Text → spoken form for TTS in 10 Indian languages: ₹ amounts, times, dates, phone numbers, units, cricket scores become words judged correct on 81% of Wikipedia sentences and 76% of messages (number-to-words rules: 65% / 43%); Punjabi slightly behind rules on Wikipedia Space
indic-punctuation-base 307M Adds punctuation (comma, sentence end, question) to unpunctuated text such as ASR output, 12 Indian languages + English, in each script's own marks Wikipedia F1 0.667 vs 0.610 for 1-800-BAD-CODE's XLM-R (equal on its 10 Indian languages, better on Urdu, Sindhi, Sinhala); slightly behind it on short messages Space
indic-itn-small 300M The reverse, for speech recognition output: spoken numbers, ₹ amounts, times and dates → digits, 10 Indian languages digits right in 93% of held-out Wikipedia sentences (indic-punct rules: 39%) and 47% of LLM-written messages (28%); colloquial readings are weak Space
indic-embed-small 140M Sentence embeddings for native-script, romanized and code-mixed text in 10 Indian languages + English: search native text with romanized queries romanized ↔ native retrieval 0.992 on Dakshina (l3cube indic-sbert 0.824, bge-m3 0.608); English STS 83.9 (v2; e5-small 83.4, bge-m3 84.8, l3cube 85.3) Space
indic-rerank-small 140M Search reranker (cross-encoder) for Hindi, Bengali, Telugu and English, including romanized queries against native-script passages MIRACL nDCG@10 0.813 native (mmarco-mMiniLMv2 0.774; bge-reranker-v2-m3, 4× larger, 0.857), 0.772 with romanized queries (bge-reranker 0.560), English 0.693 (mMiniLM 0.680); query and passage must share a language –
indic-chat-mt-small 483M Translates Hinglish and chat-style romanized or native-script text in 10 Indian languages into English, in the browser PHINC Hinglish test chrF++ 57.8 (NLLB-600M 42.5, opus-mt-mul-en 36.5); chat in 10 languages, romanized input: judge 3.36/5 (NLLB 1.14); weaker than NLLB on native script (FLORES 52.1 vs 61.3) Space

Each was trained on a single NVIDIA DGX Spark and tested on held-out data; training data and licenses are listed on each card.

What we care about

  • Efficiency per parameter — the sub-150M regime: on-device, low-latency, cheap-to-serve models.
  • Reproducibility — public code, open weights, and one-command evals.
  • Honest reporting — clean baselines and measured ablations over unvalidated clever tricks. We publish what didn't work (see R3 and R4), not just what did.

Links