🇱🇰 Sinhala-NanoLlama-250M-Base (V2 — GGUF)
This repository provides the standalone F16 GGUF export of rasikarsw/Sinhala-NanoLlama-250M-Base — a 243.4M-parameter Sinhala Llama-3 style foundation language model trained completely from scratch in PyTorch.
Base Model Notice: This GGUF is the pre-trained base model (text continuation / story & article completion). If you want a chat / Q&A assistant in LM Studio, download rasikarsw/Sinhala-NanoLlama-250M-Instruct-GGUF instead!
🔗 Model Family (V2)
| Repository | Format | Purpose |
|---|---|---|
| rasikarsw/Sinhala-NanoLlama-250M-Base | PyTorch (.pt) | Pre-trained foundation weights for custom fine-tuning |
| rasikarsw/Sinhala-NanoLlama-250M-Base-GGUF (this repo) | GGUF (F16, 488 MB) | Local base text completion in LM Studio / llama.cpp |
| rasikarsw/Sinhala-NanoLlama-250M-Instruct | PyTorch (.pt) | ChatML instruction-tuned PyTorch checkpoint |
| rasikarsw/Sinhala-NanoLlama-250M-Instruct-GGUF | GGUF (F16, 488 MB) | Ready-to-chat local Sinhala assistant in LM Studio / llama.cpp |
📦 Available File
| File | Quantization | Size | Notes |
|---|---|---|---|
Sinhala-NanoLlama-250M-Base-F16.gguf | F16 (Lossless 16-bit) | 488 MB | Native llama.cpp LLM_ARCH_LLAMA, 2,048 context, 32K Sinhala BPE tokenizer |
📊 Quick Specs
- Architecture: Llama-3 (
24layers,896dim,14Q /7KV GQA heads,2432SwiGLU FFN,RMSNorm, InterleavedRoPEtheta=500000) - Parameters:
243.4M - Context Window:
2,048tokens (~1,500+ Sinhala words) - Pre-training:
1.57Btokens on cleaned & ZWJ-repaired FineWeb-2 (sin_Sinh) + 4× Sinhala Wikipedia (best val loss 3.496,val ppl 33.0) - Hardware Footprint: ~500 MB VRAM/RAM — runs fast on CPUs and consumer GPUs
🚀 How to Run Locally
Option 1: llama.cpp CLI (Completion Mode)
llama-cli -m Sinhala-NanoLlama-250M-Base-F16.gguf \
-c 2048 --temp 0.7 --repeat-penalty 1.12 -n 150 \
-p "ශ්රී ලංකාවේ ඉතිහාසය තුළ අනුරාධපුර යුගය"
Option 2: LM Studio
- Search for
rasikarsw/Sinhala-NanoLlama-250M-Base-GGUFin LM Studio and downloadSinhala-NanoLlama-250M-Base-F16.gguf. - Use Completion / Playground mode (since this is a base model without a chat template).
- Recommended settings: Context
2048, Temperature0.6 – 0.8, Repeat Penalty1.12.
📄 License
Released under the Apache 2.0 License.