Does a reranker always improve retrieval? A Korean statute reranker that wins recall@8 and loses top-1
Part 2 of Building AI for Korean Education and Public Services. Part 1 covered the embedding model (/tech-blog/en/research/thakiedu-embedding-korean-statute-retrieval/).
Summary. We fine-tuned a Korean cross-encoder, ThakiEdu-Reranker-KO-v0.1 (internal name r5), to reorder candidate statute articles. In a BM25 + dense → reranker pipeline it raises recall@8 over our previous reranker (r4) by +0.15 to +0.20, and the paired bootstrap 95% CI excludes zero on both evaluation slices and with both embeddings we tried. That is the good news.
The less comfortable result is about top-1. When the dense stage uses our newer embedding (r3, released as ThakiEdu-Embedding-KO-v0.1), dense retrieval alone puts the right article first 0.49-0.51 of the time, and adding the reranker drops that to 0.38-0.43. Our working explanation is a mismatch between the candidates the reranker was trained on and the candidates the new embedding produces. That explanation is a hypothesis. We have not run the experiment that would confirm or reject it, and this post says where it could be wrong.
We also report two follow-ups that failed: adjacent-article hard negatives (r6b), and a data refresh (r6a) that looked like a clear win on one seed and fell apart on a second seed.
1. Problem
The task comes from Korean legal reading comprehension. A question and a passage come in, and the system has to name the statute article that supports the answer, for example “Article 3 of Act X”. Downstream, a language model reads the retrieved articles and picks one, so retrieval quality caps the whole system.
We retrieve from Legalize-KR, a corpus of current Korean statutes, in two snapshots: v1 (173,569 articles) and v2 (207,591 articles). The r4/r5 runs in Section 7.1 used v1; the combined pipeline (Section 7.2) and the r6 runs (Section 9) used v2. Each table states its corpus. All reranker numbers in this post are measured inside the statute pool the passage points to, an average of about 236 articles per query in the v2 run, not over the whole corpus. Full-corpus dense retrieval is covered in Part 1.
Two numbers matter for us:
- recall@8: is the gold article anywhere in the top 8? The downstream selector reads 8 candidates, so this is the ceiling for the next stage.
- recall@1: is the gold article ranked first? This matters when there is no selector, or when the selector defaults to the first candidate.
A reranker that is good at the first and bad at the second is still useful, but you have to know which one you have.
2. Related work
We only cite work we have actually read and relied on.
- Cross-encoder reranking. Nogueira and Cho (2019, “Passage Re-ranking with BERT”) established the pattern of scoring each (query, passage) pair jointly with a BERT-style encoder on top of a cheap first stage. Our model follows this pattern.
- Base model.
BAAI/bge-reranker-v2-m3, a multilingual XLM-RoBERTa cross-encoder from the BGE family (Chen et al., 2024, BGE M3-Embedding). - Fusion. Reciprocal Rank Fusion (Cormack, Clarke and Büttcher, SIGIR 2009) merges the BM25 and dense rankings before reranking.
- Hard negatives. DPR (Karpukhin et al., 2020) showed that negatives mined from a retriever matter more than random ones. RocketQA (Qu et al., 2021) pointed out that mined “negatives” are often false negatives.
- Retriever-matched reranker training. Gao, Dai and Callan (ECIR 2021, “Rethink Training of BERT Rerankers in Multi-Stage Retrieval Pipeline”) trained rerankers with a group-wise softmax over negatives drawn from the deployed first-stage retriever, and argued that the reranker should see that retriever’s candidate distribution. Our loss is the same group softmax, and our top-1 result fits their argument, though we have not tested it directly (Section 9).
3. Data
- Training source. 금융 법률 문서 기계독해(71610) on AI 허브(AI-Hub), the law-MRC subset, built with sealed documents excluded. Data redistribution is not allowed: the data is for the applicant’s own internal use only. No raw or reprocessed AI Hub data, and no evaluation item text, appears in this post or in the model repository. All examples below are synthetic.
- Statute text. Legalize-KR (current statutes, from the National Law Information Center public works).
- Training groups. The r5 recipe starts from 742 rows. 309 groups survive gold-key resolution and the corpus-existence check (281 train, 28 internal validation). The other 433 rows have no key in the corpus, including 294 where the passage names no statute and 79 that are ambiguous. Training passages that matched dev passages by hash were removed. The leak check found 0 overlaps with evaluation slices A and C.
- Evaluation. Dev queries from our law-basis dev pool. Slice A is the first 200 and slice C is items 400-599. Each slice has 175 “resolvable” queries, meaning the gold article can be keyed to the corpus. These are dev queries we reused across several internal diagnostics. They are not a sealed holdout. Slice C was used less than slice A.
A note on how we got here. Our first two law retrieval rounds (v2, v3) looked catastrophic: R3 recall@8 was 0.055 in v3. The cause was mostly our scoring key, not retrieval. Most gold answers are written as “법 제N조” (“the Act, Article N”) with no statute name, because the passage defines the statute. Once we resolved the statute from the passage (key v4), the same retrieval code scored 0.718. Every number in this post uses the strict v4/v5 keys.
4. Training algorithm
4.1 Model
A cross-encoder scores one (query, article) pair at a time:
\[s(q, d) = \mathbf{w}^\top \mathrm{XLMR}_{24}\big([\mathrm{CLS}]\; q\; [\mathrm{SEP}]\; d\big)_{\mathrm{CLS}} + b\]The backbone is 24 XLM-RoBERTa layers with a single-logit head and a maximum input of 512 tokens (truncation="longest_first"). The query is the question followed by the opening characters of the passage.
4.2 Loss: group softmax cross-entropy
Each training group has one positive article $d^+$ and $n=7$ negatives $d^-_1 \dots d^-_7$ taken from the same statute. The loss is the cross-entropy of the positive under a softmax over the group:
\[\mathcal{L}(q) = -\log \frac{\exp s(q, d^+)}{\exp s(q, d^+) + \sum_{j=1}^{7} \exp s(q, d^-_j)}\]This is a listwise objective over 8 candidates, which is also how many candidates the downstream selector reads.
4.3 Where the negatives come from
The negatives are the important part. For each training question:
- Build the statute pool from the statutes named in the passage.
- Rank the pool with BM25 and with the dense embedding r2, then fuse with RRF: $\mathrm{RRF}(d) = \sum_{r \in {\mathrm{bm25}, \mathrm{dense}}} \frac{1}{60 + \mathrm{rank}_r(d) + 1}$ (0-based rank).
- Take the RRF top-50, drop the gold, and score the rest with the previous reranker r4.
- Negatives = the 6 highest-scoring wrong articles plus 1 random article from the same statute.
So r5 learns to separate the gold article from the articles that r2 + BM25 retrieve and r4 likes. Keep this in mind for Section 8.
4.4 Pseudocode
# r5: continue from r4, same-statute hard negatives
for q, passage, gold in train_items:
pool = articles_of(statutes_named_in(passage))
fused = rrf(bm25_rank(q, pool), dense_rank_r2(q, pool))[:50]
wrong = [d for d in fused if d not in gold]
hard = top_k(wrong, key=lambda d: r4.score(q, d), k=6)
negs = hard + random.sample(pool - gold - hard, 1)
groups.append((q, gold[0], negs)) # 1 positive + 7 negatives
model = load("r4") # continued training
opt = AdamW(model.parameters(), lr=1e-5, weight_decay=0.01)
sched = linear_warmup_decay(warmup=0.06)
for epoch in range(2):
for batch in shuffle(groups, batch_groups=4): # 4 groups = 32 pairs
logits = model(pairs(batch)).view(4, 8) # column 0 = positive
loss = cross_entropy(logits, zeros(4))
loss.backward(); clip_grad_norm(model, 1.0)
opt.step(); sched.step(); opt.zero_grad()
The preregistration, committed before the job ran, fixed lr 1e-5, 2 epochs, 4 groups per batch, max_len 512, 6% warmup with linear decay and seed 20261128. bf16 autocast is not in the preregistration; it is set in the job code (bench/law_r5.py). Internal validation MRR went from 0.20 to 0.49 to 0.65 over two epochs.
4.5 How r4 got there (short history)
- r1, r2: trained with easy negatives (other documents). Dev metrics saturated at top-1 = 1.0, so we could not tell anything apart.
- r3: evaluated as a cascade (embedding top-20 → reranker). Easy negatives made it slightly worse than the untrained base (r@1 0.853 vs 0.866, CIs overlapping).
- r4: retriever-mined hard negatives (top-20 non-gold, 4 per query). Cascade r@1 0.900 vs base 0.866 (CIs partly overlap, no paired test run). This was a general document cascade, not the statute-article task.
- r5: the same idea, applied to articles in the same statute.
5. Pipeline architecture
question + passage
│
├─ statute pool (statutes named in passage, ~236 articles)
│
├─ BM25 ranking ─┐
├─ dense ranking ┴─► RRF (k=60) ─► top-50 ─► cross-encoder r5 ─► top-8 ─► selector
│
└─ (alternative) dense top-k only
Labels used in the tables: R2 = dense only inside the pool, R3 = RRF top-50 → reranker.
6. Experimental design
- Every model change was preregistered (hypothesis, gates, interpretation table) and committed before the job ran. Gates were never changed after results came in.
- Paired comparisons use a per-query paired bootstrap with a 95% percentile CI (2,000 resamples where the ledger states it).
- r5 gates: W1 R3 recall@8 ≥ 0.80; W1c R3 ≥ R2; W2 gain over r4 ≥ +0.05.
- Single seed unless stated otherwise. Section 9 shows why that caveat matters.
7. Results
7.1 r5 on the v4 dev split (corpus v1, 173,569 articles)
These are the v4-harness runs (result-law-v4-retrieve-1128.md, result-law-r5-1128.md) on corpus v1, not v2.
| arm (resolvable n=156) | @1 | @3 | @5 | @8 | @20 | @50 | MRR |
|---|---|---|---|---|---|---|---|
| R2 dense only (emb r2) | 0.064 | 0.551 | 0.641 | 0.699 | 0.808 | 0.904 | 0.332 |
| R3 → r4 | 0.397 | 0.571 | 0.635 | 0.718 | 0.801 | 0.878 | 0.513 |
| R3 → r5 | 0.430 | 0.731 | 0.801 | 0.827 | 0.872 | 0.878 | 0.585 |

