Downloads · 30 days
62
10% of all-time downloads
distil-labs/distil-commit-bot-ts-Qwen3-0.6B
distil-commit-bot-ts-Qwen3-0.6B is a machine learning model from distil-labs. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
<div align="center" <img src="https://github.com/distil-labs/badges/blob/main/distillabs-logo.svg?raw=true" width="40%" alt="distil labs" / </div
Downloads · 30 days
62
10% of all-time downloads
All-time downloads
615
Public
Repo size
2.4 GB
Likes
3
Public
Click a slice to open those files.
.gguf2.4 GB · 100%
From the Hugging Face model README
We trained an SLM assistant for help with commit messages on TypeScript codebases - Qwen 3 model (0.6B parameters) that you can run locally!
First, install Ollama, following the instructions on their website.
Then set up the virtual environment:
python -m venv .venv
. .venv/bin/activate
pip install huggingface_hub openai watchdog
or using uv:
uv sync
The model is hosted on huggingface:
Finally, download the models from huggingface and build them locally:
hf download distil-labs/distil-commit-bot-ts-Qwen3-0.6B --local-dir distil-model
cd distil-model
ollama create distil-commit-bot-ts-Qwen3-0.6B -f Modelfile
The commit bot with diff the git repository provided via --repository
option and suggest a commit message. Use the --watch option to re-run
the assistant whenever the repository changes.
python bot.py --repository <absolute_or_relative_git_repository_path>
# or
uv run bot.py --repository <absolute_or_relative_git_repository_path>
# Watch for file changes in the repository path:
python bot.py --repository <absolute_or_relative_git_repository_path> --watch
# or
uv run bot.py --repository <absolute_or_relative_git_repository_path> --watch
See examples
The tuned models were trained using knowledge distillation, leveraging the teacher model GPT-OSS-120B. The data+config+script used for finetuning can be found in data. We used 20 typescript git diff examples (created using distillabs' vibe tuning) as seed data and supplemented them with 10,000 synthetic examples across various typescript use cases (frontend, backend, react etc.).
We compare the teacher model and the student model on 10 held-out test examples using LLM-as-a-judge evaluation:
| Model | Size | Accuracy |
|---|---|---|
| GPT-OSS (thinking) | 120B | 1.00 |
| Qwen3 0.6B (tuned) | 0.6B | 0.90 |
| Qwen3 0.6B (base) | 0.6B | 0.60 |
Evaluation Criteria:
LLM-as-a-judge: The training config file and train/test data splits are available under /data.
Q: Why don't we just use Llama3.X yB for this??
We focus on small models (< 8B parameters), and these make errors when used out of the box (see 5.)
Q: I want to train a small language model for my use-case
A: Visit our website and reach out to us, we offer custom solutions.