|
--- |
|
license: cc-by-4.0 |
|
task_categories: |
|
- question-answering |
|
language: |
|
- en |
|
pretty_name: DUDE |
|
size_categories: |
|
- 10K<n<100K |
|
--- |
|
|
|
|
|
## Loading the dataset with a specific configuration |
|
|
|
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). |
|
To load a specific configuration, pass a config from one of the following: |
|
|
|
```python |
|
#{bin_}{Amazon,Azure,Tesseract}_{original,due} |
|
['Amazon_due', 'Amazon_original', 'Azure_due', 'Azure_original', 'Tesseract_due', 'Tesseract_original', |
|
'bin_Amazon_due', 'bin_Amazon_original', 'bin_Azure_due', 'bin_Azure_original', 'bin_Tesseract_due', 'bin_Tesseract_original'] |
|
``` |
|
|
|
```python |
|
from datasets import load_dataset |
|
|
|
ds = load_dataset("jordyvl/DUDE_loader", 'Amazon_original') |
|
``` |
|
|
|
|