jordyvl commited on
Commit
e9b63fe
1 Parent(s): 0ea6c3d

Update README.md

Browse files

Some additional instructions added, will add relative timings for loading dataset and howto-guide to create a submission on RRC

Files changed (1) hide show
  1. README.md +20 -1
README.md CHANGED
@@ -7,4 +7,23 @@ language:
7
  pretty_name: DUDE
8
  size_categories:
9
  - 10K<n<100K
10
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  pretty_name: DUDE
8
  size_categories:
9
  - 10K<n<100K
10
+ ---
11
+
12
+
13
+ ## Loading the dataset with a specific configuration
14
+
15
+ There are 3 different OCR versions to choose from with their original format or standardized DUE format, as well as the option to load the documents as filepaths or as binaries (PDF).
16
+ To load a specific configuration, pass a config from one of the following:
17
+
18
+ ```python
19
+ #{bin_}{Amazon,Azure,Tesseract}_{original,due}
20
+ ['Amazon_due', 'Amazon_original', 'Azure_due', 'Azure_original', 'Tesseract_due', 'Tesseract_original',
21
+ 'bin_Amazon_due', 'bin_Amazon_original', 'bin_Azure_due', 'bin_Azure_original', 'bin_Tesseract_due', 'bin_Tesseract_original']
22
+ ```
23
+
24
+ ```python
25
+ from datasets import load_dataset
26
+
27
+ ds = load_dataset("jordyvl/DUDE_loader", 'Amazon_original')
28
+ ```
29
+