vynly commited on
Commit
f0b8a1d
·
verified ·
1 Parent(s): 3fbe35c

Optional NNAI-Bench evaluation guide and invitation

Browse files

Hi! I maintain [NNAI-Bench](https://huggingface.co/spaces/vynly/non-neural-ai-leaderboard), a small public benchmark for non-neural systems, and would like to invite you to participate.

Your released English KenLM checkpoints and SentencePiece tokenizer are an architectural candidate for our non-neural track. A frozen count-based language-model entry would be useful alongside the existing statistical controls and maintainer model runs.

This PR adds only an optional `NNAI_BENCH.md` guide: checkpoint/preprocessing considerations, the label-free adapter contract, pinned evaluation commands and the submission route. It changes no model code, weights, default behavior or model-card claims.

The core track has 900 four-choice test items covering arithmetic, logic, ordering, state tracking, strings and tables. It is synthetic, and both templates and labels are public. It is not a perplexity benchmark; I do not assume this model will solve its reasoning tasks. An adapter is still needed, and I have not run this checkpoint or assigned it a score.

If interested, please submit predictions via the linked form with a pinned release, complete inference/preprocessing details and training/test-exposure disclosures. Merging the guide is optional; you can participate without changing this repository. If this is outside the project's scope, feel free to close the PR.

Disclosure: I am the benchmark maintainer; this contribution was prepared with a coding assistant.

Files changed (1) hide show
  1. 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.