text stringlengths 2 451k |
|---|
2127 1132 2191 374 264 5054 19675 323 7351 430 374 44929 315 682 1120 7174 369 11447 323 26737 311 90376 279 14673 433 8349 10519 26225 78242 323 30022 11 11383 2737 7140 90160 11 323 32682 13 1556 1132 2191 28424 369 279 14039 315 279 1614 449 1614 1752 34775 323 37079 1949 30257 13 1666 264 35901 2163 29480 7351 11 4... |
2149 90087 31475 883 374 279 19983 315 40120 430 374 3722 355 989 27000 555 264 2547 13 1102 374 17303 389 264 5569 505 220 15 320 6133 6961 287 311 264 3776 2547 430 91111 682 10672 25407 8 311 220 16 320 6133 6961 287 311 264 2547 430 27053 682 10672 25407 3677 24627 453 90087 374 4613 439 279 11595 315 12164 22828 1... |
32 11 477 264 11 374 279 1176 6661 323 279 1176 77281 315 279 20023 28890 11 1511 304 279 6617 6498 28890 11 279 65695 370 1441 315 1023 19001 7665 15823 323 3885 15603 13 11699 836 304 6498 374 264 320 72239 20018 7026 39598 57675 13 1102 374 4528 304 6211 311 279 38050 18341 6661 25737 11 505 902 433 75549 13 578 405... |
98911 1754 374 264 1614 304 279 36664 944 5654 315 279 3723 4273 11 77317 555 24097 311 279 10411 26 16272 311 279 11226 26 9784 323 279 27945 315 12550 311 279 10007 26 323 29538 311 279 9909 13 21272 374 279 220 966 339 7928 555 3158 323 279 220 1187 339 63498 95551 315 279 549 815 13 5415 382 98911 374 90234 279 265... |
"644 18341 59492 11 88736 320 883 477 46665 4618 355 1754 574 264 12084 315 279 96615 5111 889 574 3(...TRUNCATED) |
"5953 17012 25379 320 2652 7552 220 717 11 220 5245 24 4194 4235 5936 220 868 11 220 9714 20 8 574 4(...TRUNCATED) |
"32 2889 51626 31475 220 53029 354 19010 79083 82 11 2652 220 12910 4235 15805 4194 5002 8 574 459 3(...TRUNCATED) |
"2127 3778 304 12366 374 264 34997 3502 27256 5886 8045 764 14338 33894 320 269 16630 33894 8 369 69(...TRUNCATED) |
"791 16192 17768 369 7252 25003 7127 45799 26501 369 1989 5216 304 4632 13 578 5699 596 4113 836 574(...TRUNCATED) |
"791 16192 23488 11 14918 3967 439 279 89896 11 527 23146 369 32692 323 11156 38559 369 279 4632 506(...TRUNCATED) |
End of preview. Expand in Data Studio
ga_wikipedia_cl100k
English Wikipedia (jsanzolac/ga_wikipedia, dump 2023-11-01) pre-tokenized with
OpenAI tiktoken.cl100k_base. One article per line, space-separated token ids.
Usage
import gzip, tiktoken
from huggingface_hub import hf_hub_download
path = hf_hub_download("jsanzolac/ga_wikipedia_cl100k", "wikipedia_20231101_en.cl100k.txt.gz", repo_type="dataset")
enc = tiktoken.get_encoding("cl100k_base")
with gzip.open(path, "rt") as f:
first = next(f).strip().split()
print("First 20 ids :", first[:20])
print("Decoded :", enc.decode([int(t) for t in first[:20]]))
- Downloads last month
- 42