coapi-voice-v2 โ€” evidence, not product

This model is published as the artefact behind a negative result. It is a LoRA fine-tune of Qwen/Qwen3-4B that was measured to be worse than its untrained base on the task it was trained for. It is here so that the claim can be checked and the hypothesis attacked, not so that it can be used. If you want the working configuration, it is the untrained unsloth/Qwen3-4B-GGUF (Q4_K_M) behind retrieval and deterministic post-processing โ€” see the write-up. Do not use this model for advice on Spanish property transactions.

What it is

An attempt to put the manner of a Spanish real-estate professional โ€” answer in the question's language (EN/PL/ES), plain text, cite the tema and article, give the Spanish term, hand binding decisions to a professional โ€” into a small model's weights, while the facts stay in retrieval over our own study notes. The thesis "facts in retrieval, form in the weights" was refuted at this scale: every configuration tried installed the form and lowered the model's use of the facts in front of it.

The model was trained on our study notes; the answers come from the regulation as summarised there. It does not know Spanish law and was never intended to answer without retrieved context in the prompt.

Training

Base Qwen/Qwen3-4B (safetensors), fused after training, converted with llama.cpp, quantised to Q4_K_M and Q8_0
Adapter LoRA rank 16, scale 2.0, dropout 0.05; keys: all seven projections (q, k, v, o, gate, up, down) on all 36 layers โ€” mlx-lm default; trainable params 33 M
Schedule lr 2e-4, 2 epoch(s) = 364 iterations, batch 2, max sequence 2560 (no truncation), prompt masked, seed 35
Data 363 train / 14 validation examples, sha256 3c854250bd2a5149โ€ฆ / b3658d7dccdee388โ€ฆ. Written by a frontier model to a brief, with the BM25-retrieved context inside the user turn, regex-gated (every number and citation in the answer exists in the context). Not published: the examples quote our study notes verbatim.
Toolchain mlx-lm 0.31.3, mlx 0.32.2, llama.cpp 6f41ac59e0, Ollama 0.33.0; Mac Mini M4 Pro 64 GB
Built 2026-09-22T07:09:00

Result on the sealed 60-row eval (same retrieval, same sampling, same frozen judge rubric)

Untrained base v2
Language / plain text / artefact rows 82 % / 18 % / 44 100 % / 100 % / 2
No-advice on advice rows / out-of-scope 50 % / 0/3 100 % / 2/3
Correctness (0โ€“2) / fully correct 1.13 / 38 % 1.05 / 20 %
Correctness with substance in context (38 rows) 1.50 1.18
Mรณdulo 6 (held out) vs Mรณdulos 1โ€“5 1.2 / 1.1 1.0 / 1.06 โ€” no memorisation
Native Polish / Spanish 3/17 ยท 9/12 1/17 ยท 3/12
Hand-off present 88 % 65 %
Tail degradation 10/60 28/60

Reading. Installs the shape on six of seven floors and degrades what the base had: substance use, native Spanish, hand-off. Validation loss bottoms at iteration 100 and rises; the iteration-100 checkpoint is no better. Root recipe error: LoRA on every projection including the MLP.

What was ruled out as the cause, each by a pre-registered diagnostic: quantisation (Q8_0 same), epochs (val-loss-minimum checkpoint same), sequence truncation (fixed in v2), decoding (temperature 0 and 0.7 same profile), adapter strength (v2 33 M vs v3 1.3 M same damage). The surviving hypothesis is the objective: a few hundred answer-only sequences under prompt masking teach the base a distribution over answers that it follows into invented continuations. One confound is open โ€” the training answers were written by a much stronger model, and a 4B imitating that register may learn to sound certain where it would have hedged. The falsifying experiment: train on the base's own outputs, shape-edited only. These weights are here so that someone can run it.

Files

File Size sha256
coapi-voice-v2-Q4_K_M.gguf 2.50 GB 924df1f2fee22dbb2640f98abd53e46c1bd2e7952534845399c9d6d1943792b2
coapi-voice-v2-Q8_0.gguf 4.28 GB 7eaecfa97e03b4aefc4715c6b0d70f5cae5f6e0f7c5eb70dba6dcfd0948e8a7e
adapters/ the mlx-lm LoRA adapter as trained
lora_config.yaml, version_record.json exact configuration and environment

Running it (to reproduce, not to use)

ollama run hf.co/miktam/coapi-voice-v2-gguf:Q4_K_M

Thinking off (/no_think), temperature 0 / seed 42 for the scored pass; shipped sampling was temperature 0.7, top_k 20, top_p 0.8, min_p 0.05, repeat 1.05, presence 0. The pre-registration, version records and judge files are in the experiment directory linked above, where the eval set is sealed by hash; the eval runner, scorer and retrieval code are not published.

Rights

Trained only on the authors' own study notes. No course materials, no client or buyer data, no conversation logs entered the training set, the eval, or the retrieval index. Base model Apache-2.0 (Qwen); this derivative is released under the same licence.

Downloads last month
-
GGUF
Model size
4B params
Architecture
qwen3
Hardware compatibility
Log In to add your hardware

4-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for miktam/coapi-voice-v2-gguf

Finetuned
Qwen/Qwen3-4B
Adapter
(1159)
this model