File size: 5,115 Bytes
4faf2f9 2c1d75a 4faf2f9 2c1d75a 4faf2f9 2c1d75a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 | ---
dataset_info:
- config_name: brak
features:
- name: prompt
dtype: string
- name: target
dtype: string
splits:
- name: train
num_examples: varies_by_bucket
- name: test
num_examples: varies_by_bucket
- config_name: stroph7
features:
- name: prompt
dtype: string
- name: target
dtype: string
splits:
- name: train
num_examples: 1000
- name: test
num_examples: 500
configs:
- config_name: brak
data_files:
- split: train
path: "brak/brak_b*_train.json"
- split: test
path: "brak/brak_b*_test.json"
- config_name: stroph7
data_files:
- split: train
path: "stroph-7/stroph7_train.json"
- split: test
path: "stroph-7/stroph7_test.json"
license: cc-by-sa-4.0
task_categories:
- text-generation
- text-classification
language:
- en
tags:
- benchmark
- adaptability
- plasticity
- fine-tuning
- synthetic
- rule-following
---
# BEAP Datasets — BRAK & Stroph-7
This repository contains the datasets for the **Benchmark for Empirical Adaptability and Plasticity (BEAP)**. BEAP measures two distinct capabilities in language models:
- **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.
- **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.
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.
---
## Datasets
### BRAK
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:
| Bucket | Focus |
|--------|-------|
| 1 | SOV statements, basic verb forms |
| 2 | Verb suffixes (`ok`, `em`, `ith`, `vu`, `al`) |
| 3 | Variable assignment (`>>`), conditional branching (`iff`) |
| 4 | Function definitions (`func`) |
| 5 | Pipelines (`~~`), anonymous functions (`lam`) |
| 6 | Tentative/imperative bracket semantics |
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`).
**File sizes per bucket:**
| Bucket | Train | Test | CF probe |
|--------|-------|------|----------|
| 1–2 | 500 | 100 | 50 |
| 3–4 | 750 | 150 | 50 |
| 5–6 | 1000 | 200 | 50 |
---
### Stroph-7
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.
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`).
---
## Data Format
**Generation mode** items:
```json
{
"prompt": "Write a Stroph-7 poem.\n\nRules:\n...",
"target": "<valid poem or BRAK program>",
"params": { ... }
}
```
**Recognition mode** items:
```json
{
"prompt": "Below are four poems / programs ... Which is fully valid?",
"correct_label": "B",
"options": {
"A": { "text": "...", "violation": "word_count" },
"B": { "text": "...", "violation": null },
...
}
}
```
---
## Intended Use
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.
---
## Generation
All data is fully synthetic and deterministically reproducible. Fixed seeds are used throughout:
| Split | Seed |
|-------|------|
| Stroph-7 train | 0 |
| Stroph-7 test | 10000 |
| BRAK train | 42 |
| BRAK test | 99000 |
| BRAK CF probe | 55000 |
To regenerate:
```bash
python beap.py --generate --data-dir ./beap_data
```
---
## Citation
If you use these datasets, please cite:
```
@misc{beap2026,
title = {BEAP: Benchmark for Empirical Adaptability and Plasticity},
author = {Buisman, Michiel},
year = {2026},
url = {https://huggingface.co/datasets/MichielBuisman/beap-data}
}
```
|