Optional NNAI-Bench evaluation guide and invitation
#9
by vynly - opened
- NNAI_BENCH.md +59 -0
NNAI_BENCH.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# English KenLM — optional external evaluation
|
| 2 |
+
|
| 3 |
+
Reviewed source revision: `3fbe35c83b1a39f420a345b7c96a186c8030d834`.
|
| 4 |
+
|
| 5 |
+
## Model-specific adapter notes
|
| 6 |
+
|
| 7 |
+
Select a single English checkpoint, for example `wikipedia/en.arpa.bin`, and its matching `wikipedia/en.sp.model`; pin the repository revision and both file hashes. Preserve the checkpoint's documented cc_net normalization and SentencePiece preprocessing. In particular, number normalization changes arithmetic inputs: disclose it, and do not silently change preprocessing after seeing test scores. The native `KenlmModel` wrapper expects the model and tokenizer in a local dataset directory. Its `get_perplexity` rounds results; a likelihood adapter should specify whether it uses that native rounded output or unrounded underlying KenLM scores, along with length normalization and ties. Choose the adapter on validation data. No checkpoint was downloaded or evaluated for this proposal.
|
| 8 |
+
|
| 9 |
+
## Optional NNAI-Bench v0.1 evaluation
|
| 10 |
+
|
| 11 |
+
This guide is proposed by **vynly, the benchmark maintainer**, as an invitation to
|
| 12 |
+
participate. It is not a result, endorsement by this model's authors, or a claim
|
| 13 |
+
of reasoning ability. Participation and merging this document are optional.
|
| 14 |
+
|
| 15 |
+
NNAI-Bench is a small English synthetic multiple-choice suite: 600 training,
|
| 16 |
+
300 validation and 900 public test questions across arithmetic, logic, ordering,
|
| 17 |
+
state tracking, strings and tables. It is not a perplexity benchmark or a broad
|
| 18 |
+
language-quality benchmark. N-gram scores may be weak on its reasoning tasks;
|
| 19 |
+
that is a useful limitation to measure rather than a reason to claim a score.
|
| 20 |
+
All labels and templates are public, so there is no hidden-test guarantee.
|
| 21 |
+
|
| 22 |
+
## Reproducible evaluation
|
| 23 |
+
|
| 24 |
+
1. Freeze the checkpoint, inference source, environment and adapter before test
|
| 25 |
+
evaluation. Use training data for fitting and validation for adapter choices.
|
| 26 |
+
Declare prior exposure to the public test and generator.
|
| 27 |
+
2. Download the benchmark in advance, then run inference offline. Only pass
|
| 28 |
+
question IDs, prompts and answer choices to the adapter; never gold labels
|
| 29 |
+
or audit programs. The full inference path must be non-neural. Declare any
|
| 30 |
+
neural assistance used to create static training assets.
|
| 31 |
+
3. Emit one JSONL object per question, with exactly `id` and `prediction` fields.
|
| 32 |
+
Predictions are `A`, `B`, `C`, `D` (choice-list order) or `ABSTAIN`. Logs go to
|
| 33 |
+
stderr. The harness validates and saves the 900 rows as a JSON array.
|
| 34 |
+
|
| 35 |
+
```bash
|
| 36 |
+
git clone https://huggingface.co/datasets/vynly/nnai-bench
|
| 37 |
+
cd nnai-bench
|
| 38 |
+
git checkout a5e77f820830b11c25eb5d686468685dc92e0c7b
|
| 39 |
+
python run_model.py --questions questions/test.jsonl --output predictions.json -- python /path/to/your_adapter.py
|
| 40 |
+
python benchmark.py score predictions.json --questions data/test.jsonl --output report.json
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
`run_model.py` is a process launcher, not a sandbox: review downloaded source and
|
| 44 |
+
disable network access independently. `data/test.jsonl` is used only by the
|
| 45 |
+
scorer after predictions are saved, never by model inference. Disclose any
|
| 46 |
+
training on the benchmark, external corpora, index-build costs, hardware and
|
| 47 |
+
runtime. Abstentions count as wrong; report coverage and per-family accuracy.
|
| 48 |
+
|
| 49 |
+
## Submit if you would like to participate
|
| 50 |
+
|
| 51 |
+
- [Leaderboard and submission form](https://huggingface.co/spaces/vynly/non-neural-ai-leaderboard)
|
| 52 |
+
- [Dataset, protocol and adapter example](https://huggingface.co/datasets/vynly/nnai-bench)
|
| 53 |
+
- [Public submission queue](https://huggingface.co/datasets/vynly/nnai-submissions)
|
| 54 |
+
|
| 55 |
+
Upload the complete predictions in the form and supply source/checkpoint
|
| 56 |
+
revision, license, provenance, preprocessing, scoring rule, test exposure and
|
| 57 |
+
reproduction command. Submissions are manually reviewed; no model is ranked by
|
| 58 |
+
this invitation. The separate scheduling track requires structured assignments
|
| 59 |
+
and is outside this language-model adapter proposal.
|