Datasets:
Add dataset card
Browse files
README.md
CHANGED
|
@@ -1,35 +1,34 @@
|
|
|
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
dtype:
|
| 8 |
-
class_label:
|
| 9 |
-
names:
|
| 10 |
-
'0': neg
|
| 11 |
-
'1': pos
|
| 12 |
-
- name: id
|
| 13 |
-
dtype: string
|
| 14 |
-
splits:
|
| 15 |
-
- name: train
|
| 16 |
-
num_bytes: 34332823
|
| 17 |
-
num_examples: 25000
|
| 18 |
-
- name: dev
|
| 19 |
-
num_bytes: 20110375
|
| 20 |
-
num_examples: 15000
|
| 21 |
-
- name: test
|
| 22 |
-
num_bytes: 13440310
|
| 23 |
-
num_examples: 10000
|
| 24 |
-
download_size: 42966275
|
| 25 |
-
dataset_size: 67883508
|
| 26 |
-
configs:
|
| 27 |
-
- config_name: default
|
| 28 |
-
data_files:
|
| 29 |
-
- split: train
|
| 30 |
-
path: data/train-*
|
| 31 |
-
- split: dev
|
| 32 |
-
path: data/dev-*
|
| 33 |
-
- split: test
|
| 34 |
-
path: data/test-*
|
| 35 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
---
|
| 3 |
+
license: mit
|
| 4 |
+
tags:
|
| 5 |
+
- imdb
|
| 6 |
+
- sentiment
|
| 7 |
+
- subset
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
+
This dataset contains the original IMDB train split plus balanced dev and test splits derived from the IMDB test set.
|
| 10 |
+
|
| 11 |
+
### Generation Command
|
| 12 |
+
```bash
|
| 13 |
+
python take_split.py --target_dataset imdb-dev-test-split --dev_size 15000 --test_size 10000 --seed 42 --private
|
| 14 |
+
```
|
| 15 |
+
|
| 16 |
+
## Dataset Splits
|
| 17 |
+
|
| 18 |
+
- Train: 25000 samples (label distribution: {0: 12500, 1: 12500})
|
| 19 |
+
- Dev: 15000 samples (label distribution: {0: 7500, 1: 7500})
|
| 20 |
+
- Test: 10000 samples (label distribution: {0: 5000, 1: 5000})
|
| 21 |
+
- Seed: 42
|
| 22 |
+
|
| 23 |
+
## Notes
|
| 24 |
+
|
| 25 |
+
- Source: [imdb](https://huggingface.co/datasets/imdb)
|
| 26 |
+
- Train split is the original unmodified IMDB train set (25k samples)
|
| 27 |
+
- Dev and test are carved from the original IMDB test set (25k samples)
|
| 28 |
+
- Dev and test are both label-balanced (50% positive / 50% negative)
|
| 29 |
+
- Each document has a unique MD5 hash ID derived from its text content
|
| 30 |
+
- Dataset passed determinism sanity check before upload
|
| 31 |
+
|
| 32 |
+
## License
|
| 33 |
+
|
| 34 |
+
See original dataset (MIT)
|