KlondikeDev commited on
Commit
9ff2363
·
verified ·
1 Parent(s): 3ed5532

littlerock-1M-arithmax: documented benchmark-specialization case

Browse files
README.md ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language: [en]
4
+ library_name: transformers
5
+ pipeline_tag: text-generation
6
+ tags:
7
+ - llama
8
+ - small-language-model
9
+ - benchmark-specialization
10
+ - research-artifact
11
+ datasets:
12
+ - HuggingFaceFW/fineweb-edu
13
+ - mlfoundations/dclm-baseline-1.0
14
+ ---
15
+
16
+ # littlerock-1M-arithmax
17
+
18
+ **This model is a documented failure case. Do not use it, and do not cite its
19
+ public benchmark score as evidence of arithmetic ability.**
20
+
21
+ It is [opencerebral/littlerock-1M](https://huggingface.co/opencerebral/littlerock-1M)
22
+ finetuned to maximise ArithMark-3. It succeeded on the public set and failed to
23
+ generalize, and it is published because the three-way split is an unusually clean
24
+ public example of what benchmark specialization looks like from the inside.
25
+
26
+ | ArithMark-3 set | Score | |
27
+ | --- | ---: | --- |
28
+ | Public (published set) | **40.4%** | looks strong for 1M params |
29
+ | Private held-out (memorization test) | **35.5%** | still well above the 25% chance floor |
30
+ | Private variety (specialization test) | **21.5%** | **below chance** |
31
+ | — base model, before finetuning | 25.2% | at chance |
32
+
33
+ Scores on the two private sets were measured by AxiomicLabs, who evaluate
34
+ submissions independently. On that basis the model was **declined for leaderboard
35
+ ranking**, correctly. The base model was listed instead.
36
+
37
+ ## Why this is the interesting part
38
+
39
+ Falling *below* chance is the tell. A model that had learned nothing would score
40
+ 25%. Scoring 21.5% means the finetune taught surface cues strong enough that
41
+ varied phrasing actively pulls the model toward wrong answers.
42
+
43
+ The finetune was run with a deliberate anti-contamination protocol, and the
44
+ protocol was not enough:
45
+
46
+ * No ArithMark item was trained on. It has no train split; all arithmetic
47
+ training data was generated from templates written for the project.
48
+ * Every training string was checked against an index of all 16,428 items across
49
+ all five scoring splits — exact context, exact context+ending, and 13-gram
50
+ overlap. The guard caught 200/200 real ArithMark items, 200/200 HellaSwag,
51
+ 200/200 PIQA and 100/100 case/punctuation-edited variants in control tests, and
52
+ dropped 221 genuine collisions from the corpus.
53
+ * Checkpoints were selected on a held-out dev set, never on the benchmark.
54
+ * The arithmetic dev set held out entire *template families*, not just instances,
55
+ specifically to detect memorization. It reported **36.9%**.
56
+
57
+ The independent variety set reported **21.5%**. That is a ~15-point error in the
58
+ project's own estimate of its own generalization, and the cause is structural:
59
+ the same author wrote both the training templates and the held-out ones, so they
60
+ shared number ranges, unit phrasing and sentence rhythm. **A held-out split cannot
61
+ detect distribution-level specialization when you authored both sides of it.**
62
+
63
+ An earlier iteration was worse: dev 87.9% against a same-template dev set, 26.9%
64
+ on the real benchmark — a 61-point gap. Holding out template families narrowed
65
+ that but did not close it.
66
+
67
+ ## Per-topic breakdown (public set)
68
+
69
+ The profile looked like genuine partial skill, which is why it was convincing:
70
+
71
+ | Topic | Score | Covered by the generator? |
72
+ | --- | ---: | --- |
73
+ | division | 72.2 | yes |
74
+ | multiplication | 56.8 | yes |
75
+ | subtraction | 48.7 | yes |
76
+ | addition | 39.8 | yes |
77
+ | patterns | 13.2 | no |
78
+ | fractions: counting | 24.0 | no |
79
+ | two-step add/subtract | 15.2 | yes, did not transfer |
80
+
81
+ High on covered topics, at or below chance on uncovered ones — the opposite of
82
+ what contamination produces. This was used as evidence that the ability was real.
83
+ It was evidence that the ability was *not memorized from the test set*, which is a
84
+ weaker claim than it appears, and not the same as being able to do arithmetic.
85
+
86
+ ## Takeaway
87
+
88
+ Benchmark specialization can survive a rigorous contamination audit, honest
89
+ dev-set selection, and a plausible-looking capability profile. Detecting it
90
+ requires evaluation data the model's author did not write. Private variety sets
91
+ work; self-authored held-out splits do not.
92
+
93
+ Training details, architecture and limitations are otherwise identical to
94
+ [the base model](https://huggingface.co/opencerebral/littlerock-1M).
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LlamaForCausalLM"
4
+ ],
5
+ "model_type": "llama",
6
+ "hidden_size": 96,
7
+ "intermediate_size": 224,
8
+ "num_hidden_layers": 6,
9
+ "num_attention_heads": 6,
10
+ "num_key_value_heads": 6,
11
+ "head_dim": 16,
12
+ "vocab_size": 4096,
13
+ "max_position_embeddings": 512,
14
+ "rms_norm_eps": 1e-05,
15
+ "rope_theta": 10000.0,
16
+ "rope_scaling": null,
17
+ "hidden_act": "silu",
18
+ "attention_bias": false,
19
+ "attention_dropout": 0.0,
20
+ "mlp_bias": false,
21
+ "tie_word_embeddings": true,
22
+ "initializer_range": 0.02,
23
+ "use_cache": true,
24
+ "torch_dtype": "float32",
25
+ "bos_token_id": 0,
26
+ "eos_token_id": 0,
27
+ "pad_token_id": 0
28
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 0,
3
+ "eos_token_id": 0,
4
+ "pad_token_id": 0,
5
+ "max_length": 512
6
+ }
littlerock_config.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run_name": "littlerock-1M",
3
+ "model": {
4
+ "n_layer": 6,
5
+ "n_head": 6,
6
+ "n_embd": 96,
7
+ "ffn_hidden": 224,
8
+ "block_size": 512,
9
+ "vocab_size": 4096,
10
+ "rope_theta": 10000.0,
11
+ "rms_norm_eps": 1e-05,
12
+ "dropout": 0.0,
13
+ "tie_weights": true
14
+ },
15
+ "data": {
16
+ "total_train_tokens": 5000000000,
17
+ "mixture": {
18
+ "fineweb-edu": 0.4,
19
+ "dclm": 0.6
20
+ },
21
+ "val_tokens_per_source": 5000000,
22
+ "sources": {
23
+ "fineweb-edu": {
24
+ "repo_id": "HuggingFaceFW/fineweb-edu",
25
+ "text_column": "text",
26
+ "glob": "data/*/*.parquet"
27
+ },
28
+ "dclm": {
29
+ "repo_id": "mlfoundations/dclm-baseline-1.0-parquet",
30
+ "text_column": "text",
31
+ "glob": "filtered/*/*/*/*/*/*.parquet"
32
+ }
33
+ },
34
+ "shard_shuffle_seed": 1234,
35
+ "dtype": "uint16",
36
+ "tokenize_workers": 0
37
+ },
38
+ "tokenizer": {
39
+ "vocab_size": 4096,
40
+ "dir": "tokenizer",
41
+ "train_docs_per_source": 200000,
42
+ "special_tokens": [
43
+ "<|endoftext|>"
44
+ ],
45
+ "byte_fallback": true
46
+ },
47
+ "train": {
48
+ "target_tokens_per_step": 262144,
49
+ "micro_batch_size": 256,
50
+ "max_lr": 0.003,
51
+ "min_lr": 0.0003,
52
+ "warmup_tokens": 50000000,
53
+ "weight_decay": 0.1,
54
+ "beta1": 0.9,
55
+ "beta2": 0.95,
56
+ "eps": 1e-08,
57
+ "grad_clip": 1.0,
58
+ "autocast_dtype": "bfloat16",
59
+ "compile": true,
60
+ "compile_mode": "default",
61
+ "fused_adam": true,
62
+ "tf32": true,
63
+ "loader_chunk_tokens": 256000000,
64
+ "log_interval": 10,
65
+ "eval_interval": 500,
66
+ "eval_iters": 50,
67
+ "checkpoint_interval": 500,
68
+ "keep_last_checkpoints": 3,
69
+ "seed": 1337,
70
+ "gpu_peak_flops": 51000000000000.0
71
+ }
72
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6374fe580b3449b446841886e546db3b6b60064d6f5bc0eb238ed40997ddcc76
3
+ size 4016776
special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|endoftext|>",
3
+ "eos_token": "<|endoftext|>",
4
+ "pad_token": "<|endoftext|>"
5
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tokenizer_class": "PreTrainedTokenizerFast",
3
+ "model_max_length": 512,
4
+ "bos_token": "<|endoftext|>",
5
+ "eos_token": "<|endoftext|>",
6
+ "unk_token": null,
7
+ "pad_token": "<|endoftext|>",
8
+ "clean_up_tokenization_spaces": false,
9
+ "added_tokens_decoder": {
10
+ "0": {
11
+ "content": "<|endoftext|>",
12
+ "special": true,
13
+ "normalized": false,
14
+ "lstrip": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ }
18
+ }
19
+ }