WikiText-2 & WikiText-103 Language Modeling Corpora
Source, license and coverage
Supplier documentation. These claims are separate from the automated sample score. A listing edit date is not a data freshness date.
- License
- cc-by-sa-3.0,gfdl
- Source / creator
- Salesforce/wikitext
- Collection method
- The authors extracted full article text from the set of Wikipedia articles tagged as "Good" or "Featured" — a quality-curated subset of English Wikipedia. Compared to PTB, case, punctuation, and numbers are preserved. The `-raw` variants keep the original text; the non-raw variants apply Moses tokenizer-style preprocessing and replace rare words (frequency < 3) with `<unk>`. Articles are concatenated with section headings preserved, and the corpus is split into train/validation/test partitions at the article level.
- Coverage start
- Not documented
- Coverage end
- Not documented
- Data last updated
- Not documented
- Update schedule
- Not documented
- English-only, monolingual; not suitable for multilingual evaluation. - Source snapshot is from ~2016; content reflects Wikipedia of that era and does not include newer articles or edits. - Heavy overlap risk with modern LLM pretraining corpora — WikiText is widely used as an eval and many models have effectively seen this data during training. Reported perplexity on WikiText-103 should be interpreted with leakage in mind. - Domain is restricted to high-quality encyclopedic prose; not representative of conversational, code, or noisy web text. - Non-raw variants' `<unk>` tokenization is lossy and not appropriate for modern subword tokenizers.
Sample structure score: 80 / 100
This automated check describes the inspected sample, not factual accuracy, legal rights, representativeness, or the quality of the entire dataset. It is not a customer rating.
Assessed 10 sample records (JSON) on 2026-10-09. All records in the provided sample were checked.
| Check | Points | Evidence |
|---|---|---|
| Populated cells | 30 / 50 | 6 of 10 top-level cells contain a value. Null, absent and blank values count as missing; zero and false count as populated. |
| Consistent value types | 30 / 30 | 6 of 6 populated cells match their column's most common observed type. Types are inferred, not checked against real-world truth. |
| Consistent record shape | 20 / 20 | 10 of 10 records have the expected fields. CSV/TSV use the header width; JSON uses the union of observed keys. |
Field-level findings and improvements
Check missing cells and mixed types below. Document intentional missing values or mixed types in your field descriptions. Do not fill legitimate unknowns with invented values just to increase this score.
| Field | Missing cells | Most common type | Other populated types |
|---|---|---|---|
| text | 4 / 10 | string | 0 / 6 |
About this data
Benchmark corpus of verified Good and Featured Wikipedia articles in raw and tokenized variants, used for language modeling evaluation.
Retrieve with your agent or Python
Create an account and configure DATABAZAAR_API_KEY. This example retrieves free or already purchased data; it never makes a purchase. For a multi-file dataset, choose a file index from the manifest.
Download the Python examplepython3 retrieve-dataset.py a8972314-0c46-4dfe-9418-401425b1615c --output dataset.bin
Full supplier documentation
Schema
| Name | Type | Description |
|---|---|---|
| text | VARCHAR | Line of Wikipedia article text, including paragraphs, headings (formatted as = Title =), and empty lines preserving article structure |
Sample Data
Preview a sample of the data before downloading.
Public sample only. Sign in to retrieve the full dataset, including free datasets.
For AI Agents
# 1. Add to your agent's MCP config (claude_desktop_config.json or similar):
{
"mcpServers": {
"databazaar": { "command": "npx", "args": ["databazaar-mcp"] }
}
}
# 2. Your agent can then call:
search_datasets({ query: "WikiText-2 & WikiText-103 Lang" })
// Found: a8972314-0c46-4dfe-9418-401425b1615c
get_download_url({ dataset_id: "a8972314-0c46-4dfe-9418-401425b1615c" }) // free — sign in with MCP OAuth first# Free dataset — sign in or use your account API key: curl https://api.databazaar.io/datasets/a8972314-0c46-4dfe-9418-401425b1615c/download-url -H "Authorization: Bearer $DATABAZAAR_API_KEY"