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 converted with one Docling pipeline. The conversion serializes the resulting Docling document to DocLang 0.10 XML (dclg). Each row also carries the ViDoRe theme, language, source file name, and the pipeline and vision-language model preset that produced it. The dataset holds all 189 PDFs of the eight ViDoRe V3 repositories, which amount to 19,252 pages, converted once per pipeline.
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.
Conversion pipelines
The same PDFs are converted with two Docling pipelines. Each pipeline is a separate Hugging Face configuration of this dataset.
| Configuration | Docling pipeline | pipeline column |
vlm_preset column |
Vision-language model |
|---|---|---|---|---|
standard |
Standard PDF pipeline | standard |
null | none |
granite_docling_v2_500m |
VLM pipeline | granite-docling-v2 |
granite_docling_v2_500m |
Granite Docling V2 500M |
The standard pipeline derives the layout and the table structure with dedicated models and does not use a vision-language model. The VLM pipeline instead has Granite Docling V2, a vision-language model of the Docling project, convert each page image directly to DocLang.
Both configurations hold the same documents in the same order, so the rows of one configuration pair up one-to-one with the rows of the other on doc_id. The dataset is therefore also a side-by-side comparison of two conversions of the same PDF, for example to study how much text and structure each pipeline recovers.
Configurations and splits
A Hugging Face configuration selects the conversion pipeline. Within a configuration, the train split holds all eight ViDoRe themes, and each theme is also available as its own split, named after the theme key. The standard configuration is the default, so a call that omits the configuration name reads the standard conversions. The files follow the same layout in the repository, one directory per configuration with one Parquet file per theme: data/standard/hr.parquet holds the standard conversion of the HR theme, and data/granite_docling_v2_500m/hr.parquet holds its Granite Docling V2 conversion.
| Split | ViDoRe V3 theme | Source repository | Language | Documents | Pages | dclg characters (standard) |
dclg characters (granite_docling_v2_500m) |
|---|---|---|---|---|---|---|---|
hr |
HR | vidore/vidore_v3_hr |
en | 14 | 1,110 | 8,001,955 | 5,299,847 |
finance_en |
Finance - EN | vidore/vidore_v3_finance_en |
en | 6 | 2,942 | 16,042,723 | 15,933,643 |
industrial |
Industrial | vidore/vidore_v3_industrial |
en | 27 | 5,244 | 21,597,201 | 18,797,019 |
pharmaceuticals |
Pharmaceuticals | vidore/vidore_v3_pharmaceuticals |
en | 52 | 2,313 | 7,392,001 | 6,478,425 |
computer_science |
Computer Science | vidore/vidore_v3_computer_science |
en | 2 | 1,360 | 6,720,866 | 6,414,283 |
energy |
Energy | vidore/vidore_v3_energy |
fr | 41 | 2,225 | 12,401,507 | 10,097,232 |
physics |
Physics | vidore/vidore_v3_physics |
fr | 42 | 1,674 | 5,975,668 | 4,133,586 |
finance_fr |
Finance - FR | vidore/vidore_v3_finance_fr |
fr | 5 | 2,384 | 16,522,253 | 14,860,741 |
train |
All themes | 189 | 19,252 | 94,654,174 | 82,014,776 |
Every PDF of the eight source repositories has exactly one row per configuration, and the page counts match the page counts of the ViDoRe V3 corpus subsets. Within a theme, both configurations report the same doc_id values and the same page_count per document.
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 one split without downloading it in full. The second argument selects the configuration, standard or granite_docling_v2_500m, and the split selects the theme, such as hr, physics, or train for all themes.
from datasets import load_dataset
documents = load_dataset(
"docling-project/doclang-vidore",
"granite_docling_v2_500m",
split="hr",
streaming=True,
)
document = next(iter(documents))
print(document["pipeline"], document["dataset"], document["doc_id"], document["page_count"])
Rows pair up across configurations, so the two conversions of one theme can be read side by side:
standard = load_dataset("docling-project/doclang-vidore", "standard", split="physics")
granite = load_dataset(
"docling-project/doclang-vidore", "granite_docling_v2_500m", split="physics"
)
print(standard.num_rows, granite.num_rows, standard[0]["doc_id"] == granite[0]["doc_id"])
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 split 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 that produced the conversion, standard or granite-docling-v2. |
vlm_preset |
string | Preset of the VLM pipeline, granite_docling_v2_500m. Null in the standard configuration, because the standard pipeline does not use a vision-language model. |
Rows are sorted by doc_id within each split. 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
- Pipelines: both pipelines ran through a docling-serve endpoint with OCR and table structure conversion enabled. The
standardconfiguration uses the standard Docling PDF pipeline, which derives layout and table structure with dedicated models and does not use a vision-language model. Thegranite_docling_v2_500mconfiguration uses the VLM pipeline with thegranite_docling_v2_500mpreset, where Granite Docling V2 converts each page image directly to DocLang. - Serialization: the returned Docling document was serialized to DocLang 0.10 with
docling-core2.109.0 and thedoclang0.10.1 package, the same way for both pipelines. 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}
}
The granite_docling_v2_500m conversions were produced by Granite Docling V2, the vision-language model family of the Docling project. Please cite its technical report when you use them:
@techreport{GraniteDoclingV2,
author = {Nassar, Ahmed and Omenetti, Matteo and Auer, Christoph and Berrospi Ramis, Cesar and Dolfi, Michele and G{\"u}rb{\"u}z, Said and Kuropiatnyk, Viktor and Livathinos, Nikolaos and Lysak, Maksym and Meijer, Ingmar and Strohmeyer, Tim and Vagenas, Panos and Weber, Valery and Yavuz, Ahmetcan and DeAlcala, Daniel and El Hachem, Peter and Pippi, Vittorio and Vivoli, Emmanuele and Staar, Peter},
month = {11},
title = {Granite Docling V2: Technical Report},
url = {https://arxiv.org/abs/2611.37727},
eprint = {2611.37727},
doi = {10.48550/arXiv.2611.37727},
year = {2026}
}
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
- 29