全部的数据一共约为41GB。这是来自refinedweb中131,072个样本的最后隐藏状态,通过左侧填充/截断为512个令牌,并通过 google/flan-t5-small 进行处理。
结构:
{
"encoding": List, shaped (512, 512) aka (tokens, d_model),
"text": String, the original text that was encoded,
"attention_mask": List, binary mask to pass to your model with encoding to not attend to pad tokens
}
只是一个提示,你不能用免费版google colab的RAM加载这个,甚至一个单独的文件也不行,流式传输也不起作用。我有80GB的RAM,勉强能够进行流式处理。