Enwik8 is commonly split into 90M, 5M, 5M consecutive bytes. This is done in the Transformer-XL [codebase](https://github.com/kimiyoung/transformer-xl/blob/44781ed21dbaec88b280f74d9ae2877f52b492a5/getdata.sh#L34), and is additionally mentioned
in the Sparse Transformers [paper](https://arxiv.org/abs/1904.10509) and the Compressive Transformers [paper](https://arxiv.org/abs/1911.05507). This split is nearly universal among language modeling papers.
Currently, one may obtain the splits by manual wrangling of the data yielded by the enwik8-raw BuilderConfig.
However, this undermines the seamless functionality of the library: one must slice the single raw example, extract it
into three tensors, and wrap each in a separate dataset.
This becomes even more of a nuisance if using the current Enwik8 HuggingFace dataset as a TfdsDataSource with SeqIO,
where a pipeline of preprocessors is typically included in a SeqIO Task definition, to be applied immediately after loading with TFDS.
S…
Convert missing dataset sizes from base 2 to base 10 in the dataset card (#3)
* language(s) and license(s) for consistency
* `licenses:` => `license:`
* `languages:` => `language:`
* backward-compat
* make style
* set default values for deprecated languages and licenses
Co-authored-by: Quentin Lhoest <lhoest.q@gmail.com>
Commit from https://github.com/huggingface/datasets/commit/a5192964dc4b76ee5c03593c11ee56f29bbd688d
Adding dataset enwik8 (#4321)
Patrick Haller
e34d040
* Adding dataset enwik8
* Add missing sections to README, using only one source and split in data
loader
* Formatting
* Update datasets/enwik8/README.md
Co-authored-by: Quentin Lhoest <42851186+lhoestq@users.noreply.github.com>
* Update datasets/enwik8/README.md
Co-authored-by: Quentin Lhoest <42851186+lhoestq@users.noreply.github.com>
* Update datasets/enwik8/README.md
Co-authored-by: Quentin Lhoest <42851186+lhoestq@users.noreply.github.com>
* Update datasets/enwik8/README.md
Co-authored-by: Quentin Lhoest <42851186+lhoestq@users.noreply.github.com>
* Update datasets/enwik8/README.md
Co-authored-by: Quentin Lhoest <42851186+lhoestq@users.noreply.github.com>
* Update datasets/enwik8/README.md
Co-authored-by: Quentin Lhoest <42851186+lhoestq@users.noreply.github.com>
* Adding dummy data for enwik8 dataset
* Updating zip files to pass tests
* Apply suggestions from code review
Co-authored-by: Quentin Lhoest <42851186+lhoestq@users.noreply.github.com>
Commit from http…