Datasets:

License:
Dataset Viewer
The dataset viewer is not available for this dataset.
Cannot get the config names for the dataset.
Error code:   RetryableConfigNamesError
Exception:    HfHubHTTPError
Message:      504 Server Error: Gateway Time-out for url: https://huggingface.co/api/datasets/hltcoe/OJ4OCRMT/tree/7171d03b56a42f43c6598fae4d4891a6144c3761?recursive=True&expand=False&cursor=ZXlKbWFXeGxYMjVoYldVaU9pSmtaWFl2VDBvNlF6b3lNREl5T2pReU5DOXdibWMzTWlJc0luUnlaV1ZmYjJsa0lqb2lOalU1TldVeVlXTTFOMk5pTjJKaE5EZGtOVFV5TlRJeU9XRXdNV05oTmpWbVpHVTBPVEZqWmlKOToxMDAw
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 66, in compute_config_names_response
                  config_names = get_dataset_config_names(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 165, in get_dataset_config_names
                  dataset_module = dataset_module_factory(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1664, in dataset_module_factory
                  raise e1 from None
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1621, in dataset_module_factory
                  return HubDatasetModuleFactoryWithoutScript(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1018, in get_module
                  patterns = get_data_patterns(base_path, download_config=self.download_config)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/data_files.py", line 473, in get_data_patterns
                  return _get_data_files_patterns(resolver)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/data_files.py", line 284, in _get_data_files_patterns
                  data_files = pattern_resolver(pattern)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/data_files.py", line 360, in resolve_pattern
                  for filepath, info in fs.glob(pattern, detail=True, **glob_kwargs).items()
                File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/hf_file_system.py", line 521, in glob
                  return super().glob(path, **kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/spec.py", line 604, in glob
                  allpaths = self.find(root, maxdepth=depth, withdirs=True, detail=True, **kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/hf_file_system.py", line 563, in find
                  out = self._ls_tree(path, recursive=True, refresh=refresh, revision=resolved_path.revision, **kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/hf_file_system.py", line 446, in _ls_tree
                  self._ls_tree(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/hf_file_system.py", line 463, in _ls_tree
                  for path_info in tree:
                File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/hf_api.py", line 3140, in list_repo_tree
                  for path_info in paginate(path=tree_url, headers=headers, params={"recursive": recursive, "expand": expand}):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/utils/_pagination.py", line 46, in paginate
                  hf_raise_for_status(r)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/utils/_http.py", line 482, in hf_raise_for_status
                  raise _format(HfHubHTTPError, str(e), response) from e
              huggingface_hub.errors.HfHubHTTPError: 504 Server Error: Gateway Time-out for url: https://huggingface.co/api/datasets/hltcoe/OJ4OCRMT/tree/7171d03b56a42f43c6598fae4d4891a6144c3761?recursive=True&expand=False&cursor=ZXlKbWFXeGxYMjVoYldVaU9pSmtaWFl2VDBvNlF6b3lNREl5T2pReU5DOXdibWMzTWlJc0luUnlaV1ZmYjJsa0lqb2lOalU1TldVeVlXTTFOMk5pTjJKaE5EZGtOVFV5TlRJeU9XRXdNV05oTmpWbVpHVTBPVEZqWmlKOToxMDAw

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.

OJ4OCRMT: A Large Multilingual Dataset for OCR-MT Evaluation

Paul McNamee, Kevin Duh, Cameron Carpenter, Ron Colaianni, Nolan King, and Kenton Murray. Proceedings of Machine Translation Summit XX, Vol. 1: Research Track June 23-27, 2025, Geneva, Switzerland.

The OJ4OCRMT dataset contains source PDF files, rendered images in three resolutions, and text files (both raw extractions, and sentence-boundary split files). There are two partitions, 'dev' and 'test'. Each contains over 1,000 pages of content, with the PDFs, PNGs, and text files available in 23 EU languages.

The dataset is designed to support evaluating systems for translation of document images between any pair of 23 European languages.

The dev partition contains 1,656 pages from 2022. Of these 1,412 (85%) are deemed regular; 193 (12%) contain a table; and, 51 (3%) contain a 'figure'. The test partition contains 1,119 pages, all from 2023. 979 (87%) are regular; 98 (9%) contain a table; and, 42 (4%) contain a 'figure'. Note, all 2,772 pages have translations in all 23 languages. The languages are: Bulgarian, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, German, Greek, Hungarian, Italian, Latvian, Lithuanian, Maltese, Polish, Portuguese, Romanian, Slovak, Slovene, Spanish, and Swedish. See the published paper for details about the dataset.

Each page is identified by a document identifier and a page number. For example, OJ:C:2022:240 is a document identifier. And page 22 of that document is available in the dev set. At the time of publication this URL gives access to that page online: https://eur-lex.europa.eu/legal-content/EN/TXT/PDF/?uri=OJ:C:2022:240:FULL#page=22

For the page identified above, the released dataset contains:

  • (a) raw: text obtained from the 'pdftotext' command dev/OJ:C:2022:240/raw/OJ:C:2022:240:FULL.en.p-22.txt
  • (b) sbd: normalized text obtained by cleaning the raw text and performing sentence splitting dev/OJ:C:2022:240/sbd/OJ:C:2022:240:FULL.en.p-22.txt
  • (c) png72: a PNG image file at 72 dpi resolution dev/OJ:C:2022:240/png72/OJ:C:2022:240:FULL.en.p-22.png
  • (d) png150: a PNG image file at 150 dpi resolution dev/OJ:C:2022:240/png150/OJ:C:2022:240:FULL.en.p-22.png
  • (e) png300: a PNG image file at 300 dpi resolution dev/OJ:C:2022:240/png300/OJ:C:2022:240:FULL.en.p-22.png
  • (f) pdf: a PDF file obtained from the EUR-Lex online portal and using 'pdfseparate' dev/OJ:C:2022:240/pdf/OJ:C:2022:240:FULL.en.p-22.pdf

Splits for the partitions are in TSV format with two-columns: docid [tab] page The eight split files are named {dev,test}.{all,regular,table.figure}.txt

Initial release: 6/16/2025

Downloads last month
10,947