A 1B parameter function-calling model fine-tuned by
Distil Labs to translate plain English into
git commands. The smallest Gitara variant, optimized for resource-constrained environments while maintaining strong accuracy.
Given a natural language description of a git operation, the model outputs a structured JSON tool call that can be converted to an executable git command.
The model was trained using knowledge distillation from the teacher model GPT-OSS-120B.
Training data and configuration available in the
GitHub repository.
Evaluated on 50 held-out test examples. Accuracy is measured by parsing outputs into normalized Python dicts and comparing for structural equality.
1# Download model
2huggingface-cli download distil-labs/Distil-gitara-v2-Llama-3.2-1B-Instruct --local-dir distil-model
3
4# Build with Ollama
5cd distil-model
6ollama create gitara-1b -f Modelfile
7
8# Run
9ollama run gitara-1b "show staged changes with diffs"
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_id = "distil-labs/Distil-gitara-v2-Llama-3.2-1B-Instruct"
4tokenizer = AutoTokenizer.from_pretrained(model_id)
5model = AutoModelForCausalLM.from_pretrained(model_id)
6
7# See GitHub repo for full tool-calling implementation
For complete usage instructions, see the
GitHub repository.
Faster than the 3B variant due to smaller size. Suitable for on-device deployment on mobile or embedded systems.
1@misc{gitara2025,
2 author = {Distil Labs},
3 title = {Gitara: A Function-Calling Git Agent},
4 year = {2025},
5 publisher = {Hugging Face},
6 url = {https://huggingface.co/distil-labs/Distil-gitara-v2-Llama-3.2-1B-Instruct}
7}