eulogik / Bharat-Tiny-LLM-v2

huggingface.co
Total runs: 32
24-hour runs: 0
7-day runs: -3
30-day runs: -10
Model's Last Updated: July 25 2026
text-generation

Introduction of Bharat-Tiny-LLM-v2

Model Details of Bharat-Tiny-LLM-v2

🇮🇳 Bharat-Tiny-LLM v2 (PyTorch / Transformers Base)

1.5B Parameter Open-Weights Indic LLM featuring Brahmi Token Injection for 33.8% token compression and +36% faster Hindi inference.


Bharat-Tiny-LLM v2 Technical Infographic


🎯 Model Overview

Bharat-Tiny-LLM v2 is an open-weights 1.5B parameter language model built on top of Qwen2.5-1.5B, optimized specifically for Hindi and Hinglish text generation.

By introducing Brahmi Token Injection — a technique that surgically injects 300 Devanagari subword tokens into the model's vocabulary — Bharat-Tiny-LLM v2 eliminates the severe "Token Tax" imposed by standard English-centric tokenizers on Indian scripts.

This repository contains the unquantized PyTorch / HuggingFace Transformers open weights , compatible with Linux, Windows, CUDA GPUs, vLLM, TGI, and Google Colab.


🎨 Architectural Pipeline & Training Methodology

Brahmi Token Injection Architecture

Interactive Training Pipeline Flowchart
flowchart LR
    A["Raw Hindi Corpus"] --> B["Brahmi Subword Mining<br>(Top 300 Devanagari Tokens)"]
    B --> C["Tokenizer Vocabulary Expansion<br>(151,936 ➔ 152,236)"]
    C --> D["Stage 1: Embedding Alignment<br>(Freeze Backbone, Train 300 Embeddings)"]
    D --> E["Stage 2: LoRA Fine-Tuning<br>(Rank=16 on Attention q,k,v,o proj)"]
    E --> F["Fused PyTorch Base Weights<br>(eulogik/Bharat-Tiny-LLM-v2)"]
    F --> G["Q4 Affine Quantization<br>(eulogik/Bharat-Tiny-LLM-v2-MLX)"]

✨ Key Benchmarks & Technical Advantages
Metric Base Qwen2.5-1.5B Bharat-Tiny-LLM v2 Technical Advantage
Tokens for 1,000 Hindi Chars ~950 tokens ~630 tokens 33.8% Fewer Tokens (up to 58% on chat prompts)
Inference Throughput (Hindi) 50 tok/s 68 tok/s +36% Speed Boost
Validation Loss (Hindi Corpus) 2.776 1.837 52.5% Loss Reduction (Perplexity: 16.1 → 6.3)
Hardware Compatibility CUDA / CPU / MPS CUDA / CPU / MPS Universal PyTorch / vLLM / GGUF support

🚀 Quick Start with PyTorch & Transformers
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "eulogik/Bharat-Tiny-LLM-v2"

# Load Tokenizer & Model Weights
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype=torch.float16,
    device_map="auto"
)

# Generate Hindi Text
prompt = "भारत की सांस्कृतिक विविधता के बारे में बताइए:"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)

outputs = model.generate(
    **inputs,
    max_new_tokens=150,
    temperature=0.7,
    do_sample=True
)

print(tokenizer.decode(outputs[0], skip_special_tokens=True))

📊 Token Compression Benchmarks
Prompt (Hindi / Hinglish) Base Qwen Tokens Bharat-v2 Tokens Savings
"ज़रूरी बात है क्या करते हो" 26 tokens 11 tokens 58% Savings
"नमस्ते, आप कैसे हैं?" 15 tokens 7 tokens 53% Savings
"भारत की राजधानी नई दिल्ली है" 22 tokens 14 tokens 36% Savings
"bhai aaj ka weather kaisa hai?" 12 tokens 8 tokens 33% Savings

🔗 Model Family Repositories

📜 License & Citation

Licensed under Apache 2.0 . Free for commercial, enterprise, and research use.

@misc{kishore2026brahmi,
    title={Brahmi: Efficient Devanagari Token Injection for Multilingual LLMs},
    author={Gautam Kishore},
    year={2026},
    publisher={eulogik},
    howpublished={\url{https://huggingface.co/eulogik/Bharat-Tiny-LLM-v2}}
}

Runs of eulogik Bharat-Tiny-LLM-v2 on huggingface.co

32
Total runs
0
24-hour runs
-1
3-day runs
-3
7-day runs
-10
30-day runs

More Information About Bharat-Tiny-LLM-v2 huggingface.co Model

More Bharat-Tiny-LLM-v2 license Visit here:

https://choosealicense.com/licenses/apache-2.0

Bharat-Tiny-LLM-v2 huggingface.co

Bharat-Tiny-LLM-v2 huggingface.co is an AI model on huggingface.co that provides Bharat-Tiny-LLM-v2's model effect (), which can be used instantly with this eulogik Bharat-Tiny-LLM-v2 model. huggingface.co supports a free trial of the Bharat-Tiny-LLM-v2 model, and also provides paid use of the Bharat-Tiny-LLM-v2. Support call Bharat-Tiny-LLM-v2 model through api, including Node.js, Python, http.

Bharat-Tiny-LLM-v2 huggingface.co Url

https://huggingface.co/eulogik/Bharat-Tiny-LLM-v2

eulogik Bharat-Tiny-LLM-v2 online free

Bharat-Tiny-LLM-v2 huggingface.co is an online trial and call api platform, which integrates Bharat-Tiny-LLM-v2's modeling effects, including api services, and provides a free online trial of Bharat-Tiny-LLM-v2, you can try Bharat-Tiny-LLM-v2 online for free by clicking the link below.

eulogik Bharat-Tiny-LLM-v2 online free url in huggingface.co:

https://huggingface.co/eulogik/Bharat-Tiny-LLM-v2

Bharat-Tiny-LLM-v2 install

Bharat-Tiny-LLM-v2 is an open source model from GitHub that offers a free installation service, and any user can find Bharat-Tiny-LLM-v2 on GitHub to install. At the same time, huggingface.co provides the effect of Bharat-Tiny-LLM-v2 install, users can directly use Bharat-Tiny-LLM-v2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Bharat-Tiny-LLM-v2 install url in huggingface.co:

https://huggingface.co/eulogik/Bharat-Tiny-LLM-v2

Url of Bharat-Tiny-LLM-v2

Bharat-Tiny-LLM-v2 huggingface.co Url

Provider of Bharat-Tiny-LLM-v2 huggingface.co

eulogik
ORGANIZATIONS

Other API from eulogik

huggingface.co

Total runs: 393
Run Growth: 213
Growth Rate: 54.20%
Updated:October 01 2026
huggingface.co

Total runs: 287
Run Growth: -56
Growth Rate: -19.51%
Updated:October 05 2026
huggingface.co

Total runs: 226
Run Growth: 171
Growth Rate: 75.66%
Updated:September 29 2026
huggingface.co

Total runs: 107
Run Growth: 93
Growth Rate: 86.92%
Updated:September 29 2026
huggingface.co

Total runs: 60
Run Growth: 35
Growth Rate: 58.33%
Updated:September 26 2026
huggingface.co

Total runs: 9
Run Growth: 9
Growth Rate: 100.00%
Updated:October 06 2026