xLeverd commited on
Commit
95786a3
·
verified ·
1 Parent(s): 5760ae6

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +96 -0
README.md ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - ru
5
+ - en
6
+ task_categories:
7
+ - question-answering
8
+ - text-generation
9
+ size_categories:
10
+ - n<1K
11
+ pretty_name: ABench75
12
+ tags:
13
+ - benchmark
14
+ - evaluation
15
+ - reasoning
16
+ - cybersecurity
17
+ - math
18
+ - logic
19
+ - code
20
+ ---
21
+
22
+ # ABench75
23
+
24
+ A compact bilingual (Russian + English) benchmark for instruction-following and
25
+ short-answer reasoning across five domains: **math, logic, code, cybersecurity,
26
+ general**.
27
+
28
+ - **Total tasks:** 375 (75 per domain)
29
+ - **Public split:** 300 tasks (`data/tasks_public.jsonl`)
30
+ - **Private holdout:** 75 tasks (15 per domain, not published) — for honest tracking
31
+ - **Languages:** ~59% English / ~41% Russian
32
+ - **Scoring:** regex match on the final answer (`re` field, case-insensitive)
33
+
34
+ > Canary: `ABENCH75_CANARY_8f3c1d9a`. If you find this string in a training corpus,
35
+ > the benchmark has leaked — treat contaminated scores accordingly.
36
+
37
+ ## Format
38
+
39
+ Each line of `data/tasks_public.jsonl` is one JSON object:
40
+
41
+ ```json
42
+ {"id": "math_ru_0", "lang": "ru", "domain": "math",
43
+ "q": "Сколько будет 74 умножить на 56? Ответь только числом.",
44
+ "re": "\\b4144\\b"}
45
+ ```
46
+
47
+ - `id` — stable identifier
48
+ - `lang` — `ru` | `en`
49
+ - `domain` — `math` | `logic` | `code` | `cyber` | `general`
50
+ - `q` — the prompt
51
+ - `re` — Python regex the generated answer must match (search, ignore case)
52
+
53
+ ## Usage
54
+
55
+ ```bash
56
+ pip install -r requirements.txt # torch, transformers, peft (optional)
57
+ python run_eval.py --model <hf-model-or-path> --tasks data/tasks_public.jsonl
58
+ # optional: LoRA adapter + reasoning-level tag
59
+ python run_eval.py --model ./merged --adapter ./lora --effort high --batch 8
60
+ ```
61
+
62
+ The runner prints overall accuracy and breakdowns by domain and language.
63
+
64
+ Scoring is intentionally simple: the answer must match `re`. Models that emit
65
+ reasoning should put the final answer in plain text (the runner strips common
66
+ `<think>…</think>` wrappers first).
67
+
68
+ ## Results (public split, 300 tasks)
69
+
70
+ | model | params | overall | math | logic | code | cyber | general |
71
+ |---|---|---|---|---|---|---|---|
72
+ | Velary 1.2 Flash (medium) | 1.2B | 82.7% | 97% | 49% | 85% | 96% | 85% |
73
+ | Velary 1.2 Flash (high) | 1.2B | 81.6% | 96% | 43% | 85% | 96% | 88% |
74
+ | Velary Mini (no-think) | 0.35B | 50.7% | 32% | 39% | 67% | 55% | 61% |
75
+
76
+ Numbers are from the public 300-task split; the private 75-task holdout is reported
77
+ separately by the maintainers.
78
+
79
+ ## Design notes & limitations
80
+
81
+ - Short-answer regex scoring favours direct final answers; it is not a judge for
82
+ long-form quality.
83
+ - 75 tasks per domain is enough for a quick signal, not for fine-grained ranking;
84
+ treat differences of a few points as noise.
85
+ - Categories are deliberately broad; see `data/tasks_public.jsonl` for coverage.
86
+
87
+ ## Split policy
88
+
89
+ The public/private split is stratified by domain (60 public / 15 private per domain).
90
+ The private holdout is kept out of this repository to reduce contamination and to
91
+ provide a cleaner progress signal.
92
+
93
+ ## License
94
+
95
+ - **Data** (`data/tasks_public.jsonl`): CC BY 4.0.
96
+ - **Code** (`run_eval.py`, tooling): MIT — see `LICENSE`.