All three gates passed (0.827 ≥ 0.80, ≥ 0.699, +0.109 ≥ +0.05). r5 pushes recall@8 to within 5 points of the RRF@50 ceiling (0.878), so candidate generation is now the larger limit on recall. Counting all 200 queries, including the 43 whose passage names no statute, recall@8 is 0.645.
7.2 Combined pipeline: two embeddings × two rerankers × two slices
This is the release-validation run on corpus v2 (207,591 articles; single run per combination, resolvable n=175 per slice).
| embedding | reranker | slice | dense @1 · @8 | R3 @1 · @8 · @50 · MRR |
|---|---|---|---|---|
| r2 | r4 | A | 0.080 · 0.680 | 0.360 · 0.657 · 0.863 · 0.468 |
| r2 | r5 | A | 0.080 · 0.680 | 0.440 · 0.806 · 0.863 · 0.582 |
| r3 | r4 | A | 0.491 · 0.846 | 0.354 · 0.646 · 0.903 · 0.468 |
| r3 | r5 | A | 0.491 · 0.846 | 0.429 · 0.823 · 0.903 · 0.577 |
| r2 | r4 | C | 0.120 · 0.749 | 0.360 · 0.640 · 0.857 · 0.461 |
| r2 | r5 | C | 0.120 · 0.749 | 0.429 · 0.811 · 0.857 · 0.584 |
| r3 | r4 | C | 0.514 · 0.851 | 0.371 · 0.623 · 0.891 · 0.467 |
| r3 | r5 | C | 0.514 · 0.851 | 0.383 · 0.823 · 0.891 · 0.558 |
Paired differences in R3 recall@8:
| contrast | slice A | slice C |
|---|---|---|
| r5 − r4 (emb r2) | +0.149 [+0.097, +0.206] | +0.171 [+0.114, +0.234] |
| r5 − r4 (emb r3) | +0.177 [+0.120, +0.240] | +0.200 [+0.137, +0.263] |
| emb r3 − r2 (reranker r5) | +0.017 [−0.011, +0.046] | +0.011 [−0.011, +0.034] |

