Ornith-1.5-9B: distributed MLX QLoRA and cross-format evaluation
Author: Irfan Uruchi
Training nodes: Apple M6 Mac mini (rank 0), Apple M3 Pro MacBook Pro (rank 1)
Link: Thunderbolt Bridge
Upstream checkpoint: ornith-ai/Ornith-1.5-9B
I trained a low-rank adapter for Ornith-1.5-9B on 3,600 CodeAlpaca instruction–response pairs using distributed MLX QLoRA. The run reached 1,200 training steps. I merged the adapter and evaluated five independently quantized MLX exports and two GGUF exports against a fixed set of 30 Python tasks (121 assertions).
Results
| Export | Tasks | Assertions | Fully typed | Generation time |
|---|---|---|---|---|
| MLX 4-bit | 29/30 | 120/121 | 14/30 | 116.3 s |
| GGUF Q4_K_M | 29/30 | 119/121 | 1/30 | 136.7 s |
| GGUF Q6_K | 29/30 | 118/121 | 1/30 | 152.5 s |
| MLX 6-bit | 28/30 | 119/121 | 3/30 | 159.5 s |
| MLX 8-bit | 28/30 | 117/121 | 3/30 | 196.2 s |
| MLX 5-bit | 25/30 | 113/121 | 2/30 | 133.3 s |
| MLX 3-bit | 2/30 | 16/121 | 0/30 | 204.2 s |
The original base reference scored 23/30 tasks (99/121 assertions); the fine-tuned base-plus-adapter reference scored 30/30 (121/121) in the earlier harness. The GGUF figures shown above include a separately recorded import-aware re-score of the saved generations, not new generations. MLX 3-bit has a severe regression and is included for quantization analysis, not recommended coding use. Results reflect this small fixed benchmark and do not establish general model rankings.
Dataset identity
The source is Sahil Chaudhary's CodeAlpaca-20k, originally published in the CodeAlpaca project. I compared my local source.json against the public code_alpaca_20k.json served by Hugging Face on 2026-11-21. Both were 8,057,896 bytes and had SHA-256:
58d136bb7ea8e4b7c5b6ef08831da905d0abfafeb56f8fa519083089dd6a210e
The source JSON contains 20,022 instruction/input/output records. The 4,000 selected examples were split into 3,600 training, 200 validation, and 200 test records. All 4,000 instruction–response pairs matched entries in the source. There were no source-row overlaps between splits, no cross-split duplicate message pairs and no malformed JSON. These partition files are not the custom 30-task evaluation benchmark.
| Local partition | Rows | SHA-256 |
|---|---|---|
| Training | 3,600 | 544009feec2133178f2a575eb6415c07d188697922b79514e2d2a472746a8937 |
| Validation | 200 | 4e0ead01ba851adc85474f9584b16f946530141ba7ce414c92b6083db8324909 |
| Test | 200 | 58ec5582445c209ec8a13088df3c3ad2e7eb96b5496b5f78988455315c54a52b |
The comparison establishes content identity with the remote main branch as served on 2026-11-21, not the original download commit. The partition-generation script and random seed were not recovered.
Upstream rights records
The CodeAlpaca Hugging Face dataset card declares CC BY 4.0. The original CodeAlpaca DATA_LICENSE declares CC BY-NC 4.0. The Ornith upstream model page declares MIT. These statements concern different upstream artifacts; they do not alone establish the rights to redistribute a fine-tuned checkpoint, or justify labeling it MIT or Apache-2.0. The original CodeAlpaca project also states that it withheld its own LLaMA-derived weights in view of OpenAI terms and the LLaMA license; that historical decision is not a determination about this Ornith-based run.
I attribute the source dataset and model separately. No dataset text is included in this research record, and no downstream license is asserted for the model weights here.
Experiment records
- METHODS.md: training topology, conversion steps and known reproducibility limits.
- EVALUATION.md: scoring definitions, import-preserving rescoring and observed failures.
- benchmark-summary.json and benchmark-summary.csv: saved aggregate results.
Benchmark source SHA-256: 43c600d800c4d7edd3e636953f595f4749da93f56973b9153b98f0b3951145e2
Model tree for Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-Training-Report
Base model
ornith-ai/Ornith-1.5-9B