Update README after 10BT regeneration
Browse files
README.md
CHANGED
|
@@ -1,52 +1,40 @@
|
|
| 1 |
---
|
| 2 |
configs:
|
| 3 |
-
- config_name:
|
| 4 |
data_files:
|
| 5 |
-
- split:
|
| 6 |
-
path:
|
| 7 |
- config_name: 1BT
|
| 8 |
data_files:
|
| 9 |
- split: train
|
| 10 |
path: 1BT/train-*.parquet
|
| 11 |
-
- config_name:
|
| 12 |
data_files:
|
| 13 |
-
- split:
|
| 14 |
-
path:
|
| 15 |
-
dataset_info:
|
| 16 |
-
config_name: test
|
| 17 |
-
features:
|
| 18 |
-
- name: text
|
| 19 |
-
dtype: string
|
| 20 |
-
splits:
|
| 21 |
-
- name: test
|
| 22 |
-
num_bytes: 138036
|
| 23 |
-
num_examples: 5000
|
| 24 |
-
download_size: 104821
|
| 25 |
-
dataset_size: 138036
|
| 26 |
---
|
| 27 |
|
| 28 |
# Addition Dataset
|
| 29 |
|
| 30 |
-
Addition problems in the format `{a} + {b} = {c}
|
| 31 |
-
` where operands are uniformly sampled from [0, 999999999].
|
| 32 |
|
| 33 |
## Subsets
|
| 34 |
|
| 35 |
-
- **
|
| 36 |
-
- **
|
| 37 |
-
- **
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
## Usage
|
| 40 |
|
| 41 |
```python
|
| 42 |
from datasets import load_dataset
|
| 43 |
|
| 44 |
-
# Load 1BT training data
|
| 45 |
train = load_dataset("deqing/addition_dataset", "1BT", split="train")
|
| 46 |
-
|
| 47 |
-
# Load 10BT training data
|
| 48 |
train_10b = load_dataset("deqing/addition_dataset", "10BT", split="train")
|
| 49 |
-
|
| 50 |
-
# Load test set
|
| 51 |
test = load_dataset("deqing/addition_dataset", "test", split="test")
|
| 52 |
```
|
|
|
|
| 1 |
---
|
| 2 |
configs:
|
| 3 |
+
- config_name: test
|
| 4 |
data_files:
|
| 5 |
+
- split: test
|
| 6 |
+
path: test/test-*.parquet
|
| 7 |
- config_name: 1BT
|
| 8 |
data_files:
|
| 9 |
- split: train
|
| 10 |
path: 1BT/train-*.parquet
|
| 11 |
+
- config_name: 10BT
|
| 12 |
data_files:
|
| 13 |
+
- split: train
|
| 14 |
+
path: 10BT/train-*.parquet
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
# Addition Dataset
|
| 18 |
|
| 19 |
+
Addition problems in the format `{a} + {b} = {c}` where operands have stratified digit counts (1-9 digits, uniformly sampled).
|
|
|
|
| 20 |
|
| 21 |
## Subsets
|
| 22 |
|
| 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 |
|
| 34 |
```python
|
| 35 |
from datasets import load_dataset
|
| 36 |
|
|
|
|
| 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 |
```
|