r5 beats r4 at recall@8 in all four cells, and the r2+r5 numbers (0.806 / 0.811) match the earlier ledger. Swapping the embedding from r2 to r3 barely moves the pipeline recall@8 (+0.01 to +0.02, CI includes 0), even though r3 is much better on its own.
8. The top-1 problem, and what might explain it

Look at the recall@1 columns:
- With embedding r2, dense alone is weak at top-1 (0.08 / 0.12), and reranking lifts it to 0.43-0.44. The reranker does what you expect.
- With embedding r3, dense alone is already at 0.491 / 0.514. After RRF and r5 it falls to 0.429 / 0.383. Reranking costs 6 to 13 points of top-1.
The same pattern shows up, more weakly, at recall@8: r3 dense alone reaches 0.846 / 0.851, and the r3 + r5 pipeline reaches 0.823 / 0.823. The ledger has no paired CI for this dense-vs-pipeline contrast, so we do not claim a difference at @8. We only note that the point estimates do not favour the reranker.
Notice also that r5’s top-1 is roughly the same whichever embedding feeds it (0.44 / 0.43 with r2, 0.43 / 0.38 with r3). The reranker replaces the dense ordering instead of building on it, so a good dense first place is thrown away when r5 disagrees.
Working hypothesis: candidate-distribution mismatch. r5’s negatives were mined from RRF(BM25, r2) and filtered by r4’s scores (Section 4.3). It has never seen the near-misses that r3 produces. If r3’s hard cases differ from r2’s, which is plausible because r3 is far stronger at the top, r5 may be calibrated for the wrong confusions. Gao et al. (2021) argue exactly this for multi-stage pipelines.
What would refute it. We have not run either of these yet:
- Re-mine r5’s negatives with r3 (same recipe, same seed policy) and check whether R3 recall@1 recovers to at least the r3 dense level.
- Fuse scores instead of replacing them (for example, interpolate the dense and reranker scores, or use the reranker only to reorder ranks 2-8) and check whether the top-1 loss disappears. If simple fusion closes the gap, the issue is ordering policy rather than training distribution.
Competing explanations we cannot rule out:
- r3 may have a dev-pool advantage. The embedding’s evaluation ledger notes that its training queries come from the same dev pool as these evaluation queries (with overlaps removed; see Part 1). Some of r3’s top-1 strength could be closeness to this distribution rather than something the reranker failed to learn.
- The reranker may simply be weaker at fine-grained top-1 within one statute. Section 9 shows that top-1 is the part of the ranking that shifts most between seeds and between negative sampling schemes.
- Input differences. The reranker sees the question plus a truncated passage in 512 tokens shared with the article text. r3 also runs at 512 at inference but was trained at 384.
Practical consequence. For pipelines that need a top-8 candidate set (our selector), r5 is the best reranker we have. Where there is no selector and the first result is used directly, our ledgers do not support putting r5 after ThakiEdu-Embedding-KO-v0.1. The model card says this explicitly.
9. Ablations and failed experiments
9.1 Adjacent-article hard negatives (r6b): rejected
The r6 runs in this section use corpus v2 (207,591 articles).
Hypothesis: the top-1 errors are mostly confusions between neighbouring articles (Article N vs N±1, or “Article N-2” variants), so adding up to 3 adjacent articles as negatives should help. The paired arm r6a used the same refreshed data without adjacent negatives.
| slice | arm | @1 | @3 | @8 | MRR |
|---|---|---|---|---|---|
| A (reused, n=175) | r5 | 0.446 | 0.703 | 0.806 | 0.584 |
| r6a | 0.503 | 0.737 | 0.823 | 0.627 | |
| r6b | 0.314 | 0.709 | 0.811 | 0.526 | |
| B (first use, n=167) | r5 | 0.383 | 0.713 | 0.844 | 0.558 |
| r6a | 0.539 | 0.743 | 0.862 | 0.662 | |
| r6b | 0.311 | 0.731 | 0.838 | 0.538 |
r6b − r5 at top-1 was −0.131 [−0.211, −0.051] on A and −0.072 [−0.150, 0.000] on B. Primary gate failed. Adding adjacent articles as negatives lowered top-1 by 0.19-0.23 relative to r6a and left @8 roughly unchanged. Two explanations remain untested. Adjacent articles may be false negatives, since content moves between “Article N” and “Article N-2” during amendments (the false-negative problem RocketQA describes). Or packing 1:7 groups with near-identical surfaces may collapse the score scale.
9.2 Data refresh (r6a): a one-seed win that did not replicate
On slice B, r6a beat r5 at top-1 by +0.156 [+0.084, +0.222]. That is a large effect with a CI well clear of zero, from one seed. Because it was a reported arm and not the primary one, we did not adopt it. We preregistered a confirmation run with two more seeds on a fresh slice C.
| seed | r6a @1 | r5 @1 | r6a − r5 @1 [95% CI] | r6a @8 | r5 @8 |
|---|---|---|---|---|---|
| 20261128 | 0.514 | 0.429 | +0.086 [+0.017, +0.154] | 0.829 | 0.811 |
| 20261129 | 0.291 | 0.429 | −0.137 [−0.217, −0.063] | 0.823 | 0.811 |
| 20261130 | 0.549 | 0.434 | +0.114 [+0.040, +0.194] | 0.829 | 0.811 |

