Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    CastError
Message:      Couldn't cast
files: list<item: string>
  child 0, item: string
count: int64
source: string
subset: string
created: string
sample_index: int64
total_samples: int64
file_index: int64
total_tokens: int64
chunk_number: int64
completed_chunks: list<item: string>
  child 0, item: string
has_leftover: bool
chunk_hashes: struct<fwedu-llama32k-512-0000.bin: string, fwedu-llama32k-512-0001.bin: string, fwedu-llama32k-512- (... 1312 chars omitted)
  child 0, fwedu-llama32k-512-0000.bin: string
  child 1, fwedu-llama32k-512-0001.bin: string
  child 2, fwedu-llama32k-512-0002.bin: string
  child 3, fwedu-llama32k-512-0003.bin: string
  child 4, fwedu-llama32k-512-0004.bin: string
  child 5, fwedu-llama32k-512-0005.bin: string
  child 6, fwedu-llama32k-512-0006.bin: string
  child 7, fwedu-llama32k-512-0007.bin: string
  child 8, fwedu-llama32k-512-0008.bin: string
  child 9, fwedu-llama32k-512-0009.bin: string
  child 10, fwedu-llama32k-512-0010.bin: string
  child 11, fwedu-llama32k-512-0011.bin: string
  child 12, fwedu-llama32k-512-0012.bin: string
  child 13, fwedu-llama32k-512-0013.bin: string
  child 14, fwedu-llama32k-512-0014.bin: string
  child 15, fwedu-llama32k-512-0015.bin: string
  child 16, fwedu-llama32k-512-0016.bin: string
  child 17, fwedu-llama32k-512-0017.bin: string
  child 18, fwedu-llama32k-512-0018.bin: string
  child 19, fwedu-llama32k-512-0019.bin: string
  child 20, fwedu-llama32k-512-0020.bin: string
  child 21, fwedu-llama32k-512-0021.bin: string
  child 22, fwedu-llama32k-512-0022.bin: string
  child 23, fwedu-llama32k-512-0023.bin: string
  child 24, fwedu-llama32k-512-0024.bin: string
  child 25, fwedu-llama32k-512-0025.bin: string
  child 26, fwedu-llama32k-512-0026.bin: string
  child 27, fwedu-llama32k-512-0027.bin: string
  child 28, fwedu-llama32k-512-0028.bin: string
  child 29, fwedu-llama32k-512-0029.bin: string
  child 30, fwedu-llama32k-512-0030.bin: string
  child 31, fwedu-llama32k-512-0031.bin: string
  child 32, fwedu-llama32k-512-0032.bin: string
  child 33, fwedu-llama32k-512-0033.bin: string
  child 34, fwedu-llama32k-512-0034.bin: string
  child 35, fwedu-llama32k-512-0035.bin: string
  child 36, fwedu-llama32k-512-0036.bin: string
  child 37, fwedu-llama32k-512-0037.bin: string
