Downloads · 30 days
77
11% of all-time downloads
barryzhang/ornith-harness-4b-v2
ornith-harness-4b-v2 is a text generation model from barryzhang. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
Ornith Harness 4B v2 is a 4.2-billion-parameter, Qwen3.5-derived text model distributed as a Q5KM GGUF artifact for local, machine-verifiable data-processing and coding workflows. The release is designed for systems w…
Downloads · 30 days
77
11% of all-time downloads
All-time downloads
718
Public
Repo size
3.1 GB
Likes
1
Public
Click a slice to open those files.
.gguf3.1 GB · 100%
From the Hugging Face model README
Ornith Harness 4B v2 is a 4.2-billion-parameter, Qwen3.5-derived text model distributed as a Q5_K_M GGUF artifact for local, machine-verifiable data-processing and coding workflows. The release is designed for systems with approximately 16 GB of available accelerator or unified memory and includes the thin tool-use harness used for final evaluation. The training version had three fewer audit-only fields and produced the same model-visible messages.
This repository contains the frozen v2 research release. Its primary uses are local agent research, verifier-based coding workflows, and reproducible benchmark experiments. General chat evaluation, ranking against frontier models, and autonomous production deployment are outside the evaluated scope. A registered, single-use 48-task final evaluation was completed on 30 July 2026; optimization stopped after the results were read.
| Property | Value |
|---|---|
| Model | Ornith Harness 4B v2 |
| Release status | Frozen research release; final evaluation complete |
| Architecture | Qwen3.5-derived text-only causal language model (Qwen3_5ForCausalLM in the merged HF configuration) |
| Parameters | 4.2B |
| Distribution format | GGUF, Q5_K_M |
| Artifact size | 3,074,986,240 bytes |
| Evaluated context length | 8,192 tokens |
| Tokenizer source | Qwen/Qwen3.5-4B |
| Reference prompt formatting | Included Ollama Modelfile |
| Tool interface | run_shell, write_file |
| Reference evaluation runtime | Ollama OpenAI-compatible /v1/chat/completions endpoint with c28_harness.py |
| Evaluation access ID | ornith-final-144-20260730T044153Z |
| Immutable release tag | v2.0.0 |
| GGUF SHA256 | 7ccd17f484a0892c7f890559076d10d77c55ea9eb24aa6ffb0dfdef8f5468b9a |
| License | Apache License 2.0 |
The public lineage is:
The intermediate C28 and self-distillation weights are internal lineage artifacts. This repository distributes the final v2 GGUF and the runtime materials required to evaluate it.
Primary intended uses are:
User acceptance validation is performed after delivery and is not part of the default model prompt. The included development evaluator uses executable checks to reproduce the reported research metrics. It does not define the production input contract.
Representative tasks include deterministic data normalization, aggregation, interval processing, state transformation, and generation of small executable scripts that operate on user-provided files.
Out-of-scope uses include:
Ornith Harness 4B was trained through two on-policy self-distillation rounds. In this release, self-distillation refers to verifier-guided self-improvement: the current policy generates trajectories, an objective verifier filters successful samples or constructs preference pairs, and the resulting data are used to update the same model lineage through SFT and DPO.
| Stage | Training evidence |
|---|---|
| v1 SFT | 26 verified successful trajectories |
| v1 DPO | 148 high-confidence on-policy preference pairs |
| v1 winner | A2 checkpoint-45 |
| v2 SFT | 64 verified successful trajectories |
| v2 DPO | 292 on-policy preference pairs |
| v2 DPO optimization | 105 steps; checkpoints 17, 34, 51, 68, 85, 102, 105 |
| v2 winner | checkpoint-51 |
Assistant-token masking excludes tool responses from the SFT loss. The v2 checkpoint was
merged and converted with --no-mtp; the merge changed 128 of 426 tensors, consistent with
the trainable projection layout.
PASS_VERIFIED_STOP.| Model | Quantization | Passed | pass@1 | Wilson 95% CI | Median primary tokens | Median primary wall time |
|---|---|---|---|---|---|---|
| C28 starting point, 4.2B | Q5_K_M | 8/48 | 0.167 | [0.087, 0.296] | 7,284 | 18.090 s |
| Ornith Harness 4B v2 | Q5_K_M | 32/48 | 0.667 | [0.525, 0.783] | 5,677.5 | 12.8325 s |
| Ornith-1.0-9B | Q4_K_M | 10/48 | 0.208 | [0.117, 0.343] | 7,736 | 23.8475 s |
C28 and v2 passed the same eight tasks; v2 alone passed 24 additional tasks. The paired difference was +0.500, with exact two-sided McNemar p=1.19e-7.
v2 and 9B both passed eight tasks; v2 alone passed 24 and 9B alone passed two. The 9B-minus-v2 difference was -0.458, with exact two-sided McNemar p=1.05e-5.
Under the fixed 8K context, episodes with history compaction were 37/48 for C28, 32/48 for v2, and 35/48 for 9B. Total compactions were 195, 113, and 142. These are operational endpoints, not causal estimates of compaction-induced failure.
c28_harness.py, sequential execution, no rescue turns.PASS_VERIFIED_STOP).| Model | Quantization | pass@1 | pass@5 | Realizable BoN@5 | Turn-cap rate | Median completion tokens, successful rollouts |
|---|---|---|---|---|---|---|
| C28 starting point, 4.2B | Q5_K_M | 0.125 | 0.500 | 0.500 | 0.300 | 2,960 |
| Ornith Harness 4B v1 | Q5_K_M | 0.300 | 1.000 | 0.875 | 0.275 | 1,225 |
| Ornith Harness 4B v2 | Q5_K_M | 0.675 | 1.000 | 1.000 | 0.075 | 1,109 |
| Ornith-1.0-9B | Q4_K_M | 0.150 | 0.500 | 0.375 | 0.225 | 2,261 |
The v2 formal rerun produced 27 PASS_VERIFIED_STOP, 12 FAIL_TASK, and one
FAIL_GENERATION_CAP outcome across 40 episodes.
pass@1 is the mean single-rollout success rate. pass@5 records whether each task had at
least one successful rollout. Realizable BoN@5 selects a candidate using the task's
agent-visible executable checks and then scores the selected output with the offline
objective verifier. The BoN result therefore requires a validation rule and is not available
for tasks without one.
These development results selected checkpoint-51 from seven candidates. The v2 value 0.675 is therefore a selection statistic subject to winner's curse, not the independent headline performance estimate. This repository does not include a production N=5 execution and selection component.
The 4B-to-9B comparison represents two artifacts designed for an approximately 16 GB single-device deployment constraint. Quantization is not matched: v2 uses Q5_K_M, while Ornith-1.0-9B uses Q4_K_M. Evaluation ran on an RTX PRO 6000, not on 16 GB hardware. The table therefore compares deployment routes under a fixed harness and budget; it does not rank the underlying models at equal precision or claim measured 16 GB-device performance.
Published Ornith-1.0-9B benchmark results use different weights, context lengths, agent frameworks, and compute budgets. They are not comparable with the local development protocol reported here.
Place ornith-harness-4b-v2-Q5_K_M.gguf in this directory, then create the Ollama model:
ollama create ornith-harness-4b-v2 -f Modelfile
Run the included development evaluation:
python eval_selfdistill.py \
--whitelist dev_whitelist.json \
--pool pool/dev8.jsonl \
--url http://127.0.0.1:11434/v1/chat/completions \
--model ornith-harness-4b-v2 \
--label eval \
--n-reps 5 \
--concurrency 1 \
--rescue-turns 0 \
--out /tmp/ornith-harness-4b-v2-eval \
--distill-root . \
--harness-profile v2 \
--max-tokens 2048 \
--primary-completion-budget 12000
python bon_report.py /tmp/ornith-harness-4b-v2-eval/rows/eval.jsonl
The working directory must be writable and traversable by the sandbox identity that executes model-generated commands.
The harness executes model-generated shell commands and writes files. Run it only in an isolated workspace with:
Do not execute untrusted model output directly on a host system.
DONE; DONE precision is
NOT_EVALUATED_DESIGN and self-reported completion is not a supported selector.| Artifact | SHA256 |
|---|---|
ornith-harness-4b-v2-Q5_K_M.gguf | 7ccd17f484a0892c7f890559076d10d77c55ea9eb24aa6ffb0dfdef8f5468b9a |
Evaluation harness used for the final run, c28_harness.py | 58fab23bfd183c2ff049e758e86ed27e9c6cafbf34db80813cf4895ba421dddf |
| v2 selection and formal-rerun archive | 2fc3309f3d197f29c3d786f2c485a4dbd4283f523d4af00eef1343bfade6aeef |
| v2 training-artifact archive | 320b11059ec1c12d4ea99dc59985fb9bba12a6fb5de4aa4702ef54ffd5c4b229 |
| Final holdout result package | ad15712a23422adcfc156379e78d8a9c3fc145e676078f8e84198960634b85f2 |
| Final score | 0c7bf6ca34fc40f67415b197d4039a1dd137ad1a42b956ea1b3f271e19ae9ce8 |
| Final infrastructure gate | e76405e82c3e50dca77aea69523e4f8e76579acac22a1ee7e79e00e5cb31d651 |
The release manifest SHA256SUMS.txt records the package-level file hashes.
The upstream Ornith attribution, copyright notice, and MIT License text are
preserved in NOTICE.
When citing this release, include the repository revision and the v2 GGUF SHA256 listed above.