This GGUF ships with a corrected Modelfile that uses Tiny Aya's actual template, adds proper stop tokens, and injects structured tool-calling support.
Quick Start (Ollama)
bash
1# Download the Modelfile2# Then create the model pointing to the GGUF3ollama create tiny-aya-fire-tools -f tiny-aya-fire-tools.Modelfile
Or if you've downloaded the GGUF directly, update the FROM line in the Modelfile to point to your local file:
FROM ./tiny-aya-fire-tools.GGUF
Then:
bash
1ollama create tiny-aya-fire-tools -f tiny-aya-fire-tools.Modelfile
2ollama run tiny-aya-fire-tools
Tool Calling
The corrected template supports Ollama's native tool calling. Define tools in your API call and the model will respond with structured <tool_call> blocks.
Example (Python + Ollama)
python
1import ollama
23response = ollama.chat(4 model='tiny-aya-fire-tools',5 messages=[6{'role':'user','content':'What is the weather in Kampala?'}7],8 tools=[9{10'type':'function',11'function':{12'name':'get_weather',13'description':'Get current weather for a location',14'parameters':{15'type':'object',16'properties':{17'location':{18'type':'string',19'description':'City name'20}21},22'required':['location']23}24}25}26]27)2829print(response['message'])
Multilingual Tool Calling
The model handles tool calls from prompts in 70+ languages. Examples:
Both <|END_OF_TURN_TOKEN|> and <|END_RESPONSE|> are registered as stop tokens, preventing leakage.
Tool definitions are injected into the system prompt inside <tools>...</tools> tags, and the model is instructed to respond with <tool_call> blocks when appropriate.
Tiny Facade Project
Tiny Facade is an open-source research project investigating whether Tiny Aya can serve as a shared multilingual tool-calling service on Android devices. Instead of every app bundling its own 2GB language model, Facade loads the model once and exposes a shared interface through Android's AIDL system.