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
<unk>: int64
<s>: int64
</s>: int64
<0x00>: int64
<0x01>: int64
<0x02>: int64
<0x03>: int64
<0x04>: int64
<0x05>: int64
<0x06>: int64
<0x07>: int64
<0x08>: int64
<0x09>: int64
<0x0A>: int64
<0x0B>: int64
<0x0C>: int64
<0x0D>: int64
<0x0E>: int64
<0x0F>: int64
<0x10>: int64
<0x11>: int64
<0x12>: int64
<0x13>: int64
<0x14>: int64
<0x15>: int64
<0x16>: int64
<0x17>: int64
<0x18>: int64
<0x19>: int64
<0x1A>: int64
<0x1B>: int64
<0x1C>: int64
<0x1D>: int64
<0x1E>: int64
<0x1F>: int64
<0x20>: int64
<0x21>: int64
<0x22>: int64
<0x23>: int64
<0x24>: int64
<0x25>: int64
<0x26>: int64
<0x27>: int64
<0x28>: int64
<0x29>: int64
<0x2A>: int64
<0x2B>: int64
<0x2C>: int64
<0x2D>: int64
<0x2E>: int64
<0x2F>: int64
<0x30>: int64
<0x31>: int64
<0x32>: int64
<0x33>: int64
<0x34>: int64
<0x35>: int64
<0x36>: int64
<0x37>: int64
<0x38>: int64
<0x39>: int64
<0x3A>: int64
<0x3B>: int64
<0x3C>: int64
<0x3D>: int64
<0x3E>: int64
<0x3F>: int64
<0x40>: int64
<0x41>: int64
<0x42>: int64
<0x43>: int64
<0x44>: int64
<0x45>: int64
<0x46>: int64
<0x47>: int64
<0x48>: int64
<0x49>: int64
<0x4A>: int64
<0x4B>: int64
<0x4C>: int64
<0x4D>: int64
<0x4E>: int64
<0x4F>: int64
<0x50>: int64
<0x51>: int64
<0x52>: int64
<0x53>: int64
<0x54>: int64
<0x55>: int64
<0x56>: int64
<0x57>: int64
<0x58>: int64
<0x59>: int64
<0x5A>: int64
<0x5B>: int64
<0x5C>: int64
<0x5D>: int64
<0x5E>: int64
<0x5F>: int64
<0x60>: int64
<0x61>: int64
<0x62>: int64
<0x63>: int64
<0x64>: int64
<0x65>: int64
<0x66>: int64
<0x67>: int64
<0x68>: 
...
: int64
▁Mobile: int64
▁Tasarım: int64
Nerede: int64
▁reddedil: int64
▁hitap: int64
▁tarayıcı: int64
▁teşkilatı: int64
▁köpeği: int64
▁söyleyerek: int64
▁Moldova: int64
▁milletvekilliği: int64
▁kabuğu: int64
▁direktörlüğü: int64
Fransa: int64
Åž: int64
Yerleşim: int64
▁ortaokul: int64
▁entegre: int64
▁Radio: int64
▁kolej: int64
▁Filipinler: int64
▁verilebilir: int64
▁müdürlüğü: int64
▁Budapeşte: int64
▁Belarus: int64
▁kritik: int64
Macaristan: int64
▁koridor: int64
Kitab: int64
▁Fırat: int64
▁üssü: int64
://: int64
Hürriyet: int64
▁sohbet: int64
▁karikatür: int64
▁ünite: int64
Å: int64
ć: int64
«: int64
ã: int64
special: struct<unk: int64, bos: int64, eos: int64, pad: int64>
  child 0, unk: int64
  child 1, bos: int64
  child 2, eos: int64
  child 3, pad: int64
stats: list<item: struct<label: string, chars: int64, tokens: int64, chars_per_token: double, unk: int64, r (... 19 chars omitted)
  child 0, item: struct<label: string, chars: int64, tokens: int64, chars_per_token: double, unk: int64, roundtrip_ok (... 7 chars omitted)
      child 0, label: string
      child 1, chars: int64
      child 2, tokens: int64
      child 3, chars_per_token: double
      child 4, unk: int64
      child 5, roundtrip_ok: bool
