Datasets:

Modalities:
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
Dask
File size: 3,031 Bytes
8143770
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ffa2c38
5b580f2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22ee7ea
5b580f2
 
 
 
 
 
 
 
 
d68a67a
5b580f2
846b837
5b580f2
 
 
d68a67a
5b580f2
 
 
7fa3985
5b580f2
 
 
cbe6e9c
 
d68a67a
5b580f2
 
 
 
 
 
 
 
 
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
---
dataset_info:
  features:
  - name: TEXT
    dtype: string
  splits:
  - name: train
    num_bytes: 4537675604
    num_examples: 9081490
  - name: validation
    num_bytes: 50107745
    num_examples: 100000
  - name: test
    num_bytes: 50134861
    num_examples: 100000
  download_size: 3052451421
  dataset_size: 4637918210
---

# Dataset Card for constrained_language (pre-training data for simplified English)

## Table of Contents
- [Dataset Description](#dataset-description)
  - [Dataset Summary](#dataset-summary)
  - [Languages](#languages)
- [Dataset Structure](#dataset-structure)
  - [Data Instances](#data-instances)
- [Citation Information](#additional-information)
  - [Citation Information](#citation-information)


## Dataset Description

- **Paper: https://arxiv.org/abs/2305.17266**
- **Point of Contact: vijeta_deshpande@student.uml.edu**

### Dataset Summary

This dataset is one of the two datasets published by "Honey, I Shrunk the Language: Language Model Behavior at Reduced Scale" (https://arxiv.org/abs/2305.17266). 
The dataset available at this link is the pre-training data constrained by vocabulary. The other published data i.e. the pre-training data that is not constrained by vocabulary is available at https://huggingface.co/datasets/text-machine-lab/unconstrained_language.

The vocabulary used for curating the data is constructed from the AOChildes corpus (https://www.sciencedirect.com/science/article/abs/pii/S0079742121000256). The AOChildes corpus consists of transcripts of child-directed speech. Hence, the vocabulary constructed from AOChildes corpus consists of words spoken or heard by children of age six years or younger.

The vocabulary is then used to filter the widely used text corpora, 
- C4: https://arxiv.org/abs/1910.10683,
- BookCorpus: https://ieeexplore.ieee.org/document/7410368,
- Wikipedia: https://huggingface.co/datasets/wikipedia,
- Simplified-Wikipedia: https://simple.wikipedia.org/wiki/Main_Page,
- Children's Book Test Corpus: https://arxiv.org/abs/1511.02301

From the above corpora, only those spans are included that contain words only from the predefined vocabulary. The dataset includes 44 million sentences (~6 million sequences, each with ~128 tokens) and 3 million contiguous spans (each with ~128 tokens). Refer to Table 1 of the paper for data distribution over different corpora.

### Languages

The dataset contains the English language only.

## Dataset Structure

The dataset is available in the arrow dataset format with three splits namely, train, validation, and test. Every data instance has only one key "Text" that included a text span of approximately 128 tokens.

### Citation Information

If this dataset is useful to you please cite our work.

```sh
@article{deshpande2023honey,
  title={Honey, I Shrunk the Language: Language Model Behavior at Reduced Scale},
  author={Deshpande, Vijeta and Pechi, Dan and Thatte, Shree and Lialin, Vladislav and Rumshisky, Anna},
  journal={arXiv preprint arXiv:2305.17266},
  year={2023}
}
```