Chatak3-4B-Thinking-2507-GGUF
«پوهه رڼا ده، استدلال لار ده، حکمت پلوشه ده!»
Knowledge is light, reasoning is the path, wisdom is the spark.
Chatak3-4B-Thinking-2507-GGUF is a Pashto-capable, offline-ready reasoning Small Language Model (SLM) fine-tuned from Qwen3-4B-Thinking-2507 and converted to GGUF format using Unsloth.
Built under the Pathropico (Born Running / په تروپکو) 🏃♂️💨 initiative, this model is designed to run locally on laptops and mobile devices without cloud dependencies—transforming Pashto from a passive consumer of translated content into an active creator of knowledge, science, and reasoning.
🌟 Cognitive Architecture: The Three Stars
Chatak3-4B-Thinking is built around a three-pillar philosophy of machine intelligence:
| Pillar | Role | Core Focus |
|---|---|---|
| Roshan (روښان) | Understand | Deep comprehension of Pashto language, cultural nuance, context, and cross-lingual semantics. |
| Nazo (نازو) | Reason | Structured step-by-step thinking (<think>), mathematical logic, scientific analysis, and full mastery of Pashto's 8 distinct characters (ټ، ډ، ړ، ږ، څ، ځ، ښ، ڼ) and 5 ya forms (ي، ې، ى، ۍ، ئ). |
| Palwasha (پلوشه) | Wisdom | Synthesizing understanding and reasoning into clear, accurate, teacher-grade explanations for learners. |
📊 Evaluation Scorecard (Pashto Reasoning & STEM)
Tested offline across physics, mathematics, programming, and logical reasoning prompts in Pashto:
| Domain | Active Pillar | Score | Evaluation Notes |
|---|---|---|---|
| Physics (Newton's 3rd Law) | Roshan + Nazo | ⭐⭐⭐⭐⭐ | Accurate scientific terminology (غبرګون, جسم) and clear real-world examples. |
| Mathematics (Speed & Time Word Problem) | Nazo | ⭐⭐⭐⭐⭐ | 100% accurate unit conversion (2h 30m -> 2.5h) and step-by-step arithmetic in Pashto. |
| Python Programming (Pashto Letter Counter) | Palwasha | ⭐⭐⭐⭐⭐ | Clean, executable Python code accurately targeting all 8 distinct Pashto characters (ټډړږڅځښڼ). |
| Implicit Logic Riddles (Chess Riddle) | Nazo | ⭐⭐⭐☆ | Cautious and non-hallucinatory; still improving on unspoken/implicit world-knowledge leaps. |
📚 Training & Capabilities
- Base Model:
unsloth/Qwen3-4B-Thinking-2507(4B parameters, optimized for scaled test-time thinking). - Multilingual & STEM Grounding: Trained on parallel datasets bridging Pashto with English, Arabic, Mathematics, Physics, Biology, and Programming, enabling the model to reason across technical domains and explain complex concepts naturally in Pashto.
- 100% Offline & Private: Compact footprint engineered for on-device inference via
llama.cpp, Ollama, LM Studio, or mobile GGUF runners.
📦 Available Model Files
| File Name | Precision | Size | Notes |
|---|---|---|---|
Qwen3-4B-Thinking-2507.F16.gguf | F16 (16-bit) | ~8.05 GB | Full unquantized 16-bit GGUF merge; highest reasoning fidelity. |
🚀 Quickstart & Usage
1. Run with llama.cpp
llama-cli -hf nassimjp/Chatak3-4B-Thinking-2507-GGUF --jinja --repeat-penalty 1.1
2. Run with Ollama
Create a Modelfile pointing to your downloaded GGUF file:
FROM ./Qwen3-4B-Thinking-2507.F16.gguf
PARAMETER temperature 0.6
PARAMETER top_p 0.95
PARAMETER repeat_penalty 1.1
Then build and run locally:
ollama create chatak3 -f Modelfile
ollama run chatak3
3. Run via Python (llama-cpp-python)
from llama_cpp import Llama
llm = Llama.from_pretrained(
repo_id="nassimjp/Chatak3-4B-Thinking-2507-GGUF",
filename="Qwen3-4B-Thinking-2507.F16.gguf",
n_ctx=8192,
)
response = llm.create_chat_completion(
messages=[
{"role": "user", "content": "د نیوټن د حرکت درېیم قانون په ساده پښتو تشریح کړه."}
],
temperature=0.6,
top_p=0.95,
repeat_penalty=1.1,
)
print(response["choices"][0]["message"]["content"])
⚙️ Recommended Inference Settings
Because this is a Thinking / Reasoning model, use the following sampling parameters for best results:
- Temperature:
0.6(avoid0.0to prevent reasoning loops) - Top-P:
0.95 - Top-K:
20 - Repeat Penalty:
1.1(prevents repetitive loops inside<think>blocks) - Chat Template: Jinja (
--jinjaflag inllama.cpp) so<think>...</think>blocks render properly.
🙏 Acknowledgments
- Fine-tuned and exported using Unsloth.
- Built on the
Qwen3-4B-Thinking-2507architecture. - Developed by Nasibullah Nassim (
nassimjp) — Pathropico Pashto Ai Lab in 🏃♂️💨.