piece_size: int64
args: struct<vocab: int64, model: string, sentences: int64, coverage: double, out: string, reuse: bool>
  child 0, vocab: int64
  child 1, model: string
  child 2, sentences: int64
  child 3, coverage: double
  child 4, out: string
  child 5, reuse: bool
to
{'args': {'vocab': Value('int64'), 'model': Value('string'), 'sentences': Value('int64'), 'coverage': Value('float64'), 'out': Value('string'), 'reuse': Value('bool')}, 'piece_size': Value('int64'), 'special': {'unk': Value('int64'), 'bos': Value('int64'), 'eos': Value('int64'), 'pad': Value('int64')}, 'stats': List({'label': Value('string'), 'chars': Value('int64'), 'tokens': Value('int64'), 'chars_per_token': Value('float64'), 'unk': Value('int64'), 'roundtrip_ok': Value('bool')})}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 147, 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 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 127, 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 483, 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 2840, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2373, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2398, 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 536, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, 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 343, 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 2378, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              <unk>: int64
              <s>: int64
              </s>: int64
              <0x00>: int64
              <0x01>: int64
              <0x02>: int64
              <0x03>: int64
              <0x04>: int64
              <0x05>: int64
              <0x06>: int64
              <0x07>: int64
              <0x08>: int64
              <0x09>: int64
              <0x0A>: int64
              <0x0B>: int64
              <0x0C>: int64
              <0x0D>: int64
              <0x0E>: int64
              <0x0F>: int64
              <0x10>: int64
              <0x11>: int64
              <0x12>: int64
              <0x13>: int64
              <0x14>: int64
              <0x15>: int64
              <0x16>: int64
              <0x17>: int64
              <0x18>: int64
              <0x19>: int64
              <0x1A>: int64
              <0x1B>: int64
              <0x1C>: int64
              <0x1D>: int64
              <0x1E>: int64
              <0x1F>: int64
              <0x20>: int64
              <0x21>: int64
              <0x22>: int64
              <0x23>: int64
              <0x24>: int64
              <0x25>: int64
              <0x26>: int64
              <0x27>: int64
              <0x28>: int64
              <0x29>: int64
              <0x2A>: int64
              <0x2B>: int64
              <0x2C>: int64
              <0x2D>: int64
              <0x2E>: int64
              <0x2F>: int64
              <0x30>: int64
              <0x31>: int64
              <0x32>: int64
              <0x33>: int64
              <0x34>: int64
              <0x35>: int64
              <0x36>: int64
              <0x37>: int64
              <0x38>: int64
              <0x39>: int64
              <0x3A>: int64
              <0x3B>: int64
              <0x3C>: int64
              <0x3D>: int64
              <0x3E>: int64
              <0x3F>: int64
              <0x40>: int64
              <0x41>: int64
              <0x42>: int64
              <0x43>: int64
              <0x44>: int64
              <0x45>: int64
              <0x46>: int64
              <0x47>: int64
              <0x48>: int64
              <0x49>: int64
              <0x4A>: int64
              <0x4B>: int64
              <0x4C>: int64
              <0x4D>: int64
              <0x4E>: int64
              <0x4F>: int64
              <0x50>: int64
              <0x51>: int64
              <0x52>: int64
              <0x53>: int64
              <0x54>: int64
              <0x55>: int64
              <0x56>: int64
              <0x57>: int64
              <0x58>: int64
              <0x59>: int64
              <0x5A>: int64
              <0x5B>: int64
              <0x5C>: int64
              <0x5D>: int64
              <0x5E>: int64
              <0x5F>: int64
              <0x60>: int64
              <0x61>: int64
              <0x62>: int64
              <0x63>: int64
              <0x64>: int64
              <0x65>: int64
              <0x66>: int64
              <0x67>: int64
              <0x68>: 
              ...
              : int64
              ▁Mobile: int64
              ▁Tasarım: int64
              Nerede: int64
              ▁reddedil: int64
              ▁hitap: int64
              ▁tarayıcı: int64
              ▁teşkilatı: int64
              ▁köpeği: int64
              ▁söyleyerek: int64
              ▁Moldova: int64
              ▁milletvekilliği: int64
              ▁kabuğu: int64
              ▁direktörlüğü: int64
              Fransa: int64
              Åž: int64
              Yerleşim: int64
              ▁ortaokul: int64
              ▁entegre: int64
              ▁Radio: int64
              ▁kolej: int64
              ▁Filipinler: int64
              ▁verilebilir: int64
              ▁müdürlüğü: int64
              ▁Budapeşte: int64
              ▁Belarus: int64
              ▁kritik: int64
              Macaristan: int64
              ▁koridor: int64
              Kitab: int64
              ▁Fırat: int64
              ▁üssü: int64
              ://: int64
              Hürriyet: int64
              ▁sohbet: int64
              ▁karikatür: int64
              ▁ünite: int64
              Å: int64
              ć: int64
              «: int64
              ã: int64
              special: struct<unk: int64, bos: int64, eos: int64, pad: int64>
                child 0, unk: int64
                child 1, bos: int64
                child 2, eos: int64
                child 3, pad: int64
              stats: list<item: struct<label: string, chars: int64, tokens: int64, chars_per_token: double, unk: int64, r (... 19 chars omitted)
                child 0, item: struct<label: string, chars: int64, tokens: int64, chars_per_token: double, unk: int64, roundtrip_ok (... 7 chars omitted)
                    child 0, label: string
                    child 1, chars: int64
                    child 2, tokens: int64
                    child 3, chars_per_token: double
                    child 4, unk: int64
                    child 5, roundtrip_ok: bool
              piece_size: int64
              args: struct<vocab: int64, model: string, sentences: int64, coverage: double, out: string, reuse: bool>
                child 0, vocab: int64
                child 1, model: string
                child 2, sentences: int64
                child 3, coverage: double
                child 4, out: string
                child 5, reuse: bool
              to
              {'args': {'vocab': Value('int64'), 'model': Value('string'), 'sentences': Value('int64'), 'coverage': Value('float64'), 'out': Value('string'), 'reuse': Value('bool')}, 'piece_size': Value('int64'), 'special': {'unk': Value('int64'), 'bos': Value('int64'), 'eos': Value('int64'), 'pad': Value('int64')}, 'stats': List({'label': Value('string'), 'chars': Value('int64'), 'tokens': Value('int64'), 'chars_per_token': Value('float64'), 'unk': Value('int64'), 'roundtrip_ok': 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.

my_turkish_corpus_1

Cleaned and tokenized Turkish text corpus for language model training.

Dataset Summary

Property Value
Language Turkish
Token count ~369M
Vocab size 8192 (SentencePiece Unigram)
UNK rate 0%
Chars/token 3.62
Token dtype int32

Cleaning

  • Fixed 38K+ broken Latin-1→UTF8 encoding errors
  • Removed Myanmar/Burmese contamination (58 lines)
  • Removed HTML tags, junk lines, empty lines, adjacent duplicates
  • Normalized whitespace, removed soft hyphens & non-breaking spaces

Files

File Description Size
tr_unigram_8192_corpus_ids.npy Tokenized corpus (flat int32) ~1.48 GB
tr_unigram_8192.model SentencePiece Unigram model ~374 KB
tr_unigram_8192.vocab Vocabulary text file ~144 KB
spm_vocab.json Vocabulary JSON (piece→id) ~155 KB
spm_meta.json Training metadata ~586 B

Usage

import numpy as np
from huggingface_hub import hf_hub_download
import sentencepiece as spm

npy = hf_hub_download("dcx514ai/my_turkish_corpus_1", "tr_unigram_8192_corpus_ids.npy")
mdl = hf_hub_download("dcx514ai/my_turkish_corpus_1", "tr_unigram_8192.model")

ids = np.load(npy)  # ~369M tokens
sp = spm.SentencePieceProcessor(model_file=mdl)
text = sp.decode(ids[:100].tolist())
print(text)

Stats

  • tr_corpus_clean.txt: 2,029,958 lines / 696 MB
  • tr_corpus2_clean.txt: 419,629 lines / 640 MB
  • Total: 2,449,587 clean lines / ~1.34 GB raw text → 369M tokens
Downloads last month
88