Mean +0.021, below the +0.05 gate. One seed went clearly negative. Verdict: FAIL; r5 stays. The same shape appears on slices A and B (seed 29: −0.143 and −0.048). This is not slice luck: the training run itself is unstable across seeds. Two more points:
- Seed 29 kept recall@8 at or above r5. It still put the right articles in the top 8; only the top-1 ordering collapsed.
- With 349 groups and a 33-group validation set, the validation metrics for seed 29 looked like the other seeds. Our validation set could not detect the collapse.
This changes how r5 itself should be read. r5 is also a single seed. It might be a lucky one. The card says so.
(r5’s slice-C top-1 was 0.429 in one job and 0.434 in another, a one-query difference that we attribute to nondeterminism in the retrieval stage. It does not change any verdict.)
9.3 Beyond the reranker: full-text cross-encoder selector
To fix top-1 directly, we also trained a separate cross-encoder “selector” that reads full article text (1,500 characters, max_len 1024) over r5’s top-8, testing pointwise, pairwise and listwise losses with 3 seeds each. All 6 gates failed for all three losses (REJECT). With about 6,000 synthetic question groups added, listwise improved over r5’s first place in all 3 seeds (+0.11 to +0.15, CI above 0) but stayed below the product gates (end-to-end 0.55-0.59 vs 0.65). Doubling the synthetic groups again made results worse (−0.061 [−0.097, −0.027]). For reference, a 27B model used as the selector (non-thinking mode) reached end-to-end 0.663 on slice A but also failed the oracle and fresh-slice gates. None of this ships. We mention it because it shows that top-1 within one statute is hard for every model we tried, not only for r5.
10. Reproducibility
- Each experiment has a preregistration JSON committed before submission, with fixed gates, and a result ledger that records only aggregates.
- Recipe: Section 4.4. Seeds: 20261128 for r5; 20261128/29/30 for the r6a confirmation.
- Jobs were deleted after their results were collected. Weights and run artifacts live in internal storage and are not public, apart from the released r5 checkpoint.
- What you can reproduce from public material: the model, the ONNX export, and the inference code below. The evaluation queries come from AI Hub data and cannot be redistributed.
11. Limitations
- Single training seed for the released checkpoint. A related recipe (r6a) swung top-1 from −0.14 to +0.11 across seeds.
- Dev queries, not a sealed holdout. Slices A and C were reused across diagnostics, which leaves room for selection bias. Overlap with r5’s training passages is 0.
- Pool-restricted retrieval. About 236 candidate articles per query on average. Reranking over all 207,591 articles was not measured.
- Version and timing. The corpus is the current version of each statute, so an article number can differ from the one in a question written under an older version.
- Domain. Only Korean statutes were evaluated.
- Top-1. See Section 8. Do not use r5 to pick the first result after a strong dense retriever.
12. Inference code
Pure PyTorch, synthetic example text:
import torch
from transformers import AutoTokenizer, AutoModelForSequenceClassification
repo = "ThakiCloud/ThakiEdu-Reranker-KO-v0.1"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForSequenceClassification.from_pretrained(repo).eval()
query = "학교 도서관 운영위원회는 몇 명 이내로 구성하나요?\n(지문) 어느 학교가 도서관 운영위원회를 새로 꾸리려 한다."
articles = [
"제5조(운영위원회) 운영위원회는 위원장 1명을 포함한 7명 이내의 위원으로 구성한다.",
"제6조(위원의 임기) 위원의 임기는 2년으로 하며, 한 차례 연임할 수 있다.",
"제1조(목적) 이 규정은 학교 도서관 운영에 필요한 사항을 정함을 목적으로 한다.",
]
with torch.no_grad():
batch = tok([query] * len(articles), articles, padding=True,
truncation="longest_first", max_length=512, return_tensors="pt")
scores = model(**batch).logits[:, 0]
for s, a in sorted(zip(scores.tolist(), articles), reverse=True):
print(f"{s:+.3f} {a[:30]}")
In a pipeline, give the reranker your fused top-50 and keep the top 8. If you also run ThakiCloud/ThakiEdu-Embedding-KO-v0.1, log the dense top-1 next to the reranked top-1. On our data the dense top-1 was more often correct (Section 8).
13. Deployment (ONNX)
The repository ships onnx/model_fp32.onnx plus onnx/model_fp32.onnx_data, FP32 only:
import numpy as np, onnxruntime as ort
from huggingface_hub import snapshot_download
from transformers import AutoTokenizer
repo = "ThakiCloud/ThakiEdu-Reranker-KO-v0.1"
path = snapshot_download(repo, allow_patterns=["onnx/*"])
tok = AutoTokenizer.from_pretrained(repo)
sess = ort.InferenceSession(f"{path}/onnx/model_fp32.onnx", providers=["CPUExecutionProvider"])
q = "개인정보를 수집할 때 동의를 받아야 하나요?"
docs = ["제15조(수집ㆍ이용) 개인정보를 수집하려면 정보주체의 동의를 받아야 한다.",
"제30조(공개) 처리방침을 정하여 공개하여야 한다."]
enc = tok([q] * len(docs), docs, padding=True, truncation="longest_first",
max_length=512, return_tensors="np")
feed = {i.name: enc[i.name].astype(np.int64) for i in sess.get_inputs()}
print(sess.run(None, feed)[0][:, 0])
Verified before release:
-
FP32 ONNX vs PyTorch (synthetic, 20 queries × 10 documents): max Δscore 1.05e-5, Kendall τ 1.0, top-1 agreement 1.0. - CPU latency (onnxruntime, 8 threads, short synthetic text): 1 query × 10 documents p50 376 ms; a single pair p50 44 ms.
- Why there is no INT8. For the previous reranker r4, dynamic INT8 flipped the top-1 on 1 of 6 synthetic queries (agreement 0.833) with per-tensor quantization, and again with per-channel (Spearman 0.897 → 0.944, still 0.833 top-1). Our SDK rule allows INT8 only at top-1 ≥ 0.98, so the reranker ships FP32. The INT8 test set was tiny (6 queries). We have not measured INT8’s effect on recall@k at scale.
- Hub integrity. The public repository (12 files, Apache-2.0) was checked against our manifest: LFS sha256 and sizes matched, 0 mismatches.

