WikiText-2's Genesis: Beyond Penn Treebank's Limitations

Created by Merity et al. in 2016, WikiText-2 emerged as a more realistic language modeling benchmark, addressing the Penn Treebank's (PTB) heavy preprocessing that removed original case, punctuation, and numbers. WikiText-2 is over twice the size of PTB and preserves these features, providing a richer, more challenging dataset for models.

The top 3

  1. Penn Treebank's Top 3 Limitations for Modern LMs: The Penn Treebank, a foundational benchmark, suffered from a smaller size (around 1 million words), aggressive preprocessing that removed original case, punctuation, and replaced numbers with 'N', and a restrictive 10,000-word vocabulary that replaced all other tokens with '<unk>'. These choices hindered the evaluation of models sensitive to real-world linguistic nuances and long-term dependencies.
  2. WikiText-2's 3 Key Improvements over Penn Treebank: WikiText-2 addressed PTB's shortcomings by being over twice as large, derived from full Wikipedia articles, and crucially, preserving original case, punctuation, and numbers. It also featured a significantly larger vocabulary, making it a more realistic and robust dataset for training and evaluating language models, especially those designed to capture long-term dependencies in text.
  3. WikiText Family: The Larger Successor, WikiText-103: Building on WikiText-2's success, the WikiText-103 dataset was introduced, featuring over 100 million tokens—more than 100 times larger than Penn Treebank. Like WikiText-2, it's derived from high-quality Wikipedia articles and retains crucial linguistic features, providing an even more extensive benchmark for advanced language models requiring vast amounts of data to learn complex patterns and long-range dependencies.

Sources

Open the full topic