Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
input_ids
listlengths
1.02k
1.02k
attention_mask
listlengths
1.02k
1.02k
[ 50256, 13924, 12, 559, 12, 35784, 11, 25051, 357, 18474, 8, 1377, 45591, 4970, 11, 1319, 44556, 287, 2356, 290, 44787, 379, 1204, 11, 7342, 7519, 290, 20669, 2513, 1497, 422, 257, 2214, 4436, 3217, 1755, 706, 257, 21402, 3315, 1074, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 50256, 3236, 3146, 286, 6686, 13, 383, 15760, 11, 900, 510, 739, 1811, 29804, 11, 373, 257, 11858, 437, 284, 262, 1178, 508, 547, 9670, 284, 423, 587, 3181, 612, 13, 198, 198, 9781, 1202, 5407, 19090, 13, 5215, 13, 9223, 741, 8835, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 50256, 447, 247, 82, 19975, 286, 1301, 447, 247, 82, 2450, 6116, 14846, 588, 257, 12714, 286, 7159, 284, 1282, 13, 198, 198, 447, 250, 2215, 356, 3285, 257, 4540, 329, 1893, 869, 329, 262, 38185, 510, 286, 1105, 1510, 7971, 11, 1947...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 50256, 9591, 11, 18655, 76, 31920, 11, 257, 2605, 12525, 13, 31920, 447, 247, 82, 7546, 10109, 423, 5710, 284, 477, 12, 2435, 34119, 10371, 36512, 625, 257, 1644, 4395, 290, 1524, 3542, 654, 11, 290, 465, 11533, 351, 5510, 1605, 4446,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 50256, 11, 355, 22309, 7212, 4424, 75, 2630, 11, 366, 15344, 82, 503, 339, 4001, 339, 1549, 307, 8680, 284, 465, 898, 3809, 13, 2750, 262, 886, 286, 262, 30681, 1785, 11, 1770, 13, 2486, 550, 9635, 329, 15136, 2431, 1377, 5193, 2431...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 50256, 21639, 3006, 11, 3296, 49206, 34767, 618, 511, 4004, 21580, 4120, 287, 257, 2647, 2008, 13, 1736, 463, 1843, 3337, 2492, 447, 247, 83, 772, 257, 3860, 1336, 1865, 13, 198, 198, 1722, 262, 14359, 6364, 21050, 284, 5339, 11, 262,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 50256, 1266, 287, 6983, 1461, 13, 8989, 11, 355, 262, 10010, 8391, 11, 262, 845, 1103, 2126, 326, 1123, 2888, 561, 17777, 2672, 762, 6820, 2376, 12657, 5699, 13, 887, 340, 1422, 447, 247, 83, 2300, 851, 611, 428, 373, 26746, 33, 155...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 50256, 2695, 373, 407, 36102, 11, 25304, 393, 40557, 11, 339, 531, 13, 564, 250, 5246, 13, 41414, 559, 318, 1290, 1165, 12661, 284, 1975, 428, 284, 307, 523, 13, 447, 251, 383, 42464, 635, 7763, 257, 6454, 38258, 8408, 286, 257, 376...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 50256, 11, 340, 447, 247, 82, 534, 9040, 13, 8734, 262, 5129, 2427, 286, 12225, 290, 407, 1804, 1997, 670, 1327, 290, 2648, 262, 5129, 11, 447, 251, 1139, 40766, 13109, 13, 50256, 8888, 11, 20182, 3414, 2458, 287, 12353, 447, 247, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 50256, 11, 262, 1923, 1028, 2258, 4969, 1625, 355, 645, 5975, 13, 7148, 2269, 364, 11, 257, 31335, 5887, 329, 955, 24313, 351, 1998, 287, 262, 2351, 4765, 7732, 11, 1297, 7320, 22167, 326, 10075, 4560, 588, 262, 530, 1028, 2258, 4969,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 50256, 547, 788, 1021, 12, 16760, 351, 6588, 13608, 13, 26386, 584, 3354, 547, 3562, 287, 262, 37292, 1430, 42482, 11, 878, 852, 513, 35, 10398, 13, 198, 198, 464, 3463, 2994, 1430, 318, 3257, 25, 1318, 447, 247, 82, 645, 5852, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 50256, 262, 1266, 326, 339, 1718, 883, 24205, 1039, 866, 13, 2293, 477, 11, 7288, 4206, 612, 389, 645, 1263, 29206, 418, 287, 262, 1578, 1829, 3845, 13, 50256, 8086, 1463, 0, 770, 1705, 373, 3199, 319, 262, 1468, 2196, 286, 262, 305...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 50256, 12235, 8227, 1839, 447, 247, 83, 1745, 262, 1637, 851, 340, 447, 247, 297, 655, 1560, 606, 703, 881, 1637, 484, 714, 423, 7366, 2014, 198, 198, 464, 3061, 11, 339, 2087, 11, 318, 284, 5160, 2063, 257, 2997, 5054, 287, 6426, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 50256, 286, 11, 4700, 888, 11, 25866, 13001, 11, 393, 584, 1029, 32655, 290, 337, 9409, 368, 11025, 669, 13, 447, 251, 1215, 7820, 198, 198, 464, 6136, 2276, 286, 262, 1578, 1829, 318, 257, 3026, 3818, 13, 1002, 339, 468, 19837, 739...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 50256, 1099, 5394, 3818, 286, 674, 1499, 290, 1276, 10931, 13, 1318, 1276, 307, 281, 4795, 11, 20953, 11, 2354, 5810, 284, 9161, 262, 1301, 1964, 11, 2614, 290, 3176, 8787, 284, 262, 13234, 13, 447, 251, 198, 198, 32998, 4390, 3554, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 50256, 3088, 284, 1037, 3415, 3759, 1301, 1592, 262, 471, 13, 50, 13, 12112, 416, 15656, 4390, 3615, 9597, 13, 9070, 468, 6699, 262, 7636, 13, 198, 198, 33528, 389, 1865, 284, 2610, 866, 370, 1236, 330, 563, 447, 247, 82, 4301, 7035...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 50256, 340, 351, 262, 5290, 2657, 287, 534, 1021, 1635, 5064, 9, 340, 19575, 534, 1021, 357, 47531, 7157, 14, 38618, 347, 32620, 737, 3811, 1028, 2580, 803, 9135, 7691, 284, 1592, 2872, 711, 290, 8996, 534, 8198, 284, 584, 2137, 33140...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 50256, 2706, 4414, 422, 50233, 355, 14621, 364, 11, 257, 4876, 262, 50233, 1690, 1011, 319, 22295, 13, 887, 508, 318, 1804, 262, 1266, 1693, 355, 7078, 805, 30, 25913, 3496, 15802, 355, 257, 1296, 286, 17819, 11, 262, 1708, 318, 281, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 50256, 2688, 3834, 32679, 8366, 3337, 287, 9121, 3250, 11, 810, 465, 4006, 373, 44945, 11, 1644, 531, 13, 198, 198, 15137, 661, 547, 10657, 1141, 257, 734, 12, 9769, 48831, 286, 29276, 3502, 1755, 13, 198, 198, 8585, 838, 279, 13, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 50256, 11, 4697, 6805, 11, 1390, 262, 6591, 26515, 11, 481, 761, 284, 307, 6928, 416, 262, 886, 286, 262, 12131, 82, 11, 531, 3851, 2047, 29074, 641, 11, 10636, 3437, 286, 8884, 447, 247, 82, 33805, 7458, 13, 3412, 611, 262, 33805, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 50256, 12, 10365, 3507, 2056, 11, 1957, 7941, 290, 16435, 423, 4888, 5861, 290, 5205, 4478, 262, 976, 15052, 9694, 2615, 11, 290, 1588, 1271, 286, 606, 24456, 262, 15135, 329, 14523, 262, 26665, 25, 198, 198, 2348, 12, 24597, 9189, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 50256, 2102, 11, 355, 4186, 10382, 6496, 287, 428, 1810, 1148, 347, 3255, 3704, 11, 743, 880, 423, 262, 5339, 284, 8076, 379, 1755, 13, 198, 198, 1858, 318, 3058, 645, 5874, 2370, 284, 6216, 262, 779, 286, 257, 5711, 12, 2673, 5194,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
End of preview. Expand in Data Studio

OpenWebText GPT-2 tokenized cache

This repository contains the prepared OpenWebText cache used for MDLM-MMD training and validation. The Parquet export preserves the original token IDs, attention masks, split membership, and row order. It does not retokenize, filter, or reshuffle the cached data.

Split Rows Tokens per row
train 8,730,826 1,024
validation 110,397 1,024

Loading

from datasets import load_dataset

dataset = load_dataset("iasudakov/owt-gpt2")

Use streaming=True to iterate without downloading the entire dataset first. To create a Hugging Face Datasets disk cache, call dataset["train"].save_to_disk(...) and dataset["validation"].save_to_disk(...) separately.

Columns and preprocessing

  • input_ids: sequences of GPT-2 token IDs stored as int32.
  • attention_mask: sequences stored as float32, retained from the training cache.

The source is OpenWebText, revision b4325f019c648b1641a1784748667e8b74e5e064. The preprocessing code reserves the last 100,000 source documents for validation and uses the preceding documents for training. It tokenizes with gpt2, appends EOS to each document, concatenates token streams within preprocessing batches, and divides them into 1,022-token payloads. Each payload is wrapped with BOS and EOS (GPT-2 token ID 50256), giving 1,024 tokens per row. Remainders within preprocessing batches are dropped.

These row counts refer to packed sequences, not the original document counts. Packing boundaries are specific to this cache; another GPT-2-tokenized OpenWebText dataset is not necessarily an exact replacement.

Export verification and provenance

provenance.json records the source cache fingerprints, exact row counts, contiguous shard ranges, Parquet SHA-256 checksums, and hashes of each shard's first and last rows. Export checks verify the schema, row count, and boundary rows of every shard against the source cache. The source data's content and applicable terms remain those of OpenWebText and its underlying documents.

Downloads last month
3,719