Kotha-S2-Instruct (GGUF)

Quantized GGUF builds of Kotha-S2-Instruct (~201.4M parameters), a bilingual (Bengali and English) Small Language Model pretrained from scratch by Kotha Lab on the Qwen2 architecture with a custom 32K bilingual ByteLevel BPE tokenizer.

Designed for fast, offline inference on standard CPUs, Android phones, and edge devices using llama.cpp and compatible runtimes.


Available Quantizations

File Quant Type Approx. Size Speed (Standard CPU) Recommendation
Kotha-S2-Instruct-Q8_0.gguf 8-bit ~205.5 MB ~60 tokens/sec Recommended — cleanest Bengali & English quality
Kotha-S2-Instruct-Q6_K.gguf 6-bit ~160 MB ~65 tokens/sec Balanced size and quality
Kotha-S2-Instruct-Q4_K_M.gguf 4-bit ~125 MB ~76+ tokens/sec Smallest footprint for low-RAM Android / edge devices
Kotha-S2-Instruct-F16.gguf 16-bit ~385.5 MB — Full FP16 reference build

Quickstart

1. Run in Terminal (llama-cli)

llama-cli \
  -m Kotha-S2-Instruct-Q8_0.gguf \
  -c 2048 \
  --temp 0.6 \
  --top-p 0.9 \
  --min-p 0.05 \
  --repeat-penalty 1.18 \
  -sys "You are Kotha S2, a helpful bilingual Bengali and English AI assistant created by Kotha Lab. Respond clearly, accurately, and naturally in the user's language." \
  -p "তুমি কে? তোমাকে কে বানিয়েছে?"

2. Run as an OpenAI-Compatible API (llama-server)

llama-server \
  -m Kotha-S2-Instruct-Q8_0.gguf \
  --host 0.0.0.0 \
  --port 8080 \
  -c 4096

3. Mobile & Desktop Apps

Works out of the box with any llama.cpp-based client:

  • Android / iOS: PocketPal AI, ChatterUI, Layla
  • Desktop: LM Studio, Jan, KoboldCpp, Ollama

Recommended Sampling & Chat Format

Parameter Recommended Value
Chat Template ChatML (<|im_start|>, <|im_end|>)
Stop Token <|im_end|>
Temperature 0.6
Top-P 0.9
Min-P 0.05
Repeat Penalty 1.18
Context Length Up to 8,192 tokens (2,048–4,096 recommended for mobile)

Limitations

  • As a ~201M-parameter model, Kotha-S2-Instruct has limited factual memory compared to larger LLMs and may occasionally hallucinate facts.
  • Lower quantizations (Q4_K_M) may show slight repetition in Bengali; use Q8_0 or Q6_K whenever memory allows.

Citation

@misc{kotha_s2_instruct_gguf_2026,
  title  = {Kotha-S2-Instruct (GGUF): Quantized 201M Bilingual Bengali-English SLM},
  author = {Kotha Lab},
  year   = {2026},
  url    = {[https://huggingface.co/logicwahid/Kotha-S2-Instruct-GGUF](https://huggingface.co/logicwahid/Kotha-S2-Instruct-GGUF)}
}
Downloads last month
-
GGUF
Model size
0.2B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

4-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for logicwahid/Kotha-S2-Instruct-GGUF

Quantized
(1)
this model