PL-MT: morphology evaluator v2 (levels, robust scoring, 4×5 orchestration) - #1
Closed
kwiscion wants to merge 1 commit into
Closed
PL-MT: morphology evaluator v2 (levels, robust scoring, 4×5 orchestration)#1kwiscion wants to merge 1 commit into
kwiscion wants to merge 1 commit into
Conversation
…ation Polish morphology benchmark evaluator. Extends @lizzy-606's v0.1 evaluator: - level field (1-7) encoding the error mechanism — per-level diagnostics, not a flat score - word-boundary matching (was substring): 'lepiej' no longer passes 'najlepiej', 'duże' no longer false-flags in 'dużej' - acceptable_all AND-match for 'list all cases' items — phrasing/connector-agnostic - randomized order WITHIN each level (seeded); level order fixed (no positional gaming) - early stopping OFF by default (levels aren't monotonic in difficulty) - reuses bench/plgen/common (ask/MODELS): same 4 models + OpenRouter/ollama backends, seeds - response-cache run loop: gold edits re-score with 0 LLM calls; only new ids generate - cross-seed/cross-model aggregate (mean±std per level) Data is eval_only and lives in the private datasets repo (data/eval/plmt); the evaluator reads a gitignored local copy (slayer-data/plmt) registered in decon_audit.EVAL_SOURCES. decon_audit: handle whole-file .json task sets (not just JSONL). Benchmark + level taxonomy authored by @lizzy-606. Co-Authored-By: lizzy-606 <lizzy-606@users.noreply.github.com> Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Owner
Author
|
Superseded by slayerlabs#34 (same branch, targeting the org repo). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PL-MT — Polish morphology benchmark (evaluator)
The code half of PL-MT. Pairs with the data PR: slayerlabs/datasets#3.
Primary contributor: @lizzy-606 — author of the benchmark and the difficulty-level
taxonomy (v0.1). This PR extends her evaluator.
What's here
bench/plmt/evaluator_v2.py— the evaluatorbench/plmt/PLMT.md— benchmark card (methodology + reference matrix; no answer keys)bench/decon_audit.py— register the PL-MT task set; handle whole-file.jsonsourcesChanges over v0.1
level(1–7) encodes the error mechanism → per-level diagnostics, not a flat46/71lepiejno longer passesnajlepiej;dużeno longer false-flags inside
dużejacceptable_allAND-match for "wymień wszystkie przypadki" items — passes on thecomplete set of case names regardless of phrasing/connector (
ivsoraz)bench/plgen/common— same 4 models, OpenRouter/ollama backends, seed supportData placement (eval_only)
Tasks are not in this repo. Master in
datasets/data/eval/plmt/; evaluator reads agitignored local copy at
slayer-data/plmt/; registered indecon_audit.EVAL_SOURCES.Reference (4 models × 5 seeds, avg-levels macro)
gemma4 0.74 · bielik 0.68 · qwen35 0.58 · qwen36 0.53 — same ranking as PL-GEN. Bielik leads
the Polish-specific levels (L3 suppletivism, L5 collective numerals, L4 noun syncretism).
Verification
--selftestpasses; decon extracts 683 strings from the task set (was 0 before the.jsonloader fix); aggregate reproduces from cache with 0 LLM calls.
🤖 Generated with Claude Code