Views
No views yet
llama.cpp builds of
Bharat-Tiny-LLM — India's first native
edge AI for Hinglish & Hindi. These run cross-platform: Android, Raspberry Pi, CPU, and GPU
via llama.cpp / llama-cpp-python.Built by eulogik
| File | Format | Size | Use |
|---|---|---|---|
bharat-tiny-llm-q4_k_m.gguf | GGUF Q4_K_M | ~1.06 GB | Recommended — best size/quality for edge |
bharat-tiny-llm-f16.gguf | GGUF f16 | ~3.55 GB | Full precision, for re-quantizing |
pip install llama-cpp-python1from llama_cpp import Llama
2
3llm = Llama(model_path="bharat-tiny-llm-q4_k_m.gguf", n_ctx=1024)
4print(llm.create_chat_completion(
5 messages=[{"role": "user", "content": "Chai peete hain?"}],
6 temperature=0.3, top_p=0.85, max_tokens=256, repeat_penalty=1.25,
7)["choices"][0]["message"]["content"])⚠️ Generation config matters. The base Qwen2.5-1.5B emits garbled out-of-script tokens at high temperature. Always usetemperature ≈ 0.3+repeat_penalty ≥ 1.25.
| Build | Repo | Size |
|---|---|---|
| MLX 4-bit (Apple Silicon) | eulogik/Bharat-Tiny-LLM | ~880 MB |
| PyTorch fp16 (server / fine-tune) | eulogik/Bharat-Tiny-LLM-fused | ~3.3 GB |