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
ko_val: struct<t10: struct<docs: int64, tokens: int64>, t02: struct<docs: int64, tokens: int64>, all: struct (... 78 chars omitted)
  child 0, t10: struct<docs: int64, tokens: int64>
      child 0, docs: int64
      child 1, tokens: int64
  child 1, t02: struct<docs: int64, tokens: int64>
      child 0, docs: int64
      child 1, tokens: int64
  child 2, all: struct<docs: int64, tokens: int64, near_copies_ge80: int64, median_overlap: double>
      child 0, docs: int64
      child 1, tokens: int64
      child 2, near_copies_ge80: int64
      child 3, median_overlap: double
en_val: struct<t10: struct<docs: int64, tokens: int64>, t02: struct<docs: int64, tokens: int64>, all: struct (... 78 chars omitted)
  child 0, t10: struct<docs: int64, tokens: int64>
      child 0, docs: int64
      child 1, tokens: int64
  child 1, t02: struct<docs: int64, tokens: int64>
      child 0, docs: int64
      child 1, tokens: int64
  child 2, all: struct<docs: int64, tokens: int64, near_copies_ge80: int64, median_overlap: double>
      child 0, docs: int64
      child 1, tokens: int64
      child 2, near_copies_ge80: int64
      child 3, median_overlap: double
kopdf_val: struct<t10: struct<docs: int64, tokens: int64>, t02: struct<docs: int64, tokens: int64>, all: struct (... 78 chars omitted)
  child 0, t10: struct<docs: int64, tokens: int64>
      child 0, docs: int64
      child 1, tokens: int64
  child 1, t02: struct<docs: int64, tokens: int64>
      child 0, docs: int64
      child 1, tokens:
...
 docs_with_any_hit: int64, docs_over_10pct: int64, clean_docs: int64, tokens: int (... 47 chars omitted)
      child 0, docs: int64
      child 1, docs_with_any_hit: int64
      child 2, docs_over_10pct: int64
      child 3, clean_docs: int64
      child 4, tokens: int64
      child 5, clean_tokens: int64
      child 6, ngram_hit_pct: double
  child 3, math_val: struct<docs: int64, docs_with_any_hit: int64, docs_over_10pct: int64, clean_docs: int64, tokens: int (... 47 chars omitted)
      child 0, docs: int64
      child 1, docs_with_any_hit: int64
      child 2, docs_over_10pct: int64
      child 3, clean_docs: int64
      child 4, tokens: int64
      child 5, clean_tokens: int64
      child 6, ngram_hit_pct: double
  child 4, gov_val: struct<docs: int64, docs_with_any_hit: int64, docs_over_10pct: int64, clean_docs: int64, tokens: int (... 47 chars omitted)
      child 0, docs: int64
      child 1, docs_with_any_hit: int64
      child 2, docs_over_10pct: int64
      child 3, clean_docs: int64
      child 4, tokens: int64
      child 5, clean_tokens: int64
      child 6, ngram_hit_pct: double
  child 5, gov_val_unseen: struct<docs: int64, docs_with_any_hit: int64, docs_over_10pct: int64, clean_docs: int64, tokens: int (... 47 chars omitted)
      child 0, docs: int64
      child 1, docs_with_any_hit: int64
      child 2, docs_over_10pct: int64
      child 3, clean_docs: int64
      child 4, tokens: int64
      child 5, clean_tokens: int64
      child 6, ngram_hit_pct: double
