input_ids
sequencelengths
256k
256k
labels
int64
12
31.5k
source
listlengths
1
326
[1,960,366,817,304,22332,1296,4469,1634,7121,363,596,838,29886,1099,350,29871,29896,29900,769,372,67(...TRUNCATED)
278
[{"end":152,"source":"RedPajamaC4","start":0},{"end":238,"source":"RedPajamaC4","start":152},{"end":(...TRUNCATED)
[278,6909,393,1033,367,1754,297,372,29889,1094,591,3290,9963,1048,902,2834,975,26935,8859,445,4723,2(...TRUNCATED)
277
[{"end":7248,"source":"RedPajamaCommonCrawl","start":0},{"end":23307,"source":"RedPajamaC4","start":(...TRUNCATED)
[277,3343,29892,18558,566,2765,16425,425,15876,27698,2765,29053,28027,276,4788,438,2576,1631,10129,3(...TRUNCATED)
2,965
[{"end":9551,"source":"RedPajamaWikipedia","start":0},{"end":20665,"source":"RedPajamaC4","start":95(...TRUNCATED)
[2965,29968,8186,1799,29897,12766,1525,2672,29903,4574,23219,393,366,2289,526,1811,304,679,322,306,5(...TRUNCATED)
16,326
[{"end":3830,"source":"RedPajamaCommonCrawl","start":0},{"end":17201,"source":"RedPajamaArXiv","star(...TRUNCATED)
[16326,310,671,29889,13,9526,4733,526,3755,28773,988,4045,526,263,2586,19390,29889,887,881,2149,304,(...TRUNCATED)
322
[{"end":891,"source":"RedPajamaC4","start":0},{"end":4687,"source":"RedPajamaCommonCrawl","start":89(...TRUNCATED)
[322,13737,2638,630,3831,273,583,4779,29871,29906,29900,29896,29941,448,4360,296,13,22638,487,27265,(...TRUNCATED)
297
[{"end":15239,"source":"RedPajamaCommonCrawl","start":0},{"end":15545,"source":"RedPajamaC4","start"(...TRUNCATED)
[297,278,28662,15967,313,7045,2935,2000,278,1704,29885,436,4271,29897,4523,310,27529,29889,940,17602(...TRUNCATED)
25,734
[{"end":1422,"source":"RedPajamaC4","start":0},{"end":12182,"source":"RedPajamaCommonCrawl","start":(...TRUNCATED)
[25734,6874,491,1104,1218,372,304,660,332,29915,273,293,15690,583,322,16427,293,11399,29889,940,1852(...TRUNCATED)
367
[{"end":3903,"source":"RedPajamaCommonCrawl","start":0},{"end":4124,"source":"RedPajamaC4","start":3(...TRUNCATED)
[367,3755,21028,262,1218,29889,13,29924,2209,5456,29901,13,29923,854,263,11473,6559,310,4688,6111,14(...TRUNCATED)
5,281
[{"end":1031,"source":"RedPajamaCommonCrawl","start":0},{"end":12852,"source":"RedPajamaArXiv","star(...TRUNCATED)
[5281,6030,785,322,304,15075,475,263,20107,310,6437,411,1749,394,3687,785,338,9324,6419,411,278,435,(...TRUNCATED)
4,108
[{"end":31331,"source":"RedPajamaCommonCrawl","start":0},{"end":58531,"source":"RedPajamaC4","start"(...TRUNCATED)

Generated using https://github.com/FranxYao/Long-Context-Data-Engineering with the below command:

mkdir logs
mkdir data
mkdir data/slimpajama
mkdir data/slimpajama/per_source_downsample
cd data_engineering
PATH_TO_SLIMPAJAMA=rokset3/slim_pajama_chunk_1
nohup python -u slimpajama_packing.py\
    --dataset_size=1b\
    --print_interval=100 --num_process=200\
    --chunk_size=256001 \
    --dataset_path=$PATH_TO_SLIMPAJAMA\
    --output_path=../data/slimpajama/per_source_downsample/ --down_sample_ratio=0.1 --down_sample_mode=per_source\
    > ../logs/slimpajama_packing_dist_per_source_downsample_0.1.log 2>&1 &
tail -f ../logs/slimpajama_packing_dist_per_source_downsample_0.1.log
Downloads last month
206

Collection including PY007/slimpajama_llama_tokenized_upsample_4096_chunk_256K