Instructions to use eevoire/ratchet-loop-demo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use eevoire/ratchet-loop-demo with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir ratchet-loop-demo eevoire/ratchet-loop-demo
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
ratchet-loop-demo
LoRA adapter for mlx-community/Qwen2.5-0.5B-Instruct-4bit, trained locally on Apple Silicon with mlx-lm by the local-model-factory pipeline (prepare -> train -> eval-base -> eval-tuned -> gate -> publish).
Task: Reference task: convert a failing local development loop into a bounded ratchet proposal JSON object. Synthetic + seeded; meant for local-only assistant experiments.
Gate decision: PROMOTE
- field_accuracy: 0.112 -> 1.0 (+0.888) meets min improvement 0.05
- json_validity: 0.92 -> 1.0 (no meaningful regression)
- exact_match: 0.0 -> 1.0 (no meaningful regression)
Held-out evaluation (same test split, deterministic)
| metric | base model | base + this adapter |
|---|---|---|
| exact_match | 0.000 | 1.000 |
| examples | 50.000 | 50.000 |
| field_accuracy | 0.112 | 1.000 |
| json_examples | 50.000 | 50.000 |
| json_validity | 0.920 | 1.000 |
| mean_latency_s | 0.277 | 0.315 |
Training
- iterations: 300, batch size: 4, learning rate: 0.0001, LoRA layers: 8, seed: 11
- final validation loss: 0.065
- data: 10000 raw examples โ 8000 train / 1000 valid / 1000 test (seed 20260701, 0 duplicates dropped)
- data source: ratchet-loop-demo task (tasks/ratchet-loop-demo)
- data ledger: ratchet-loop-demo-synthetic
Use it
pip install mlx-lm
mlx_lm.generate --model mlx-community/Qwen2.5-0.5B-Instruct-4bit \
--adapter-path <local-download-of-this-repo> \
--prompt "..."
The full run artifacts (train config, both eval reports, gate decision, data manifest) are included in this repo so the numbers above can be audited against exactly what produced them.
Hardware compatibility
Log In to add your hardware
Quantized
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
Model tree for eevoire/ratchet-loop-demo
Base model
Qwen/Qwen2.5-0.5B Finetuned
mlx-community/Qwen2.5-0.5B-Instruct-4bit