Update README.md
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167---license: cc-by-4.0configs:- config_name: COCOtextdata_files:- split: trainpath: COCOtext/train-*- split: valpath: COCOtext/val-*- config_name: TextOCRdata_files:- split: trainpath: TextOCR/train-*- split: valpath: TextOCR/val-*- config_name: pubtables-1mdata_files:- split: trainpath: pubtables-1m/train-*- split: valpath: pubtables-1m/val-*- split: testpath: pubtables-1m/test-*dataset_info:- config_name: COCOtextfeatures:- name: sample_iddtype: string- name: dataset_namedtype: string- name: task_namedtype: string- name: querysequence: string- name: annotationssequence: string- name: img_iddtype: string- name: query_infostruct:- name: notesdtype: string- name: source_attributionsequence: string- name: source_licensedtype: string- name: source_urldtype: string- name: annotations_infostruct:- name: notesdtype: string- name: source_attributionsequence: string- name: source_licensedtype: string- name: source_urldtype: string- name: image_infostruct:- name: notesdtype: string- name: image_sha256dtype: stringsplits:- name: trainnum_bytes: 66261559num_examples: 46970- name: valnum_bytes: 12498555num_examples: 8892download_size: 15280439dataset_size: 78760114- config_name: TextOCRfeatures:- name: sample_iddtype: string- name: dataset_namedtype: string- name: task_namedtype: string- name: querysequence: string- name: annotationssequence: string- name: img_iddtype: string- name: query_infostruct:- name: notesdtype: string- name: source_licensedtype: string- name: source_urldtype: string- name: annotations_infostruct:- name: notesdtype: string- name: source_licensedtype: string- name: source_urldtype: string- name: image_infostruct:- name: notesdtype: string- name: image_sha256dtype: stringsplits:- name: trainnum_bytes: 123664898num_examples: 43484- name: valnum_bytes: 17736515num_examples: 6232download_size: 35928078dataset_size: 141401413- config_name: pubtables-1mfeatures:- name: sample_iddtype: string- name: dataset_namedtype: string- name: task_namedtype: string- name: querysequence: string- name: annotationssequence: string- name: img_iddtype: string- name: query_infostruct:- name: notesdtype: string- name: source_licensedtype: string- name: source_urldtype: string- name: annotations_infostruct:- name: notesdtype: string- name: source_licensedtype: string- name: source_urldtype: string- name: image_infostruct:- name: notesdtype: string- name: image_sha256dtype: stringsplits:- name: trainnum_bytes: 4515375098num_examples: 1371294- name: valnum_bytes: 568892238num_examples: 172887- name: testnum_bytes: 561231801num_examples: 170466download_size: 1398777256dataset_size: 5645499137---123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202---license: cc-by-4.0configs:- config_name: COCOtextdata_files:- split: trainpath: COCOtext/train-*- split: valpath: COCOtext/val-*- config_name: TextOCRdata_files:- split: trainpath: TextOCR/train-*- split: valpath: TextOCR/val-*- config_name: pubtables-1mdata_files:- split: trainpath: pubtables-1m/train-*- split: valpath: pubtables-1m/val-*- split: testpath: pubtables-1m/test-*dataset_info:- config_name: COCOtextfeatures:- name: sample_iddtype: string- name: dataset_namedtype: string- name: task_namedtype: string- name: querysequence: string- name: annotationssequence: string- name: img_iddtype: string- name: query_infostruct:- name: notesdtype: string- name: source_attributionsequence: string- name: source_licensedtype: string- name: source_urldtype: string- name: annotations_infostruct:- name: notesdtype: string- name: source_attributionsequence: string- name: source_licensedtype: string- name: source_urldtype: string- name: image_infostruct:- name: notesdtype: string- name: image_sha256dtype: stringsplits:- name: trainnum_bytes: 66261559num_examples: 46970- name: valnum_bytes: 12498555num_examples: 8892download_size: 15280439dataset_size: 78760114- config_name: TextOCRfeatures:- name: sample_iddtype: string- name: dataset_namedtype: string- name: task_namedtype: string- name: querysequence: string- name: annotationssequence: string- name: img_iddtype: string- name: query_infostruct:- name: notesdtype: string- name: source_licensedtype: string- name: source_urldtype: string- name: annotations_infostruct:- name: notesdtype: string- name: source_licensedtype: string- name: source_urldtype: string- name: image_infostruct:- name: notesdtype: string- name: image_sha256dtype: stringsplits:- name: trainnum_bytes: 123664898num_examples: 43484- name: valnum_bytes: 17736515num_examples: 6232download_size: 35928078dataset_size: 141401413- config_name: pubtables-1mfeatures:- name: sample_iddtype: string- name: dataset_namedtype: string- name: task_namedtype: string- name: querysequence: string- name: annotationssequence: string- name: img_iddtype: string- name: query_infostruct:- name: notesdtype: string- name: source_licensedtype: string- name: source_urldtype: string- name: annotations_infostruct:- name: notesdtype: string- name: source_licensedtype: string- name: source_urldtype: string- name: image_infostruct:- name: notesdtype: string- name: image_sha256dtype: stringsplits:- name: trainnum_bytes: 4515375098num_examples: 1371294- name: valnum_bytes: 568892238num_examples: 172887- name: testnum_bytes: 561231801num_examples: 170466download_size: 1398777256dataset_size: 5645499137---# BigDocs-7.5M#### Training data for the paper: [BigDocs: An Open and Permissively-Licensed Dataset for Training Multimodal Models on Document and Code Tasks](https://huggingface.co/datasets/ServiceNow/BigDocs-Bench-Collections/)🌐 [Homepage](https://bigdocs.github.io) | 📖 [arXiv](https://arxiv.org/pdf/2412.04626)## 🔔 News- **[2025-04-23]: Initial release of the BigDocs-7.5M data.**## Guide on Data LoadingSome parts of BigDocs-7.5M are distributed without their "image" column, and instead have an "img_id" column. The file `get_bigdocs_75m.py`, part of this repository, provides tooling to substitutes such images back in.```pythonfrom get_bigdocs_75m import get_bigdocs_75mcocotext = get_bigdocs_75m("COCOtext", user_local_path=".../train2014")pubtables1m = get_bigdocs_75m("pubtables-1m", user_local_path=".../PubTables-1M-Detection/images")textocr = get_bigdocs_75m("TextOCR", user_local_path=".../train")```When specified, `user_local_path` must point to one of the third-party datasets listed below.- COCOtext: http://images.cocodataset.org/zips/train2014.zip- pubtables-1m: https://www.microsoft.com/en-us/research/publication/pubtables-1m- TextOCR: https://dl.fbaipublicfiles.com/textvqa/images/train_val_images.zipSee the docstring in `get_bigdocs_75m.py` for more details.## LicensingThe part of this repository generated by us is Copyright ServiceNow 2024 and licensed under the [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/) license.Multiple datasets, documents, and tools were involved in the generation of BigDocs-Bench. We document these dependencies on a per-sample basis through the `query_info`, `annotation_info` and `image_info` fields, respectively documenting the `query`, `annotations` and `image` fields of our datasets.
README.md+202-167