MichielBuisman commited on
Commit
2c1d75a
·
verified ·
1 Parent(s): 4faf2f9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +157 -0
README.md CHANGED
@@ -1,3 +1,160 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  license: cc-by-sa-4.0
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ dataset_info:
3
+ - config_name: brak
4
+ features:
5
+ - name: prompt
6
+ dtype: string
7
+ - name: target
8
+ dtype: string
9
+ splits:
10
+ - name: train
11
+ num_examples: varies_by_bucket
12
+ - name: test
13
+ num_examples: varies_by_bucket
14
+ - config_name: stroph7
15
+ features:
16
+ - name: prompt
17
+ dtype: string
18
+ - name: target
19
+ dtype: string
20
+ splits:
21
+ - name: train
22
+ num_examples: 1000
23
+ - name: test
24
+ num_examples: 500
25
+ configs:
26
+ - config_name: brak
27
+ data_files:
28
+ - split: train
29
+ path: "brak/brak_b*_train.json"
30
+ - split: test
31
+ path: "brak/brak_b*_test.json"
32
+ - config_name: stroph7
33
+ data_files:
34
+ - split: train
35
+ path: "stroph-7/stroph7_train.json"
36
+ - split: test
37
+ path: "stroph-7/stroph7_test.json"
38
  license: cc-by-sa-4.0
39
+ task_categories:
40
+ - text-generation
41
+ - text-classification
42
+ language:
43
+ - en
44
+ tags:
45
+ - benchmark
46
+ - adaptability
47
+ - plasticity
48
+ - fine-tuning
49
+ - synthetic
50
+ - rule-following
51
  ---
52
+
53
+ # BEAP Datasets — BRAK & Stroph-7
54
+
55
+ This repository contains the datasets for the **Benchmark for Empirical Adaptability and Plasticity (BEAP)**. BEAP measures two distinct capabilities in language models:
56
+
57
+ - **Adaptability** (via the LES sub-benchmark): how quickly and efficiently a model can acquire new structured knowledge using LoRA fine-tuning across ranks 0–128.
58
+ - **Plasticity** (via the PHS sub-benchmark): how well a model retains prior learning while integrating new knowledge through full fine-tuning across six progressive difficulty buckets.
59
+
60
+ Both datasets exist in two evaluation modes: **Generation (G)**, where the model must produce valid outputs, and **Recognition (R)**, where it must identify the valid option in a multiple-choice setting.
61
+
62
+ ---
63
+
64
+ ## Datasets
65
+
66
+ ### BRAK
67
+
68
+ BRAK is a synthetic programming language with a fixed grammar: Subject–Object–Verb sentence order, mandatory verb suffixes, and an asymmetric bracket system (`)(`, `][`, `}{`) that encodes certainty levels through a rock-paper-scissors-style logic. Tasks are organised into six difficulty buckets:
69
+
70
+ | Bucket | Focus |
71
+ |--------|-------|
72
+ | 1 | SOV statements, basic verb forms |
73
+ | 2 | Verb suffixes (`ok`, `em`, `ith`, `vu`, `al`) |
74
+ | 3 | Variable assignment (`>>`), conditional branching (`iff`) |
75
+ | 4 | Function definitions (`func`) |
76
+ | 5 | Pipelines (`~~`), anonymous functions (`lam`) |
77
+ | 6 | Tentative/imperative bracket semantics |
78
+
79
+ Each bucket includes `train`, `test`, and `cf_probe` splits. The CF (catastrophic forgetting) probes are used in PHS to measure retention of earlier buckets after training on later ones. Recognition mode files follow the same naming convention with an `_r_` infix (e.g. `brak_r_b3_train.json`).
80
+
81
+ **File sizes per bucket:**
82
+
83
+ | Bucket | Train | Test | CF probe |
84
+ |--------|-------|------|----------|
85
+ | 1–2 | 500 | 100 | 50 |
86
+ | 3–4 | 750 | 150 | 50 |
87
+ | 5–6 | 1000 | 200 | 50 |
88
+
89
+ ---
90
+
91
+ ### Stroph-7
92
+
93
+ Stroph-7 is a synthetic constrained poetry format. Each poem consists of three strophes of four lines each, subject to multiple simultaneous constraints: line word counts (7 / 5 / 7 / 5), an ordered digit sequence across the six long lines (1–6), per-strophe anchor words at line 4, strophe-initial alliteration, and the presence of at least one nature-lexicon word per strophe.
94
+
95
+ The dataset contains 1,000 training examples and 500 test examples in Generation mode. Recognition mode provides multiple-choice items where exactly one of four poems satisfies all constraints, with the three distractors each containing a different injected violation (`word_count`, `digit_missing`, `digit_order`, `anchor_wrong`, `alliteration`, or `nature_absent`).
96
+
97
+ ---
98
+
99
+ ## Data Format
100
+
101
+ **Generation mode** items:
102
+ ```json
103
+ {
104
+ "prompt": "Write a Stroph-7 poem.\n\nRules:\n...",
105
+ "target": "<valid poem or BRAK program>",
106
+ "params": { ... }
107
+ }
108
+ ```
109
+
110
+ **Recognition mode** items:
111
+ ```json
112
+ {
113
+ "prompt": "Below are four poems / programs ... Which is fully valid?",
114
+ "correct_label": "B",
115
+ "options": {
116
+ "A": { "text": "...", "violation": "word_count" },
117
+ "B": { "text": "...", "violation": null },
118
+ ...
119
+ }
120
+ }
121
+ ```
122
+
123
+ ---
124
+
125
+ ## Intended Use
126
+
127
+ These datasets are intended for use with the BEAP benchmark runner (`beap.py`). They are not natural-language corpora and are not suitable for pre-training or general language modelling. Their value is specifically in measuring structured rule acquisition and retention under fine-tuning.
128
+
129
+ ---
130
+
131
+ ## Generation
132
+
133
+ All data is fully synthetic and deterministically reproducible. Fixed seeds are used throughout:
134
+
135
+ | Split | Seed |
136
+ |-------|------|
137
+ | Stroph-7 train | 0 |
138
+ | Stroph-7 test | 10000 |
139
+ | BRAK train | 42 |
140
+ | BRAK test | 99000 |
141
+ | BRAK CF probe | 55000 |
142
+
143
+ To regenerate:
144
+ ```bash
145
+ python beap.py --generate --data-dir ./beap_data
146
+ ```
147
+
148
+ ---
149
+
150
+ ## Citation
151
+
152
+ If you use these datasets, please cite:
153
+ ```
154
+ @misc{beap2026,
155
+ title = {BEAP: Benchmark for Empirical Adaptability and Plasticity},
156
+ author = {Buisman, Michiel},
157
+ year = {2026},
158
+ url = {https://huggingface.co/datasets/MichielBuisman/beap-data}
159
+ }
160
+ ```