Molbap HF staff commited on
Commit
875bf2c
·
verified ·
1 Parent(s): ab8d76a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -3
README.md CHANGED
@@ -21,9 +21,14 @@ Each document exists as a collection of a pdf, a tiff image with the same conten
21
 
22
  ### Usage
23
 
24
- This instance of IDL is in [webdataset](https://github.com/webdataset/webdataset/commits/main) .tar format. It can be used with webdataset library or upcoming releases of Hugging Face `datasets`.
25
-
26
- ...More Detail TBD
 
 
 
 
 
27
 
28
  ### Data Splits
29
 
 
21
 
22
  ### Usage
23
 
24
+ This instance of IDL is in [webdataset](https://github.com/webdataset/webdataset/commits/main) .tar format. It can be used with webdataset library or current releases of Hugging Face `datasets`.
25
+ Here is an example using the "streaming" parameter. We do recommend downloading the dataset to save bandwidth.
26
+
27
+ ```python
28
+ dataset = load_dataset('pixparse/IDL-wds', streaming=True)
29
+ print(next(iter(dataset['train'])).keys())
30
+ >> dict_keys(['__key__', '__url__', 'json', 'ocr', 'pdf', 'tif'])
31
+ ```
32
 
33
  ### Data Splits
34