AIAny
Icon for item

WikiText

Curated English Wikipedia text prepared for language-model training and evaluation, provided in WikiText-2 and WikiText-103 variants. Preserves original case, punctuation and numbers; offers raw and tokenized splits for long-range language modeling under a CC BY‑SA license.

Introduction

The core insight: WikiText packages verified Good and Featured Wikipedia articles into researcher-friendly train/validation/test splits so models can learn and be evaluated on long-range, natural encyclopedia text rather than short, heavily preprocessed corpora.

What Sets It Apart
  • Full-article source: built from Good and Featured Wikipedia articles, yielding over 100 million tokens across configurations, which helps models learn longer-term dependencies compared with heavily truncated corpora. This is why WikiText-103 is ~110× larger than the classic PTB corpus and WikiText-2 is >2× larger.
  • Two scales and two variants: offered as WikiText-2 and WikiText-103, each with “raw” (original tokens) and non-raw (vocabulary-limited with <unk> substitution) versions, letting you choose between character/byte-level and word-level experiments.
  • Practical dataset metadata: explicit train/validation/test splits (e.g., wikitext-103 train: 1,801,350 examples; validation: 3,760; test: 4,358; wikitext-2 train: 36,718 examples) and measured download/generated sizes make budgeting and benchmarking easier.
  • Minimal preprocessing: preserves case, punctuation and numbers to better reflect real-world text distributions used in language modeling.
Who It's For and Tradeoffs

Great fit if you need an English-language benchmark for language-model pretraining, perplexity evaluation, or experiments that rely on long-range context (researchers comparing architectures or sequence lengths). Look elsewhere if you need domain-specific, multilingual, or privacy-filtered corpora—WikiText is encyclopedia text and inherits topical and stylistic biases of Wikipedia. Also note the licensing (CC BY‑SA / GFDL) requires attribution and share‑alike considerations for derivative datasets or commercial redistribution.

Where It Fits

Use WikiText for baseline LM training, ablation studies on context length, or masked/language-modeling benchmarks. For large-scale production pretraining you may combine it with web-scale crawls or domain data; for low-resource languages or non-encyclopedic domains, choose more targeted corpora instead.

Information

  • Websitehuggingface.co
  • OrganizationsSalesforce
  • AuthorsStephen Merity, Caiming Xiong, James Bradbury, Richard Socher
  • Published date2022/03/02

Categories

More Items

Hugging Face

Provides reference audio for zero-shot speech synthesis, with 3,713 short clips and exact transcripts. Most are character performances from LibriVox dramatic readings, with labels for voice traits and delivery.

Hugging Face

Maps Quranic verses to phones annotated with tajweed rules for the Hafs 'an 'Asim reading, including permitted length ranges, nasalization, and emphasis. A reference dataset for Quranic speech and text-to-speech research.

Hugging Face

Evaluates video-generation pipelines using editable Blender previsualizations, with three levels of scene detail and separate assessments for proxy construction, video conditioning, and final results.