Roman-Urdu and English tool-caller: converting commands into tool calls
2 min read
The model turns text commands in Roman Urdu and English into structured JSON responses for calling system functions (setting alarms, sending messages, controlling devices). It is built on Qwen/Qwen3-1.7B using QLoRA (weight tuning using a small number of parameters) and quantized into the GGUF format (a model compression format for efficient running). The model runs locally on a standard CPU via Ollama and is designed for developers of local voice assistants and smart home systems.
Key features
- Based on the compact Qwen3-1.7B language model.
- Trained to recognize commands in Roman Urdu and English.
- Quantized to the Q4_K_M format to run on a CPU (about 1 GB).
- Supports working with the Ollama tool via a custom Modelfile.
What you can do
- Integrate into local smart home scenarios to control appliances using voice or text requests.
- Use in bots or local applications to automatically create reminders and notes in Urdu or English.
- Test the model locally via Ollama with the ready-made Modelfile from the repository.
Example
pip install -U huggingface_hub
hf download bilalnadeem614/roman-urdu-tool-caller-gguf --local-dir .
ollama create tool-caller -f Modelfile
ollama run tool-caller "bhai pankha to chala do"Read more
DetailsBenchmarks: 23/40 exact matches and 37/40 valid schemas on a manual test.
Hardware requirements: a CPU-supporting processor (tested on an 8th-generation Intel Core i5, speed 2.2 seconds per command).
Limitations: confuses times in alarms (for example, pawne 8), confuses "today" and "tomorrow" (kal), and requires strict use of the system prompt from the repository.










Comments