How to use from
Pi
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama-server -hf mahwizzzz/lafzyn-gguf:Q4_K_M
Configure the model in Pi
# Install Pi:
npm install -g @mariozechner/pi-coding-agent
# Add to ~/.pi/agent/models.json:
{
  "providers": {
    "llama-cpp": {
      "baseUrl": "http://localhost:8080/v1",
      "api": "openai-completions",
      "apiKey": "none",
      "models": [
        {
          "id": "mahwizzzz/lafzyn-gguf:Q4_K_M"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

Lafzyn GGUF — Urdu G2P (Quantized)

Quantized GGUF version of Lafzyn, a fine-tuned Qwen3.5-0.8B model for converting Urdu text into IPA phonetic transcriptions.

Files

File Quantization Size
lafzyn-q4_k_m.gguf Q4_K_M ~500 MB

Usage with llama.cpp

llama-cli \
  -m lafzyn-q4_k_m.gguf \
  --chat-template chatml \
  -p "<|im_start|>system
You are an expert Urdu linguist and phonetician. Convert the given Urdu word or phrase into its IPA transcription. Output only the IPA string, nothing else.<|im_end|>
<|im_start|>user
مختار احمد<|im_end|>
<|im_start|>assistant
" \
  -n 64 --temp 0
Downloads last month
188
Safetensors
Model size
0.9B params
Tensor type
F32
·
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for mahwizzzz/lafzyn-gguf

Finetuned
mahwizzzz/lafzyn
Quantized
(1)
this model

Space using mahwizzzz/lafzyn-gguf 1