The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
kind: string
pg: int64
sha256: string
subset: string
length_profile_targets: struct<max_chars: int64, share_31_55: list<item: double>, min_share_36_47: double, median: list<item (... 9 chars omitted)
child 0, max_chars: int64
child 1, share_31_55: list<item: double>
child 0, item: double
child 2, min_share_36_47: double
child 3, median: list<item: int64>
child 0, item: int64
corpus_version: string
text_quality: string
release: struct<htext_release: string, release_name: string, release_licence: string, entries_admitted: int64 (... 48 chars omitted)
child 0, htext_release: string
child 1, release_name: string
child 2, release_licence: string
child 3, entries_admitted: int64
child 4, source_licences: struct<Public Domain: int64>
child 0, Public Domain: int64
out: list<item: struct<pg: int64, title: string, reason: string>>
child 0, item: struct<pg: int64, title: string, reason: string>
child 0, pg: int64
child 1, title: string
child 2, reason: string
credit: struct<text: string, url: string>
child 0, text: string
child 1, url: string
builder: struct<package: string, version: string>
child 0, package: string
child 1, version: string
schema: string
works: list<item: struct<pg: int64, title: string, lines: struct<plain: int64, niqqud: int64>>>
child 0, item: struct<pg: int64, title: string, lines: struct<plain: int64, niqqud: int64>>
child 0, pg: int64
child 1, title: string
child 2, lines: struct<
...
4
child 1, leakage_fixtures: list<item: struct<repository: string, path: string, commit: string, sha256: string, lines: int64, st (... 14 chars omitted)
child 0, item: struct<repository: string, path: string, commit: string, sha256: string, lines: int64, stripped: boo (... 2 chars omitted)
child 0, repository: string
child 1, path: string
child 2, commit: string
child 3, sha256: string
child 4, lines: int64
child 5, stripped: bool
child 2, dedup_against: list<item: struct<file: string, sha256: string>>
child 0, item: struct<file: string, sha256: string>
child 0, file: string
child 1, sha256: string
child 3, length_profile_source: string
child 4, fit_check: struct<ran: bool, hocrsyngen_version: null, hocrsyngen_commit: string, bodies: list<item: struct<tem (... 112 chars omitted)
child 0, ran: bool
child 1, hocrsyngen_version: null
child 2, hocrsyngen_commit: string
child 3, bodies: list<item: struct<template_id: string, font_file: string, size: int64, width: int64, rows_per_line: (... 7 chars omitted)
child 0, item: struct<template_id: string, font_file: string, size: int64, width: int64, rows_per_line: int64>
child 0, template_id: string
child 1, font_file: string
child 2, size: int64
child 3, width: int64
child 4, rows_per_line: int64
child 4, maqaf_glyph_check: bool
to
{'schema': Value('string'), 'name': Value('string'), 'builder': {'package': Value('string'), 'version': Value('string')}, 'credit': {'text': Value('string'), 'url': Value('string')}, 'licence': {'outputs': Value('string'), 'source': Value('string')}, 'htext_release': Value('string'), 'release': {'htext_release': Value('string'), 'release_name': Value('string'), 'release_licence': Value('string'), 'entries_admitted': Value('int64'), 'source_licences': {'Public Domain': Value('int64')}}, 'text_quality': Value('string'), 'source_tag': Value('string'), 'source': {'catalogue': {'file': Value('string'), 'url': Value('string'), 'sha256': Value('string'), 'rows': Value('int64'), 'fetched_at': Value('timestamp[s]'), 'hebrew_rows': Value('int64')}, 'sources_sha256': Value('string')}, 'works': List({'pg': Value('int64'), 'title': Value('string'), 'lines': {'plain': Value('int64'), 'niqqud': Value('int64')}}), 'out': List({'pg': Value('int64'), 'title': Value('string'), 'reason': Value('string')}), 'inputs': {'eval_reservations': List({'schema': Value('string'), 'set': Value('string'), 'sha256': Value('string'), 'units': {'pby': Value('int64'), 'reshumot': Value('int64'), 'plenary': Value('int64'), 'knesset_protocol': Value('int64'), 'wikisource': Value('int64'), 'benyehuda_nli_aligned': Value('int64'), 'hash': Value('int64'), 'ia': Value('int64'), 'sefaria': Value('int64'), 'tanakh_range': Value('int64'), 'doi': Value('int64'), 'hewikinews': Value('int64')}}), 'leakage_fixtures': List({
...
t64'), 'sha256': Value('string'), 'bytes': Value('int64'), 'length_profile': {'lines': Value('int64'), 'max_chars': Value('int64'), 'median': Value('int64'), 'share_31_55': Value('float64'), 'share_36_47': Value('float64')}, 'length_profile_passes': {'max_chars': Value('bool'), 'share_31_55': Value('bool'), 'share_36_47': Value('bool'), 'median': Value('bool')}}, 'gutenberg_lines_niqqud_v1.txt': {'subset': Value('string'), 'lines': Value('int64'), 'sha256': Value('string'), 'bytes': Value('int64'), 'length_profile': {'lines': Value('int64'), 'max_chars': Value('int64'), 'median': Value('int64'), 'share_31_55': Value('float64'), 'share_36_47': Value('float64')}, 'length_profile_passes': {'max_chars': Value('bool'), 'share_31_55': Value('bool'), 'share_36_47': Value('bool'), 'median': Value('bool')}}}, 'pipeline': {'blocks_dropped:footnote': Value('int64'), 'blocks_dropped:no_hebrew': Value('int64'), 'paragraphs:body': Value('int64'), 'paragraphs:heading': Value('int64'), 'segments': Value('int64'), 'segments_dropped:charset': Value('int64'), 'segments_dropped:duplicate': Value('int64'), 'segments_dropped:fit:archive_card:too_many_rows': Value('int64'), 'segments_dropped:fit:ledger:word_too_wide': Value('int64'), 'segments_dropped:in_other_corpus': Value('int64'), 'segments_dropped:too_few_letters': Value('int64')}, 'length_profile_targets': {'max_chars': Value('int64'), 'share_31_55': List(Value('float64')), 'min_share_36_47': Value('float64'), 'median': List(Value('int64'))}}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 151, 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 131, 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 574, 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
kind: string
pg: int64
sha256: string
subset: string
length_profile_targets: struct<max_chars: int64, share_31_55: list<item: double>, min_share_36_47: double, median: list<item (... 9 chars omitted)
child 0, max_chars: int64
child 1, share_31_55: list<item: double>
child 0, item: double
child 2, min_share_36_47: double
child 3, median: list<item: int64>
child 0, item: int64
corpus_version: string
text_quality: string
release: struct<htext_release: string, release_name: string, release_licence: string, entries_admitted: int64 (... 48 chars omitted)
child 0, htext_release: string
child 1, release_name: string
child 2, release_licence: string
child 3, entries_admitted: int64
child 4, source_licences: struct<Public Domain: int64>
child 0, Public Domain: int64
out: list<item: struct<pg: int64, title: string, reason: string>>
child 0, item: struct<pg: int64, title: string, reason: string>
child 0, pg: int64
child 1, title: string
child 2, reason: string
credit: struct<text: string, url: string>
child 0, text: string
child 1, url: string
builder: struct<package: string, version: string>
child 0, package: string
child 1, version: string
schema: string
works: list<item: struct<pg: int64, title: string, lines: struct<plain: int64, niqqud: int64>>>
child 0, item: struct<pg: int64, title: string, lines: struct<plain: int64, niqqud: int64>>
child 0, pg: int64
child 1, title: string
child 2, lines: struct<
...
4
child 1, leakage_fixtures: list<item: struct<repository: string, path: string, commit: string, sha256: string, lines: int64, st (... 14 chars omitted)
child 0, item: struct<repository: string, path: string, commit: string, sha256: string, lines: int64, stripped: boo (... 2 chars omitted)
child 0, repository: string
child 1, path: string
child 2, commit: string
child 3, sha256: string
child 4, lines: int64
child 5, stripped: bool
child 2, dedup_against: list<item: struct<file: string, sha256: string>>
child 0, item: struct<file: string, sha256: string>
child 0, file: string
child 1, sha256: string
child 3, length_profile_source: string
child 4, fit_check: struct<ran: bool, hocrsyngen_version: null, hocrsyngen_commit: string, bodies: list<item: struct<tem (... 112 chars omitted)
child 0, ran: bool
child 1, hocrsyngen_version: null
child 2, hocrsyngen_commit: string
child 3, bodies: list<item: struct<template_id: string, font_file: string, size: int64, width: int64, rows_per_line: (... 7 chars omitted)
child 0, item: struct<template_id: string, font_file: string, size: int64, width: int64, rows_per_line: int64>
child 0, template_id: string
child 1, font_file: string
child 2, size: int64
child 3, width: int64
child 4, rows_per_line: int64
child 4, maqaf_glyph_check: bool
to
{'schema': Value('string'), 'name': Value('string'), 'builder': {'package': Value('string'), 'version': Value('string')}, 'credit': {'text': Value('string'), 'url': Value('string')}, 'licence': {'outputs': Value('string'), 'source': Value('string')}, 'htext_release': Value('string'), 'release': {'htext_release': Value('string'), 'release_name': Value('string'), 'release_licence': Value('string'), 'entries_admitted': Value('int64'), 'source_licences': {'Public Domain': Value('int64')}}, 'text_quality': Value('string'), 'source_tag': Value('string'), 'source': {'catalogue': {'file': Value('string'), 'url': Value('string'), 'sha256': Value('string'), 'rows': Value('int64'), 'fetched_at': Value('timestamp[s]'), 'hebrew_rows': Value('int64')}, 'sources_sha256': Value('string')}, 'works': List({'pg': Value('int64'), 'title': Value('string'), 'lines': {'plain': Value('int64'), 'niqqud': Value('int64')}}), 'out': List({'pg': Value('int64'), 'title': Value('string'), 'reason': Value('string')}), 'inputs': {'eval_reservations': List({'schema': Value('string'), 'set': Value('string'), 'sha256': Value('string'), 'units': {'pby': Value('int64'), 'reshumot': Value('int64'), 'plenary': Value('int64'), 'knesset_protocol': Value('int64'), 'wikisource': Value('int64'), 'benyehuda_nli_aligned': Value('int64'), 'hash': Value('int64'), 'ia': Value('int64'), 'sefaria': Value('int64'), 'tanakh_range': Value('int64'), 'doi': Value('int64'), 'hewikinews': Value('int64')}}), 'leakage_fixtures': List({
...
t64'), 'sha256': Value('string'), 'bytes': Value('int64'), 'length_profile': {'lines': Value('int64'), 'max_chars': Value('int64'), 'median': Value('int64'), 'share_31_55': Value('float64'), 'share_36_47': Value('float64')}, 'length_profile_passes': {'max_chars': Value('bool'), 'share_31_55': Value('bool'), 'share_36_47': Value('bool'), 'median': Value('bool')}}, 'gutenberg_lines_niqqud_v1.txt': {'subset': Value('string'), 'lines': Value('int64'), 'sha256': Value('string'), 'bytes': Value('int64'), 'length_profile': {'lines': Value('int64'), 'max_chars': Value('int64'), 'median': Value('int64'), 'share_31_55': Value('float64'), 'share_36_47': Value('float64')}, 'length_profile_passes': {'max_chars': Value('bool'), 'share_31_55': Value('bool'), 'share_36_47': Value('bool'), 'median': Value('bool')}}}, 'pipeline': {'blocks_dropped:footnote': Value('int64'), 'blocks_dropped:no_hebrew': Value('int64'), 'paragraphs:body': Value('int64'), 'paragraphs:heading': Value('int64'), 'segments': Value('int64'), 'segments_dropped:charset': Value('int64'), 'segments_dropped:duplicate': Value('int64'), 'segments_dropped:fit:archive_card:too_many_rows': Value('int64'), 'segments_dropped:fit:ledger:word_too_wide': Value('int64'), 'segments_dropped:in_other_corpus': Value('int64'), 'segments_dropped:too_few_letters': Value('int64')}, 'length_profile_targets': {'max_chars': Value('int64'), 'share_31_55': List(Value('float64')), 'min_share_36_47': Value('float64'), 'median': List(Value('int64'))}}
because column names don't matchNeed 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 Gutenberg v1: public-domain Hebrew training lines
Hebrew text lines for OCR training from two public-domain Project Gutenberg ebooks (PG 43740, Bet Nekhot ha-Halakhot, responsa of the Geonim; PG 45252, Isaac Erter's Ha-Tsofeh le-Veit Yisrael), 5,316 lines. Only the text between Project Gutenberg's start and end markers is used, and the producers' electronic-edition notes are left out.
Files
| Text file | Lines |
|---|---|
gutenberg_lines_plain_v1.txt |
5,315 |
gutenberg_lines_niqqud_v1.txt |
1 |
*_arc files hold Aramaic-heavy works (Talmud tractates, Targum, Zohar); leave them out for a Hebrew-only fit.
The line index binds every line to its work, edition and segment; the rights index gives each edition's licence,
credit and source URL. SHA256SUMS covers the package files. CORPUS_CARD.md and corpus_card.json describe the build.
Evaluation hygiene
HeOCR's independent CLEAN check (2026-11-27) kept every line. 19,073 lines of the Sefaria v3 and Gutenberg tranche share text with material HeOCR uses for evaluation; they are tagged in a private sidecar, not dropped (contamination policy v2, amendment 1), and HeOCR evaluations report results both with and without them. Works that an evaluation set holds out whole are not in this release.
Rights and credit
Released under CC0 1.0 / public domain. Transcriptions by Project Gutenberg volunteers (https://www.gutenberg.org); the works are in the public domain.
Built by HeOCR (https://github.com/HeOCR) with htext (https://github.com/HeOCR/htext).
- Downloads last month
- 34