Hadal Research

Qori 1

A 1.7B open model that writes file edits a harness can apply exactly. You give it a file and a change request; it returns one SEARCH/REPLACE block whose text matches the file once — so nothing is fuzzy-matched into the wrong place.

weights and adapterspaperraw results

§ Result

Scored by applying the emitted block to the real file: it counts only if the SEARCH text occurs exactly once. Each set is a repository the model never trained on. Baselines are models 1.8× and 4× larger, given the same prompt and scorer.

httpx — held out, 60 commits0–100%
Qori 190.0%
Qwen2.5-3B31.7%
Qwen2.5-7B23.3%
LFM3 base0.0%
starlette — unseen, 40 commits0–100%
Qori 182.5%
Qwen2.5-3B27.5%
Qwen2.5-7B25.0%
LFM3 base0.0%
httpcore — unseen, 40 commits0–100%
Qori 187.5%
Qwen2.5-3B32.5%
Qwen2.5-7B7.5%
LFM3 base0.0%
JavaScript, Go, Rust, Java — 60 commits0–100%
Qori 191.7%
Qwen2.5-3B33.3%
Qwen2.5-7B43.3%
LFM3 base0.0%

Not Python: the edit format transfers, the language does not have to.

The 4× larger 7B scores below the 3B on three of these four sets. Parameter count does not teach byte-exact output; a 0.8% LoRA update does. The base model never emits a block at all — asked to edit a file it replies with a tool call for a tool it does not have.

§ Trade-offs

Two post-trains are released. The multi-task version adds tool calling; it edits slightly better and follows instructions less well. Neither dominates, so the choice is yours to make from the numbers.

Edit apply — httpx (60)0–100%
Multi-task93.3%
Qori 190.0%
Base0.0%
Tool-call function match (40)0–100%
Multi-task97.5%
Base85.0%

Not measured for the edit-only version.

IFEval, prompt-strict (541)0–100%
Qori 175.6%
Multi-task64.7%
Base96.7%

Base figure is Liquid's published number.

§ Limits

Everything below is measured, not hedged. It is here because a release page that only lists wins is not worth reading.

  • Anchoring is the weakness, not formatting: 12 to 25 applicable blocks per set land outside the true change region. A block can apply cleanly and still be in the wrong place.
  • The quantised GGUF does not hold the format. It loads and generates fluently but reasons aloud before answering, so a strict parser finds no block — 0 of 12 on held-out items, against 90% in fp16.
  • Instruction following regressed: IFEval is 75.6% and 64.7% against 96.66% for the base model. Specialising costs general adherence.
  • A DPO stage on synthetic preferences made the model worse — 19/60 against 54/60 — and is written up rather than buried.
  • Liquid’s agentic benchmarks (SWE-bench, BFCL, WebArena, τ³, RULER) need their harnesses and 128K serving. They were not reproduced and no claim is made about them.
§ Details
Base modelLiquidAI/LFM3-1.7B
Parameters1.73B dense; 13.9M LoRA adapter
Training68,893 verified edits; one epoch on an A100
Held outhttpx, starlette, httpcore
FormatsPEFT adapter, GGUF Q4_K_M
LicenceLFM Open License v1.0

Every figure on this page comes from per-item result files published alongside the weights. How we run evaluations.