GGUF-quantized version of Qehwa — Pashto's first instruction-tuned LLM — optimized for macOS, LM Studio, and llama.cpp.
| Original Model | junaid008/qehwa-pashto-llm |
| Original Author | Junaid Khan |
| Base Architecture | Qwen2.5-7B |
| Quantization | Q8_0 (~8GB) |
| Format | GGUF |
| Compatibility | llama.cpp, LM Studio, Ollama, GPT4All |
Qehwa is the first fully instruction-tuned Pashto LLM, created by Junaid Khan. It was built using a two-stage training pipeline:
The model targets the Peshawari/KPK dialect of Pashto and can:
All credit for the model training goes to Junaid Khan. This repository only provides the GGUF conversion for local inference.
hf CLIbrew install hf
hf download hasnainayaz/qehwa-pashto-llm-gguf
huggingface-clipip install huggingface-hub
huggingface-cli download hasnainayaz/qehwa-pashto-llm-gguf --local-dir ./qehwa-model
Click the Files tab above to download qehwa-q8_0.gguf directly.
qehwa-q8_0.gguf file./llama-cli -m qehwa-q8_0.gguf -p "Below is an instruction in Pashto or English. Write a detailed response in Pashto.\n\n### Instruction:\nد پیښور تاریخ راته ووایه\n\n### Response:\n" -n 200
from llama_cpp import Llama
llm = Llama(model_path="qehwa-q8_0.gguf", n_gpu_layers=-1)
output = llm(
"Below is an instruction in Pashto or English. Write a detailed response in Pashto.\n\n"
"### Instruction:\nد پیښور تاریخ راته ووایه\n\n### Response:\n",
max_tokens=500,
temperature=0.7,
repeat_penalty=1.1,
stop=["### Instruction:"],
)
print(output["choices"][0]["text"])
This model uses the Alpaca prompt template:
Below is an instruction in Pashto or English. Write a detailed response in Pashto.
### Instruction:
{your prompt here}
### Response:
| Language | Prompt |
|---|---|
| پښتو | د پیښور تاریخ راته ووایه |
| English | Tell me about Pashtunwali |
| اردو | پشاور کے بارے میں بتاؤ |
A modern chat interface is also available at: 👉 github.com/hasnainkhan8532/PashtoLLM
Built with Next.js, Shadcn/UI, Bahij Badiya font, and full RTL support for Pashto.
| Property | Value |
|---|---|
| Source format | SafeTensors (bfloat16) |
| Source size | ~15.2 GB |
| GGUF quant type | Q8_0 |
| GGUF size | ~8 GB |
| Conversion tool | llama.cpp convert_hf_to_gguf.py |
This GGUF conversion follows the license of the original model. Please refer to the original repository for licensing terms.
GGUF conversion & Web UI by hasnainayaz.com
有文件?提交种子。
发布种子