Molbap HF staff commited on
Commit
7b69a28
1 Parent(s): bdd7d8a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -1
README.md CHANGED
@@ -105,7 +105,13 @@ File size and page rendering time are used to set thresholds in the final datase
105
  We get to 48 million pages kept as valid samples.
106
 
107
  As a last step, we use XLM-Roberta to restrict the dataset to an english subset, specifically `papluca/xlm-roberta-base-language-detection` , on the first 512 words of the first page of each document.
108
- Be aware that some documents may have several languages embedded in them, or that some predictions might be inaccurate.
 
 
 
 
 
 
109
 
110
  At the end, each document exists as a pairing of a pdf and a json file containing extensive OCR annotation as well as metadata information about rendering times. The filterings and packaging in
111
  webdataset format are tailored towards multimodal machine learning at scale, specifically image-to-text tasks.
 
105
  We get to 48 million pages kept as valid samples.
106
 
107
  As a last step, we use XLM-Roberta to restrict the dataset to an english subset, specifically `papluca/xlm-roberta-base-language-detection` , on the first 512 words of the first page of each document.
108
+ Be aware that some documents may have several languages embedded in them, or that some predictions might be inaccurate. A majority of documents from the original corpus are in English language.
109
+
110
+
111
+ <center>
112
+ <img src="https://huggingface.co/datasets/pixparse/pdfa-english-train/resolve/main/doc_images/languages_pdfa_xlmroberta.png" alt="A histogram of languages count in the PDFA dataset." width="600" height="300">
113
+ <p><em>A histogram of language distribution taken on a fraction of the original -non-filtered on language- PDFA dataset. </em></p>
114
+ </center>
115
 
116
  At the end, each document exists as a pairing of a pdf and a json file containing extensive OCR annotation as well as metadata information about rendering times. The filterings and packaging in
117
  webdataset format are tailored towards multimodal machine learning at scale, specifically image-to-text tasks.