Add 5MT-3digit config to dataset card
Browse files
README.md
CHANGED
|
@@ -12,6 +12,12 @@ configs:
|
|
| 12 |
data_files:
|
| 13 |
- split: train
|
| 14 |
path: 10BT/train-*.parquet
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
# Addition Dataset
|
|
@@ -23,11 +29,13 @@ Addition problems in the format `{a} + {b} = {c}` where operands have stratified
|
|
| 23 |
- **test**: 5K held-out evaluation examples (operands >= 10, i.e. min 2 digits)
|
| 24 |
- **1BT**: ~85M training examples (~1 billion tokens under Llama-3 tokenizer)
|
| 25 |
- **10BT**: ~850M training examples (~10 billion tokens)
|
|
|
|
| 26 |
|
| 27 |
## Deduplication
|
| 28 |
|
| 29 |
- Commutative dedup: if `a + b = c` exists, `b + a = c` is excluded
|
| 30 |
- Test exclusion: both orderings of test-set pairs are excluded from train splits
|
|
|
|
| 31 |
|
| 32 |
## Usage
|
| 33 |
|
|
@@ -37,4 +45,8 @@ from datasets import load_dataset
|
|
| 37 |
train = load_dataset("deqing/addition_dataset", "1BT", split="train")
|
| 38 |
train_10b = load_dataset("deqing/addition_dataset", "10BT", split="train")
|
| 39 |
test = load_dataset("deqing/addition_dataset", "test", split="test")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
```
|
|
|
|
| 12 |
data_files:
|
| 13 |
- split: train
|
| 14 |
path: 10BT/train-*.parquet
|
| 15 |
+
- config_name: 5MT-3digit
|
| 16 |
+
data_files:
|
| 17 |
+
- split: train
|
| 18 |
+
path: 5MT-3digit/train-*.parquet
|
| 19 |
+
- split: test
|
| 20 |
+
path: 5MT-3digit/test-*.parquet
|
| 21 |
---
|
| 22 |
|
| 23 |
# Addition Dataset
|
|
|
|
| 29 |
- **test**: 5K held-out evaluation examples (operands >= 10, i.e. min 2 digits)
|
| 30 |
- **1BT**: ~85M training examples (~1 billion tokens under Llama-3 tokenizer)
|
| 31 |
- **10BT**: ~850M training examples (~10 billion tokens)
|
| 32 |
+
- **5MT-3digit**: Exhaustive 3-digit addition (all 900x900 = 810K ordered pairs, ~5.35M tokens). Symmetry-safe train/test split (10% test).
|
| 33 |
|
| 34 |
## Deduplication
|
| 35 |
|
| 36 |
- Commutative dedup: if `a + b = c` exists, `b + a = c` is excluded
|
| 37 |
- Test exclusion: both orderings of test-set pairs are excluded from train splits
|
| 38 |
+
- 5MT-3digit: both orderings always in the same split (no commutative leakage)
|
| 39 |
|
| 40 |
## Usage
|
| 41 |
|
|
|
|
| 45 |
train = load_dataset("deqing/addition_dataset", "1BT", split="train")
|
| 46 |
train_10b = load_dataset("deqing/addition_dataset", "10BT", split="train")
|
| 47 |
test = load_dataset("deqing/addition_dataset", "test", split="test")
|
| 48 |
+
|
| 49 |
+
# 3-digit exhaustive
|
| 50 |
+
train_3d = load_dataset("deqing/addition_dataset", "5MT-3digit", split="train")
|
| 51 |
+
test_3d = load_dataset("deqing/addition_dataset", "5MT-3digit", split="test")
|
| 52 |
```
|