to
{'ngram': Value('int64'), 'shards': Value('int64'), 'report': {'ko_val': {'docs': Value('int64'), 'docs_with_any_hit': Value('int64'), 'docs_over_10pct': Value('int64'), 'clean_docs': Value('int64'), 'tokens': Value('int64'), 'clean_tokens': Value('int64'), 'ngram_hit_pct': Value('float64')}, 'en_val': {'docs': Value('int64'), 'docs_with_any_hit': Value('int64'), 'docs_over_10pct': Value('int64'), 'clean_docs': Value('int64'), 'tokens': Value('int64'), 'clean_tokens': Value('int64'), 'ngram_hit_pct': Value('float64')}, 'kopdf_val': {'docs': Value('int64'), 'docs_with_any_hit': Value('int64'), 'docs_over_10pct': Value('int64'), 'clean_docs': Value('int64'), 'tokens': Value('int64'), 'clean_tokens': Value('int64'), 'ngram_hit_pct': Value('float64')}, 'math_val': {'docs': Value('int64'), 'docs_with_any_hit': Value('int64'), 'docs_over_10pct': Value('int64'), 'clean_docs': Value('int64'), 'tokens': Value('int64'), 'clean_tokens': Value('int64'), 'ngram_hit_pct': Value('float64')}, 'gov_val': {'docs': Value('int64'), 'docs_with_any_hit': Value('int64'), 'docs_over_10pct': Value('int64'), 'clean_docs': Value('int64'), 'tokens': Value('int64'), 'clean_tokens': Value('int64'), 'ngram_hit_pct': Value('float64')}, 'gov_val_unseen': {'docs': Value('int64'), 'docs_with_any_hit': Value('int64'), 'docs_over_10pct': Value('int64'), 'clean_docs': Value('int64'), 'tokens': Value('int64'), 'clean_tokens': Value('int64'), 'ngram_hit_pct': Value('float64')}}, 'secs': Value('int64')}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 274, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 544, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3074, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2578, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2603, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 577, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 459, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 373, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              ko_val: struct<t10: struct<docs: int64, tokens: int64>, t02: struct<docs: int64, tokens: int64>, all: struct (... 78 chars omitted)
                child 0, t10: struct<docs: int64, tokens: int64>
                    child 0, docs: int64
                    child 1, tokens: int64
                child 1, t02: struct<docs: int64, tokens: int64>
                    child 0, docs: int64
                    child 1, tokens: int64
                child 2, all: struct<docs: int64, tokens: int64, near_copies_ge80: int64, median_overlap: double>
                    child 0, docs: int64
                    child 1, tokens: int64
                    child 2, near_copies_ge80: int64
                    child 3, median_overlap: double
              en_val: struct<t10: struct<docs: int64, tokens: int64>, t02: struct<docs: int64, tokens: int64>, all: struct (... 78 chars omitted)
                child 0, t10: struct<docs: int64, tokens: int64>
                    child 0, docs: int64
                    child 1, tokens: int64
                child 1, t02: struct<docs: int64, tokens: int64>
                    child 0, docs: int64
                    child 1, tokens: int64
                child 2, all: struct<docs: int64, tokens: int64, near_copies_ge80: int64, median_overlap: double>
                    child 0, docs: int64
                    child 1, tokens: int64
                    child 2, near_copies_ge80: int64
                    child 3, median_overlap: double
              kopdf_val: struct<t10: struct<docs: int64, tokens: int64>, t02: struct<docs: int64, tokens: int64>, all: struct (... 78 chars omitted)
                child 0, t10: struct<docs: int64, tokens: int64>
                    child 0, docs: int64
                    child 1, tokens: int64
                child 1, t02: struct<docs: int64, tokens: int64>
                    child 0, docs: int64
                    child 1, tokens:
              ...
               docs_with_any_hit: int64, docs_over_10pct: int64, clean_docs: int64, tokens: int (... 47 chars omitted)
                    child 0, docs: int64
                    child 1, docs_with_any_hit: int64
                    child 2, docs_over_10pct: int64
                    child 3, clean_docs: int64
                    child 4, tokens: int64
                    child 5, clean_tokens: int64
                    child 6, ngram_hit_pct: double
                child 3, math_val: struct<docs: int64, docs_with_any_hit: int64, docs_over_10pct: int64, clean_docs: int64, tokens: int (... 47 chars omitted)
                    child 0, docs: int64
                    child 1, docs_with_any_hit: int64
                    child 2, docs_over_10pct: int64
                    child 3, clean_docs: int64
                    child 4, tokens: int64
                    child 5, clean_tokens: int64
                    child 6, ngram_hit_pct: double
                child 4, gov_val: struct<docs: int64, docs_with_any_hit: int64, docs_over_10pct: int64, clean_docs: int64, tokens: int (... 47 chars omitted)
                    child 0, docs: int64
                    child 1, docs_with_any_hit: int64
                    child 2, docs_over_10pct: int64
                    child 3, clean_docs: int64
                    child 4, tokens: int64
                    child 5, clean_tokens: int64
                    child 6, ngram_hit_pct: double
                child 5, gov_val_unseen: struct<docs: int64, docs_with_any_hit: int64, docs_over_10pct: int64, clean_docs: int64, tokens: int (... 47 chars omitted)
                    child 0, docs: int64
                    child 1, docs_with_any_hit: int64
                    child 2, docs_over_10pct: int64
                    child 3, clean_docs: int64
                    child 4, tokens: int64
                    child 5, clean_tokens: int64
                    child 6, ngram_hit_pct: double
              to
              {'ngram': Value('int64'), 'shards': Value('int64'), 'report': {'ko_val': {'docs': Value('int64'), 'docs_with_any_hit': Value('int64'), 'docs_over_10pct': Value('int64'), 'clean_docs': Value('int64'), 'tokens': Value('int64'), 'clean_tokens': Value('int64'), 'ngram_hit_pct': Value('float64')}, 'en_val': {'docs': Value('int64'), 'docs_with_any_hit': Value('int64'), 'docs_over_10pct': Value('int64'), 'clean_docs': Value('int64'), 'tokens': Value('int64'), 'clean_tokens': Value('int64'), 'ngram_hit_pct': Value('float64')}, 'kopdf_val': {'docs': Value('int64'), 'docs_with_any_hit': Value('int64'), 'docs_over_10pct': Value('int64'), 'clean_docs': Value('int64'), 'tokens': Value('int64'), 'clean_tokens': Value('int64'), 'ngram_hit_pct': Value('float64')}, 'math_val': {'docs': Value('int64'), 'docs_with_any_hit': Value('int64'), 'docs_over_10pct': Value('int64'), 'clean_docs': Value('int64'), 'tokens': Value('int64'), 'clean_tokens': Value('int64'), 'ngram_hit_pct': Value('float64')}, 'gov_val': {'docs': Value('int64'), 'docs_with_any_hit': Value('int64'), 'docs_over_10pct': Value('int64'), 'clean_docs': Value('int64'), 'tokens': Value('int64'), 'clean_tokens': Value('int64'), 'ngram_hit_pct': Value('float64')}, 'gov_val_unseen': {'docs': Value('int64'), 'docs_with_any_hit': Value('int64'), 'docs_over_10pct': Value('int64'), 'clean_docs': Value('int64'), 'tokens': Value('int64'), 'clean_tokens': Value('int64'), 'ngram_hit_pct': Value('float64')}}, 'secs': Value('int64')}
              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.

