Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
input_ids
sequencelengths
2.05k
2.05k
attention_mask
sequencelengths
2.05k
2.05k
labels
sequencelengths
2.05k
2.05k
[ 1026, 1531, 1009, 8067, 3939, 1009, 3370, 1009, 7267, 1511, 1836, 15359, 1026, 9914, 1005, 16115, 7099, 1342, 1060, 14595, 1060, 4044, 1124, 1578, 5207, 1005, 2276, 5756, 1006, 21749, 1072, 17700, 1009, 16899, 2126, 85, 1357, 5096, 1005, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1026, 1531, 1009, 8067, 3939, 1009, 3370, 1009, 7267, 1511, 1836, 15359, 1026, 9914, 1005, 16115, 7099, 1342, 1060, 14595, 1060, 4044, 1124, 1578, 5207, 1005, 2276, 5756, 1006, 21749, 1072, 17700, 1009, 16899, 2126, 85, 1357, 5096, 1005, ...
[ 6885, 6750, 4264, 1045, 27266, 1068, 1094, 4214, 1009, 23120, 80, 168, 1242, 1043, 7640, 22190, 1072, 14903, 1138, 2011, 1096, 4949, 2453, 1009, 16539, 7958, 13161, 1060, 4214, 3226, 3985, 2665, 1629, 1357, 2935, 1009, 12439, 1005, 16866, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 6885, 6750, 4264, 1045, 27266, 1068, 1094, 4214, 1009, 23120, 80, 168, 1242, 1043, 7640, 22190, 1072, 14903, 1138, 2011, 1096, 4949, 2453, 1009, 16539, 7958, 13161, 1060, 4214, 3226, 3985, 2665, 1629, 1357, 2935, 1009, 12439, 1005, 16866, ...
[ 6483, 6007, 1356, 15708, 1054, 18093, 1005, 16219, 22200, 1009, 2529, 1170, 2645, 1034, 3862, 1308, 2036, 17106, 11027, 1049, 15708, 1, 1344, 4518, 14261, 7306, 4509, 1010, 18256, 1204, 1009, 2436, 1009, 2454, 7375, 1096, 1044, 13433, 1005,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 6483, 6007, 1356, 15708, 1054, 18093, 1005, 16219, 22200, 1009, 2529, 1170, 2645, 1034, 3862, 1308, 2036, 17106, 11027, 1049, 15708, 1, 1344, 4518, 14261, 7306, 4509, 1010, 18256, 1204, 1009, 2436, 1009, 2454, 7375, 1096, 1044, 13433, 1005,...
[ 3364, 1187, 4731, 5471, 1989, 20254, 1667, 16254, 1026, 1073, 6077, 18, 1026, 3453, 8285, 1114, 1224, 2612, 1054, 2978, 18686, 1138, 1557, 1009, 11283, 1096, 20378, 2097, 1734, 6335, 1693, 4480, 1009, 1307, 1006, 1487, 2250, 1552, 1133, 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...
[ 3364, 1187, 4731, 5471, 1989, 20254, 1667, 16254, 1026, 1073, 6077, 18, 1026, 3453, 8285, 1114, 1224, 2612, 1054, 2978, 18686, 1138, 1557, 1009, 11283, 1096, 20378, 2097, 1734, 6335, 1693, 4480, 1009, 1307, 1006, 1487, 2250, 1552, 1133, 3...
[ 1009, 10817, 1184, 12165, 1221, 5631, 1124, 14991, 1726, 23362, 1060, 13071, 1005, 1060, 18078, 1043, 6022, 1006, 2323, 1009, 1844, 5003, 1005, 26633, 11591, 1620, 2143, 2868, 1048, 5631, 1006, 7344, 1006, 1766, 1362, 1005, 1006, 28757, 351...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1009, 10817, 1184, 12165, 1221, 5631, 1124, 14991, 1726, 23362, 1060, 13071, 1005, 1060, 18078, 1043, 6022, 1006, 2323, 1009, 1844, 5003, 1005, 26633, 11591, 1620, 2143, 2868, 1048, 5631, 1006, 7344, 1006, 1766, 1362, 1005, 1006, 28757, 351...
[ 1026, 1359, 14403, 1048, 1054, 5239, 7462, 1005, 1054, 3596, 28283, 16651, 1009, 13782, 6968, 1026, 3233, 2509, 1049, 9713, 15239, 1048, 1096, 9343, 1100, 28834, 1069, 1072, 1068, 72, 3308, 71, 1049, 31449, 6771, 2277, 26359, 1026, 10133, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1026, 1359, 14403, 1048, 1054, 5239, 7462, 1005, 1054, 3596, 28283, 16651, 1009, 13782, 6968, 1026, 3233, 2509, 1049, 9713, 15239, 1048, 1096, 9343, 1100, 28834, 1069, 1072, 1068, 72, 3308, 71, 1049, 31449, 6771, 2277, 26359, 1026, 10133, ...
[ 25958, 12692, 18353, 2528, 19485, 5385, 1302, 79, 5479, 1100, 6273, 9465, 1365, 1734, 9449, 1060, 2236, 1060, 2926, 3915, 5400, 88, 3097, 1235, 6023, 4291, 2232, 1046, 1328, 3433, 1068, 1044, 10451, 1356, 22773, 20, 1972, 3005, 3283, 1299...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 25958, 12692, 18353, 2528, 19485, 5385, 1302, 79, 5479, 1100, 6273, 9465, 1365, 1734, 9449, 1060, 2236, 1060, 2926, 3915, 5400, 88, 3097, 1235, 6023, 4291, 2232, 1046, 1328, 3433, 1068, 1044, 10451, 1356, 22773, 20, 1972, 3005, 3283, 1299...
[2534,7777,1005,1054,13135,1072,1561,1256,6062,1096,1026,1831,13975,2964,1629,1043,3538,1054,3525,30(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
[2534,7777,1005,1054,13135,1072,1561,1256,6062,1096,1026,1831,13975,2964,1629,1043,3538,1054,3525,30(...TRUNCATED)
[1,8252,1130,1005,1663,3337,1049,14606,1138,11555,2805,4436,39,16837,14388,6923,4055,3107,2428,1294,(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
[1,8252,1130,1005,1663,3337,1049,14606,1138,11555,2805,4436,39,16837,14388,6923,4055,3107,2428,1294,(...TRUNCATED)
[8990,2940,6256,1094,8764,1114,3279,8204,18,1043,16035,18783,4138,1006,11892,1024,1006,4455,4355,113(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
[8990,2940,6256,1094,8764,1114,3279,8204,18,1043,16035,18783,4138,1006,11892,1024,1006,4455,4355,113(...TRUNCATED)
End of preview. Expand in Data Studio

Portuguese-Corpus (tokenized)

Dataset Summary

This repository has a tokenized version (using the TeenyTinyLlama tokenizer) of the Portuguese-Corpus dataset. All sequences are 2048 tokens long. This dataset was used in "TeenyTinyLlama: open-source tiny language models trained in Brazilian Portuguese".

For more information, see the original dataset card.

Languages

Portuguese.

Dataset Structure

Data Instances

The dataset consists of the following features:

  • input_ids: sequence of tokens.
  • attention_mask: binary tensor indicating the position of the padded indices.
  • labels: sequence of tokens.

Data Fields

{
  "input_ids": [ 1026, 1531, 1009, 8067,...],
  "attention_mask": [1, 1, 1, 1, ...],
  "labels": [ 1026, 1531, 1009, 8067,...]
}  

Data Splits

Available splits are train (~ 2M) and test (20K).

from datasets import load_dataset

dataset = load_dataset("nicholasKluge/Pt-Corpus-tokenized", split='train')

# If you don't want to download the entire dataset, set streaming to `True`
dataset = load_dataset("nicholasKluge/Pt-Corpus-tokenized", split='train', streaming=True)

Additional Information

Dataset Curators

Nicholas Kluge Corrêa.

Citation Information

@misc{correa24ttllama,
  title = {TeenyTinyLlama: open-source tiny language models trained in Brazilian Portuguese},
  author = {Corr{\^e}a, Nicholas Kluge and Falk, Sophia and Fatimah, Shiza and Sen, Aniket and De Oliveira, Nythamar},
  journal={arXiv preprint arXiv:2401.16640},
  year={2024}
}

@misc{correa24ttllama,
  doi = {10.1016/j.mlwa.2024.100558},
  url = {https://www.sciencedirect.com/science/article/pii/S2666827024000343},
  title = {TeenyTinyLlama: open-source tiny language models trained in Brazilian Portuguese},
  author = {Corr{\^e}a, Nicholas Kluge and Falk, Sophia and Fatimah, Shiza and Sen, Aniket and De Oliveira, Nythamar},
  journal={Machine Learning With Applications},
  publisher = {Springer},
  year={2024}
}

Contributions

If you would like to contribute, contact me at nicholas@airespucrs.org!

Downloads last month
234

Collection including nicholasKluge/Pt-Corpus-tokenized

Paper for nicholasKluge/Pt-Corpus-tokenized