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
reference: string
release_lane: string
response_sha256: string
segment_path: list<item: int64>
  child 0, item: int64
sha256: string
source_licence: string
subset: string
version_title: string
word_span_zero_based_half_open: list<item: int64>
  child 0, item: int64
work: string
notice: string
corpus_version: string
release_licence: string
htext_release: string
sources: list<item: struct<branches: list<item: struct<sha256: string, url: string>>, credit: string, edition (... 185 chars omitted)
  child 0, item: struct<branches: list<item: struct<sha256: string, url: string>>, credit: string, edition: string, e (... 173 chars omitted)
      child 0, branches: list<item: struct<sha256: string, url: string>>
          child 0, item: struct<sha256: string, url: string>
              child 0, sha256: string
              child 1, url: string
      child 1, credit: string
      child 2, edition: string
      child 3, edition_url: string
      child 4, lane: string
      child 5, licence_mapping_url: string
      child 6, licence_url: string
      child 7, rights_basis: string
      child 8, source_licence: string
      child 9, version_metadata_url: string
      child 10, work: string
changes: string
known_limitations: list<item: string>
  child 0, item: string
line_indexes: struct<niqqud.index.jsonl: string, plain.index.jsonl: string>
  child 0, niqqud.index.jsonl: string
  child 1, plain.index.jsonl: string
text_quality: string
files: struct<niqqud.txt: struct<bytes: int64, lines: int64, sha256: string>, plain.txt: struct<bytes: int6 (... 33 chars omitted)
  child 0, niqqud.txt: struct<bytes: int64, lines: int64, sha256: string>
      child 0, bytes: int64
      child 1, lines: int64
      child 2, sha256: string
  child 1, plain.txt: struct<bytes: int64, lines: int64, sha256: string>
      child 0, bytes: int64
      child 1, lines: int64
      child 2, sha256: string
name: string
totals: struct<lines: int64, niqqud: int64, plain: int64>
  child 0, lines: int64
  child 1, niqqud: int64
  child 2, plain: int64
schema: string
credit: list<item: string>
  child 0, item: string
to
{'changes': Value('string'), 'corpus_version': Value('string'), 'credit': List(Value('string')), 'files': {'niqqud.txt': {'bytes': Value('int64'), 'lines': Value('int64'), 'sha256': Value('string')}, 'plain.txt': {'bytes': Value('int64'), 'lines': Value('int64'), 'sha256': Value('string')}}, 'htext_release': Value('string'), 'known_limitations': List(Value('string')), 'line_indexes': {'niqqud.index.jsonl': Value('string'), 'plain.index.jsonl': Value('string')}, 'name': Value('string'), 'notice': Value('string'), 'release_licence': Value('string'), 'schema': Value('string'), 'source_licence': Value('string'), 'sources': List({'branches': List({'sha256': Value('string'), 'url': Value('string')}), 'credit': Value('string'), 'edition': Value('string'), 'edition_url': Value('string'), 'lane': Value('string'), 'licence_mapping_url': Value('string'), 'licence_url': Value('string'), 'rights_basis': Value('string'), 'source_licence': Value('string'), 'version_metadata_url': Value('string'), 'work': Value('string')}), 'text_quality': Value('string'), 'totals': {'lines': Value('int64'), 'niqqud': Value('int64'), 'plain': 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
              reference: string
              release_lane: string
              response_sha256: string
              segment_path: list<item: int64>
                child 0, item: int64
              sha256: string
              source_licence: string
              subset: string
              version_title: string
              word_span_zero_based_half_open: list<item: int64>
                child 0, item: int64
              work: string
              notice: string
              corpus_version: string
              release_licence: string
              htext_release: string
              sources: list<item: struct<branches: list<item: struct<sha256: string, url: string>>, credit: string, edition (... 185 chars omitted)
                child 0, item: struct<branches: list<item: struct<sha256: string, url: string>>, credit: string, edition: string, e (... 173 chars omitted)
                    child 0, branches: list<item: struct<sha256: string, url: string>>
                        child 0, item: struct<sha256: string, url: string>
                            child 0, sha256: string
                            child 1, url: string
                    child 1, credit: string
                    child 2, edition: string
                    child 3, edition_url: string
                    child 4, lane: string
                    child 5, licence_mapping_url: string
                    child 6, licence_url: string
                    child 7, rights_basis: string
                    child 8, source_licence: string
                    child 9, version_metadata_url: string
                    child 10, work: string
              changes: string
              known_limitations: list<item: string>
                child 0, item: string
              line_indexes: struct<niqqud.index.jsonl: string, plain.index.jsonl: string>
                child 0, niqqud.index.jsonl: string
                child 1, plain.index.jsonl: string
              text_quality: string
              files: struct<niqqud.txt: struct<bytes: int64, lines: int64, sha256: string>, plain.txt: struct<bytes: int6 (... 33 chars omitted)
                child 0, niqqud.txt: struct<bytes: int64, lines: int64, sha256: string>
                    child 0, bytes: int64
                    child 1, lines: int64
                    child 2, sha256: string
                child 1, plain.txt: struct<bytes: int64, lines: int64, sha256: string>
                    child 0, bytes: int64
                    child 1, lines: int64
                    child 2, sha256: string
              name: string
              totals: struct<lines: int64, niqqud: int64, plain: int64>
                child 0, lines: int64
                child 1, niqqud: int64
                child 2, plain: int64
              schema: string
              credit: list<item: string>
                child 0, item: string
              to
              {'changes': Value('string'), 'corpus_version': Value('string'), 'credit': List(Value('string')), 'files': {'niqqud.txt': {'bytes': Value('int64'), 'lines': Value('int64'), 'sha256': Value('string')}, 'plain.txt': {'bytes': Value('int64'), 'lines': Value('int64'), 'sha256': Value('string')}}, 'htext_release': Value('string'), 'known_limitations': List(Value('string')), 'line_indexes': {'niqqud.index.jsonl': Value('string'), 'plain.index.jsonl': Value('string')}, 'name': Value('string'), 'notice': Value('string'), 'release_licence': Value('string'), 'schema': Value('string'), 'source_licence': Value('string'), 'sources': List({'branches': List({'sha256': Value('string'), 'url': Value('string')}), 'credit': Value('string'), 'edition': Value('string'), 'edition_url': Value('string'), 'lane': Value('string'), 'licence_mapping_url': Value('string'), 'licence_url': Value('string'), 'rights_basis': Value('string'), 'source_licence': Value('string'), 'version_metadata_url': Value('string'), 'work': Value('string')}), 'text_quality': Value('string'), 'totals': {'lines': Value('int64'), 'niqqud': Value('int64'), 'plain': 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.

htext Sefaria v2: Sefer Ha-'ikkarim Hebrew training lines

Hebrew line text for OCR training. The corpus is an increment to the htext collection. HeOCR normalized, segmented and filtered the source text.

Files

Text file Lines
niqqud.txt 0
plain.txt 32,296

Line indexes bind the files to source coordinates. SHA256SUMS covers the package files.

Source and attribution

Sefaria identifies a licence for each exact Hebrew version. The edition metadata lists the source versions and retrieval fingerprints.

  • Sefer HaIkkarim · Sefer Ha-'ikkarim · CC-BY. Credit Joseph Albo, edited by Isaac Husik, Jewish Publication Society of America, Hebrew text digitized by Sefaria. Edition source.

Rights

Source and processed text are available under CC BY 4.0. Retain the source credit and licence when redistributing.

Downloads last month
30