max tok_v1 β€” tokenized pretraining shards (Korean + English)

The exact token shards used to pretrain the max models (max-0.1b-v1, max-1b-moe10-long). Published so training can continue on other machines and the runs can be reproduced.

stream shards tokens
ko_web 162 6.46B
ko_pdf 113 4.48B
en_edu 114 4.41B
en_edu_hi 21 0.72B
math 20 0.67B

Validation sets are in val/ (held out by file or by host from the training files; see the note on overlap below).

Format

  • uint16 little-endian token ids, 32k byte-level BPE (tokenizer.json). Each document is <|bos|> (id 0) + tokens + <|eos|> (id 1).
  • Files of a stream are read in name order; MANIFEST.tsv lists tokens and sha256 for every file.
  • Training code: the max repository's src/train.py (--data <dir> with one sub-folder per stream).

Sources and licences (please keep the attribution)

stream source licence
ko_web FineWeb-2, Korean (kor_Hang) ODC-By 1.0 (+ Common Crawl terms of use)
ko_pdf FinePDFs, Korean ODC-By 1.0
en_edu, en_edu_hi FineWeb-Edu (edu-score β‰₯ 3, and a higher-score subset) ODC-By 1.0
math FineMath ODC-By 1.0

This dataset is a derived work: tokenized, with light cleaning (Unicode NFC, script ratio, minimum length, exact de-duplication within a file) and personal-data replacement (e-mail, Korean resident numbers, bank account numbers near bank keywords and phone numbers replaced by placeholder tokens). It is released under ODC-By 1.0 like its sources.

Known limitations

  • Korean data has no model-based quality filtering yet. A rule audit of samples found layout/menu/broken text in about 8% of Korean web documents and about 19% of Korean PDF documents.
  • A 13-gram check found that 5–22% of validation n-grams (most in math and public-sector text) also occur in the training shards, partly boilerplate. Treat absolute validation numbers with care; compare models on the same set.
  • Contains web text and may contain offensive or incorrect content.
Downloads last month
73