109 MB
4 files
Updated 3 months ago
Name
Size
.gitattributes2.46 kB
xet
README.md1.45 kB
xet
train.jsonl.zst86.8 MB
xet
validation.jsonl.zst21.9 MB
xet
README.md

C4 English Tokenized Samples

This dataset contains tokenized English samples from the C4 (Colossal Clean Crawled Corpus) dataset for natural language processing (NLP) tasks.

The first 125 000 entries from the en split of allenai/c4 were tokenized using spaCy's en_core_web_sm model. Tokens joined with spaces.

Features

  • text: Original text from C4
  • tokenized: The tokenized and space-joined text
  • num_tokens: Number of tokens after tokenization
  • num_punct_tokens: Number of punctuation tokens after tokenization

Example

{
  "text": "ALDUS MANUTIUS AND HIS THESAURUS CORNUCOPIAE OF 1496.\nSyracuse (1958) . 7.5 x 4.25, cloth, 32 pp, a v.g. copy [...]",
  "tokenized": "ALDUS MANUTIUS AND HIS THESAURUS CORNUCOPIAE OF 1496 . \n Syracuse ( 1958 ) . 7.5 x 4.25 , cloth , 32 pp , a v.g . copy [...]",
  "num_tokens": 84,
  "num_punct_tokens": 19
}

Usage

This dataset can be useful for:

  • Text classification tasks
  • Language modeling
  • Sentiment analysis
  • Other NLP applications requiring tokenized English text

Researchers and developers can use this dataset to jumpstart their projects without the need for initial tokenization steps.

Licence

This dataset is licensed under the ODC-BY (Open Data Commons Attribution) licence.

Total size
109 MB
Files
4
Last updated
Jul 23
Pre-warmed CDN
US EU US EU

Contributors