to
{'file_index': Value('int64'), 'sample_index': Value('int64'), 'chunk_number': Value('int64'), 'total_tokens': Value('int64'), 'total_samples': Value('int64'), 'completed_chunks': List(Value('string')), 'chunk_hashes': {'fwedu-llama32k-512-0000.bin': Value('string'), 'fwedu-llama32k-512-0001.bin': Value('string'), 'fwedu-llama32k-512-0002.bin': Value('string'), 'fwedu-llama32k-512-0003.bin': Value('string'), 'fwedu-llama32k-512-0004.bin': Value('string'), 'fwedu-llama32k-512-0005.bin': Value('string'), 'fwedu-llama32k-512-0006.bin': Value('string'), 'fwedu-llama32k-512-0007.bin': Value('string'), 'fwedu-llama32k-512-0008.bin': Value('string'), 'fwedu-llama32k-512-0009.bin': Value('string'), 'fwedu-llama32k-512-0010.bin': Value('string'), 'fwedu-llama32k-512-0011.bin': Value('string'), 'fwedu-llama32k-512-0012.bin': Value('string'), 'fwedu-llama32k-512-0013.bin': Value('string'), 'fwedu-llama32k-512-0014.bin': Value('string'), 'fwedu-llama32k-512-0015.bin': Value('string'), 'fwedu-llama32k-512-0016.bin': Value('string'), 'fwedu-llama32k-512-0017.bin': Value('string'), 'fwedu-llama32k-512-0018.bin': Value('string'), 'fwedu-llama32k-512-0019.bin': Value('string'), 'fwedu-llama32k-512-0020.bin': Value('string'), 'fwedu-llama32k-512-0021.bin': Value('string'), 'fwedu-llama32k-512-0022.bin': Value('string'), 'fwedu-llama32k-512-0023.bin': Value('string'), 'fwedu-llama32k-512-0024.bin': Value('string'), 'fwedu-llama32k-512-0025.bin': Value('string'), 'fwedu-llama32k-512-0026.bin': Value('string'), 'fwedu-llama32k-512-0027.bin': Value('string'), 'fwedu-llama32k-512-0028.bin': Value('string'), 'fwedu-llama32k-512-0029.bin': Value('string'), 'fwedu-llama32k-512-0030.bin': Value('string'), 'fwedu-llama32k-512-0031.bin': Value('string'), 'fwedu-llama32k-512-0032.bin': Value('string'), 'fwedu-llama32k-512-0033.bin': Value('string'), 'fwedu-llama32k-512-0034.bin': Value('string'), 'fwedu-llama32k-512-0035.bin': Value('string'), 'fwedu-llama32k-512-0036.bin': Value('string'), 'fwedu-llama32k-512-0037.bin': Value('string')}, 'has_leftover': Value('bool')}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
                  return get_rows(
                         ^^^^^^^^^
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/utils.py", line 77, in get_rows
                  rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2690, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2227, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2251, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 494, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 384, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 289, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 124, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              files: list<item: string>
                child 0, item: string
              count: int64
              source: string
              subset: string
              created: string
              sample_index: int64
              total_samples: int64
              file_index: int64
              total_tokens: int64
              chunk_number: int64
              completed_chunks: list<item: string>
                child 0, item: string
              has_leftover: bool
              chunk_hashes: struct<fwedu-llama32k-512-0000.bin: string, fwedu-llama32k-512-0001.bin: string, fwedu-llama32k-512- (... 1312 chars omitted)
                child 0, fwedu-llama32k-512-0000.bin: string
                child 1, fwedu-llama32k-512-0001.bin: string
                child 2, fwedu-llama32k-512-0002.bin: string
                child 3, fwedu-llama32k-512-0003.bin: string
                child 4, fwedu-llama32k-512-0004.bin: string
                child 5, fwedu-llama32k-512-0005.bin: string
                child 6, fwedu-llama32k-512-0006.bin: string
                child 7, fwedu-llama32k-512-0007.bin: string
                child 8, fwedu-llama32k-512-0008.bin: string
                child 9, fwedu-llama32k-512-0009.bin: string
                child 10, fwedu-llama32k-512-0010.bin: string
                child 11, fwedu-llama32k-512-0011.bin: string
                child 12, fwedu-llama32k-512-0012.bin: string
                child 13, fwedu-llama32k-512-0013.bin: string
                child 14, fwedu-llama32k-512-0014.bin: string
                child 15, fwedu-llama32k-512-0015.bin: string
                child 16, fwedu-llama32k-512-0016.bin: string
                child 17, fwedu-llama32k-512-0017.bin: string
                child 18, fwedu-llama32k-512-0018.bin: string
                child 19, fwedu-llama32k-512-0019.bin: string
                child 20, fwedu-llama32k-512-0020.bin: string
                child 21, fwedu-llama32k-512-0021.bin: string
                child 22, fwedu-llama32k-512-0022.bin: string
                child 23, fwedu-llama32k-512-0023.bin: string
                child 24, fwedu-llama32k-512-0024.bin: string
                child 25, fwedu-llama32k-512-0025.bin: string
                child 26, fwedu-llama32k-512-0026.bin: string
                child 27, fwedu-llama32k-512-0027.bin: string
                child 28, fwedu-llama32k-512-0028.bin: string
                child 29, fwedu-llama32k-512-0029.bin: string
                child 30, fwedu-llama32k-512-0030.bin: string
                child 31, fwedu-llama32k-512-0031.bin: string
                child 32, fwedu-llama32k-512-0032.bin: string
                child 33, fwedu-llama32k-512-0033.bin: string
                child 34, fwedu-llama32k-512-0034.bin: string
                child 35, fwedu-llama32k-512-0035.bin: string
                child 36, fwedu-llama32k-512-0036.bin: string
                child 37, fwedu-llama32k-512-0037.bin: string
              to
              {'file_index': Value('int64'), 'sample_index': Value('int64'), 'chunk_number': Value('int64'), 'total_tokens': Value('int64'), 'total_samples': Value('int64'), 'completed_chunks': List(Value('string')), 'chunk_hashes': {'fwedu-llama32k-512-0000.bin': Value('string'), 'fwedu-llama32k-512-0001.bin': Value('string'), 'fwedu-llama32k-512-0002.bin': Value('string'), 'fwedu-llama32k-512-0003.bin': Value('string'), 'fwedu-llama32k-512-0004.bin': Value('string'), 'fwedu-llama32k-512-0005.bin': Value('string'), 'fwedu-llama32k-512-0006.bin': Value('string'), 'fwedu-llama32k-512-0007.bin': Value('string'), 'fwedu-llama32k-512-0008.bin': Value('string'), 'fwedu-llama32k-512-0009.bin': Value('string'), 'fwedu-llama32k-512-0010.bin': Value('string'), 'fwedu-llama32k-512-0011.bin': Value('string'), 'fwedu-llama32k-512-0012.bin': Value('string'), 'fwedu-llama32k-512-0013.bin': Value('string'), 'fwedu-llama32k-512-0014.bin': Value('string'), 'fwedu-llama32k-512-0015.bin': Value('string'), 'fwedu-llama32k-512-0016.bin': Value('string'), 'fwedu-llama32k-512-0017.bin': Value('string'), 'fwedu-llama32k-512-0018.bin': Value('string'), 'fwedu-llama32k-512-0019.bin': Value('string'), 'fwedu-llama32k-512-0020.bin': Value('string'), 'fwedu-llama32k-512-0021.bin': Value('string'), 'fwedu-llama32k-512-0022.bin': Value('string'), 'fwedu-llama32k-512-0023.bin': Value('string'), 'fwedu-llama32k-512-0024.bin': Value('string'), 'fwedu-llama32k-512-0025.bin': Value('string'), 'fwedu-llama32k-512-0026.bin': Value('string'), 'fwedu-llama32k-512-0027.bin': Value('string'), 'fwedu-llama32k-512-0028.bin': Value('string'), 'fwedu-llama32k-512-0029.bin': Value('string'), 'fwedu-llama32k-512-0030.bin': Value('string'), 'fwedu-llama32k-512-0031.bin': Value('string'), 'fwedu-llama32k-512-0032.bin': Value('string'), 'fwedu-llama32k-512-0033.bin': Value('string'), 'fwedu-llama32k-512-0034.bin': Value('string'), 'fwedu-llama32k-512-0035.bin': Value('string'), 'fwedu-llama32k-512-0036.bin': Value('string'), 'fwedu-llama32k-512-0037.bin': Value('string')}, 'has_leftover': Value('bool')}
              because column names don't match

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

FineWeb-Edu Pre-Tokenized (huggyllama/llama-7b)

Pre-tokenized HuggingFaceFW/fineweb-edu (sample/350BT, score >= 3).

Format

Property Value
Tokenizer huggyllama/llama-7b
Vocab 32,000
dtype uint16
Chunk 512 MB
Tokens/chunk 268,435,456
Block size 1024
Blocks/chunk 262,144
Total chunks 37
Total tokens 10.20B (10,200,547,328)
Target tokens 10.00B (10,000,000,000)
Shuffled Yes (source pre-shuffled)

Packing

Each document: [BOS] doc_tokens [EOS]

All concatenated into a continuous stream, sliced into 1024-token blocks.

Usage

import numpy as np

tokens = np.fromfile("data/fwedu-llama32k-512-0001.bin", dtype=np.uint16)
sequences = tokens.reshape(-1, 1024)  # (262144, 1024)

Integrity

import hashlib, json

info = json.load(open("sample_info.json"))
for name, meta in info["chunks"].items():
    h = hashlib.sha256(open("data/" + name, "rb").read()).hexdigest()
    assert h == meta["sha256"], name + " corrupted!"

Files

-- dataset_info.json
-- sample_info.json
-- tokenizer/
-- data/*.bin
Downloads last month
78