Clean-environment check. After release we downloaded the public repository without credentials or a local cache and scored two synthetic Korean query-article pairs. The related pair scored -1.554 and the unrelated pair -6.202, so the order is correct. LFS file hashes and sizes match the release manifest. The public ONNX file also ran under ONNX Runtime from the downloaded repository; the maximum score difference from PyTorch was 1.2e-6 and the top-1 agrees.
14. Takeaways
- Mining negatives from your own pipeline works, on two separate tasks. On the general document cascade, r3 with easy negatives did not beat the untrained base (r@1 0.853 vs 0.866), while r4 with retriever-mined negatives reached 0.900. Separately, on the statute-pool task, r5 adds +0.15-0.20 recall@8 over r4, with CIs clear of zero. The two comparisons use different tasks and metrics, so the numbers should not be chained.
- A reranker trained against one first stage is not automatically good after another. With the stronger embedding, top-1 went down. We think the cause is candidate distribution, but we have not tested it yet.
- One seed is not evidence of a top-1 gain. r6a’s +0.156 looked conclusive and did not survive a second seed.
Series and links
- Part 1 · Embedding: /tech-blog/en/research/thakiedu-embedding-korean-statute-retrieval/
- Part 2 · Reranker (this post): /tech-blog/en/research/thakiedu-reranker-korean-legal-rag/
- Part 3 · Safety classifier: /tech-blog/en/research/thakiedu-safety-568m-education-guardrail/
- Part 4 · 27B → 1.7B distillation: /tech-blog/en/research/thakiedu-1p7b-structured-distillation/
- Part 5 · Ecosystem: /tech-blog/en/research/building-thakiedu-model-ecosystem/
- Model: https://huggingface.co/ThakiCloud/ThakiEdu-Reranker-KO-v0.1
- Collection: https://huggingface.co/collections/ThakiCloud/thakiedu-korean-education-and-statute-search-6b0d09302cbcb3cea9d70fc5
Data attribution. 금융 법률 문서 기계독해(71610), AI 허브(AI-Hub). 데이터 재배포 불가, 신청자 본인 내부 이용. Statute text: National Law Information Center / Legalize-KR.
Evidence
Every number in this post comes from these files in the project repository:
data/ledgers/release/result-law-combined-1130.md: combined pipeline table, paired CIs, top-1 observationrelease/cards/ThakiEdu-Reranker-KO-v0.1.md,release/cards_en/ThakiEdu-Reranker-KO-v0.1.md: card claims, latency, ONNX equivalencedata/ledgers/law-diag/result-law-r5-1128.md,prereg-law-r5-1128.json: r5 recipe, gates, recall@k, group countsdata/ledgers/law-diag/result-law-r6-l19-1128.md,prereg-law-r6-l19-1128.json: r6a/r6bdata/ledgers/law-diag/result-law-r6a-confirm-1128.md,prereg-law-r6a-confirm-1128.json: 3-seed confirmationdata/ledgers/law-diag/result-law-v2-1128.md,result-law-v3-retrieve-1128.md,result-law-v4-retrieve-1128.md: key fix and r4 baselinedata/ledgers/law-diag/result-law-v4-select-1128.md,result-law-v5-select-1128.md,result-law-v6-select-1128.md: downstream selection contextdata/ledgers/law-diag/result-law-selector-1129.md,result-law-selector-r2-1129.md,result-law-selector-r3-1130.md: full-text selectordata/ledgers/train-v1b/train-v1b-1127.md: r1-r4 historydata/ledgers/sdk/result-sdk-onnx-1128.md: r4 INT8 0.833RELEASE_STATUS.md: FP32 ONNX checks, hub sha256 verification