Downloads · 30 days
2
4% of all-time downloads
richardlian/iolai-2026-4b-direct
iolai-2026-4b-direct is a machine learning model from richardlian. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
IOL-AI 2026 submission. Qwen3.5-4B LoRA-tuned (r32, lr1e-4, ep2 by generated-score selection) on 239 expert-verified linguistics-olympiad answer sets to emit ONLY a JSON list of answers. Shipped as Q80 GGUF + the v2 s…
Downloads · 30 days
2
4% of all-time downloads
All-time downloads
46
Public
Repo size
4.9 GB
Likes
0
Public
Click a slice to open those files.
.gguf4.5 GB · 77%
From the Hugging Face model README
IOL-AI 2026 submission. Qwen3.5-4B LoRA-tuned (r32, lr1e-4, ep2 by generated-score
selection) on 239 expert-verified linguistics-olympiad answer sets to emit ONLY a
JSON list of answers. Shipped as Q8_0 GGUF + the v2 solver pipeline (script.py
runs offline on one T4 in 30 min; hidden-set score 0.1154 with 3-sample voting).
<problem data>\n\n<asked items> — nothing else. No few-shot (trained
without), thinking disabled (enable_thinking=False in the chat template).[...] via raw_decode), fall
back to line heuristics (see v2/textproc.py).N_SAMPLES=3 — worth ~2x exact-match on our runs).Structure retrieval as a labeled block INSIDE the user turn, between data and query:
<problem data>
REFERENCE (retrieved; may be irrelevant — ignore if it conflicts with the data):
<retrieved grammar notes / cognate tables / similar solved problem>
<asked items>
Guidelines learned the hard way:
LLAMA_CTX is 4096 in script.py (raise to 6144-8192; Q8 4B uses
~5 GB, KV is cheap). Keep retrieved text <= ~1500 tokens; prefill costs ~2 ms/tok
on a T4 across 90 rows.task_type column (translation /
match_letters / fill_blanks / num_to_text / text_to_num) and the problem's
language name in the header. v2/prompts.py already has an EXEMPLAR_BANK env
(JSON {task_type: {user, assistant}}) for typed few-shot retrieval — measured
NEUTRAL-to-negative on the tuned model, so prefer inline REFERENCE blocks over
exemplar turns.GGUF_PATH, PROMPT_MODE=direct, N_SAMPLES, MAX_NEW=700, LLAMA_CTX, FEWSHOT=0, REFINE_ROUNDS=0 (keep 0: legacy refine prompts fight the JSON contract), TRANSCRIPT.
License: Apache-2.0 (base + adapters). Training data: expert-verified answers from our lab corpus + Neacsu guide (CC BY) + agurung/ioling slices (CC-BY-SA).