dclg stringlengths 9.7k 5.24M | text_length int64 9.7k 5.24M | page_count int64 2 963 | dataset stringclasses 8
values | dataset_key stringclasses 8
values | repo_id stringclasses 8
values | language stringclasses 2
values | doc_id stringlengths 8 129 | filename stringlengths 12 133 | pipeline stringclasses 1
value | vlm_preset stringclasses 0
values |
|---|---|---|---|---|---|---|---|---|---|---|
"<doclang xmlns=\"https://www.doclang.ai/ns/v0\" version=\"0.10\"><picture><location value=\"405\"/>(...TRUNCATED) | 5,243,190 | 945 | Computer Science | computer_science | vidore/vidore_v3_computer_science | en | Introduction_to_Computer_Science | Introduction_to_Computer_Science.pdf | standard | null |
"<doclang xmlns=\"https://www.doclang.ai/ns/v0\" version=\"0.10\"><heading level=\"2\"><location val(...TRUNCATED) | 1,477,676 | 415 | Computer Science | computer_science | vidore/vidore_v3_computer_science | en | Introduction_to_Python_Programming | Introduction_to_Python_Programming.pdf | standard | null |
"<doclang xmlns=\"https://www.doclang.ai/ns/v0\" version=\"0.10\"><picture><location value=\"40\"/><(...TRUNCATED) | 91,970 | 19 | Energy | energy | vidore/vidore_v3_energy | fr | actualisation_2022_du_potentiel_hydroelectrique_francais | actualisation_2022_du_potentiel_hydroelectrique_francais.pdf | standard | null |
"<doclang xmlns=\"https://www.doclang.ai/ns/v0\" version=\"0.10\"><picture><location value=\"36\"/><(...TRUNCATED) | 47,100 | 4 | Energy | energy | vidore/vidore_v3_energy | fr | auvergne_rhone_alpes_plus_de_26000_emplois_generes_par_lactivite_nucleaire_dedf | auvergne_rhone_alpes_plus_de_26000_emplois_generes_par_lactivite_nucleaire_dedf.pdf | standard | null |
"<doclang xmlns=\"https://www.doclang.ai/ns/v0\" version=\"0.10\"><picture><location value=\"24\"/><(...TRUNCATED) | 206,327 | 43 | Energy | energy | vidore/vidore_v3_energy | fr | bilan_donnees_locales_energie_article_179_decembre2018 | bilan_donnees_locales_energie_article_179_decembre2018.pdf | standard | null |
"<doclang xmlns=\"https://www.doclang.ai/ns/v0\" version=\"0.10\"><picture><location value=\"36\"/><(...TRUNCATED) | 43,175 | 4 | Energy | energy | vidore/vidore_v3_energy | fr | consommation_energie_industrie_2023 | consommation_energie_industrie_2023.pdf | standard | null |
"<doclang xmlns=\"https://www.doclang.ai/ns/v0\" version=\"0.10\"><heading level=\"2\"><location val(...TRUNCATED) | 19,198 | 2 | Energy | energy | vidore/vidore_v3_energy | fr | consommation_et_facture_energetiques_dans_lindustrie | consommation_et_facture_energetiques_dans_lindustrie.pdf | standard | null |
"<doclang xmlns=\"https://www.doclang.ai/ns/v0\" version=\"0.10\"><picture><location value=\"37\"/><(...TRUNCATED) | 446,520 | 104 | Energy | energy | vidore/vidore_v3_energy | fr | datalab_chiffres_cles_des_energies_renouvelables_2023 | datalab_chiffres_cles_des_energies_renouvelables_2023.pdf | standard | null |
"<doclang xmlns=\"https://www.doclang.ai/ns/v0\" version=\"0.10\"><page_header><layer value=\"furnit(...TRUNCATED) | 130,830 | 32 | Energy | energy | vidore/vidore_v3_energy | fr | document_travail_61_reduction_ges_renovations_septembre2022_0 | document_travail_61_reduction_ges_renovations_septembre2022_0.pdf | standard | null |
"<doclang xmlns=\"https://www.doclang.ai/ns/v0\" version=\"0.10\"><picture><location value=\"40\"/><(...TRUNCATED) | 558,383 | 102 | Energy | energy | vidore/vidore_v3_energy | fr | document_travail_72_titan_juillet2025 | document_travail_72_titan_juillet2025.pdf | standard | null |
ViDoRe V3 in DocLang
This dataset contains the source PDF documents of the eight ViDoRe V3 themes, converted to DocLang. ViDoRe V3 is a visual document retrieval and RAG benchmark (paper). Its repositories publish page images, queries, and relevance judgments, and keep the original PDFs under a pdfs/ directory.
Each row is one PDF. The pipeline converted every PDF with the standard Docling PDF pipeline and serialized the resulting Docling document to DocLang 0.10 XML (dclg). Each row also carries the ViDoRe theme, language, and source file name. The dataset holds all 189 PDFs of the eight ViDoRe V3 repositories, which amount to 19,252 pages.
DocLang is an open document markup standard for representing content and structure, including headings, lists, tables, and the position of each element on its page. See the DocLang specification.
Subsets
Each ViDoRe theme is a Hugging Face subset with a train split. The all subset is the default and concatenates the eight themes.
| Subset | ViDoRe V3 theme | Source repository | Language | Documents | Pages | dclg characters |
|---|---|---|---|---|---|---|
hr |
HR | vidore/vidore_v3_hr |
en | 14 | 1,110 | 8,001,955 |
finance_en |
Finance - EN | vidore/vidore_v3_finance_en |
en | 6 | 2,942 | 16,042,723 |
industrial |
Industrial | vidore/vidore_v3_industrial |
en | 27 | 5,244 | 21,597,201 |
pharmaceuticals |
Pharmaceuticals | vidore/vidore_v3_pharmaceuticals |
en | 52 | 2,313 | 7,392,001 |
computer_science |
Computer Science | vidore/vidore_v3_computer_science |
en | 2 | 1,360 | 6,720,866 |
energy |
Energy | vidore/vidore_v3_energy |
fr | 41 | 2,225 | 12,401,507 |
physics |
Physics | vidore/vidore_v3_physics |
fr | 42 | 1,674 | 5,975,668 |
finance_fr |
Finance - FR | vidore/vidore_v3_finance_fr |
fr | 5 | 2,384 | 16,522,253 |
| Total | 189 | 19,252 | 94,654,174 |
Every PDF of the eight source repositories has exactly one row, and the page counts match the page counts of the ViDoRe V3 corpus subsets.
Documents are long: a single row can span hundreds of pages, and the dclg string of one document can exceed several megabytes. Use streaming when you only need a few documents.
Read the dataset
Install the Python packages with pip install datasets docling. Use streaming to read a subset without downloading it in full. Set the second argument to the subset you want, such as hr, physics, or all.
from datasets import load_dataset
documents = load_dataset(
"docling-project/doclang-vidore", "hr", split="train", streaming=True
)
document = next(iter(documents))
print(document["dataset"], document["doc_id"], document["page_count"])
Parse the dclg string into a Docling document. This example exports it as Markdown. Docling converter API
from docling.datamodel.base_models import InputFormat
from docling.document_converter import DocumentConverter
converter = DocumentConverter(allowed_formats=[InputFormat.XML_DOCLANG])
doc = converter.convert_string(document["dclg"], format=InputFormat.XML_DOCLANG).document
print(doc.export_to_markdown())
Pages are separated by <page_break/> elements in dclg. Splitting the string on <page_break/> gives exactly page_count segments, which is a quick way to locate the text of a given page. The segments are fragments, not standalone DocLang documents.
Parquet columns
| Column | Type | Contents |
|---|---|---|
dclg |
string | The converted PDF serialized as DocLang 0.10 XML. |
text_length |
int64 | Number of Unicode characters in the dclg string, including markup. |
page_count |
int64 | Number of pages of the converted document. |
dataset |
string | ViDoRe V3 theme display name, for example Finance - EN. |
dataset_key |
string | Stable theme key, equal to the subset name, for example finance_en. |
repo_id |
string | Source ViDoRe V3 repository on the Hugging Face Hub. |
language |
string | Document language, en or fr. ViDoRe V3 records one language per theme. |
doc_id |
string | Document identifier, equal to the source PDF file name without the extension. It matches the doc_id of the ViDoRe V3 corpus and documents_metadata subsets. |
filename |
string | Source PDF file name in the pdfs/ directory of the ViDoRe V3 repository. |
pipeline |
string | Docling pipeline used for the conversion. Always standard in this dataset. |
vlm_preset |
string | VLM preset of the conversion. Always null, because the standard pipeline does not use one. |
Rows are sorted by doc_id within each subset. The PDF bytes and page images are not included; get them from the source ViDoRe V3 repositories, using filename or doc_id to match documents.
Conversion
- Pipeline: the standard Docling PDF pipeline, run through a docling-serve endpoint. The standard pipeline does not use a vision-language model.
- Serialization: the returned Docling document was serialized to DocLang 0.10 with
docling-core2.109.0 and thedoclang0.10.1 package. Everydclgstring was validated against the DocLang XSD before it was stored. - Layout information: DocLang stores element positions as
<location>values (x_min, y_min, x_max, y_maxrelative to the top-left corner of the page). See the specification for the coordinate normalization.
License
The DocLang conversions in this dataset are distributed under CC BY 4.0, the same license that the ViDoRe V3 repositories declare. The text they contain comes from the source PDFs, so the license of each source document also applies. ViDoRe V3 records it in the license column of the documents_metadata subset of each source repository. Check that column before you reuse the content of a document.
Please also respect the terms of the ViDoRe V3 collection.
Citation
If you use this dataset, please cite the ViDoRe V3 benchmark that provides the source documents:
ViDoRe V3: A Comprehensive Evaluation of Retrieval Augmented Generation in Complex Real-World Scenarios. arXiv:2601.08620.
Please also cite Docling, which produced the conversions:
@techreport{Docling,
author = {Deep Search Team},
month = {8},
title = {Docling Technical Report},
url = {https://arxiv.org/abs/2408.09869},
eprint = {2408.09869},
doi = {10.48550/arXiv.2408.09869},
version = {1.0.0},
year = {2024}
}
Finally, please cite the DocLang specification:
@misc{doclang_2026,
title = {DocLang: Universal AI Document Format},
author = {{DocLang Project}},
year = {2026},
version = {main},
howpublished = {\url{https://github.com/doclang-project/doclang}},
}
More information
- Downloads last month
- -