vkapoor commited on
Commit
2dfb83d
1 Parent(s): ec66a54

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -1
README.md CHANGED
@@ -78,7 +78,8 @@ If you want to work with the dataset in `Huggingface.datasets`, you might also w
78
 
79
  ### Download Settings
80
 
81
- Please set `ignore_verifications=True`. when downloading this dataset, else the download will result in an error:
 
82
 
83
  ```python
84
  from datasets import load_dataset
@@ -86,6 +87,15 @@ from datasets import load_dataset
86
  dataset = load_dataset("kietzmannlab/ecoset", ignore_verifications=True)
87
  ```
88
 
 
 
 
 
 
 
 
 
 
89
  | NOTE: If you get errors like: `FileNotFoundError: [Errno 2] No such file or directory:'<DATASET_PATH>'` this is likely due do having previously downloaded the dataset and then cancelling the download. If this is the case for you, you can fix this error by manually removing the dataset path and reinstalling the dataset. |
90
  | --- |
91
  ## Dataset Structure
 
78
 
79
  ### Download Settings
80
 
81
+ Please set `ignore_verifications=True`. when downloading this dataset, else the download will result in an error, additionally you may need to
82
+ install defusedxml via pip to avoid Permission Errors required by _generate_examples method:
83
 
84
  ```python
85
  from datasets import load_dataset
 
87
  dataset = load_dataset("kietzmannlab/ecoset", ignore_verifications=True)
88
  ```
89
 
90
+ optionally a cache_dir can bde specified where the zip file will be downloaded and extracted
91
+
92
+ ```python
93
+ from datasets import load_dataset
94
+
95
+ dataset = load_dataset("kietzmannlab/ecoset", ignore_verifications=True, cache_dir='/path/to/dir')
96
+ ```
97
+
98
+
99
  | NOTE: If you get errors like: `FileNotFoundError: [Errno 2] No such file or directory:'<DATASET_PATH>'` this is likely due do having previously downloaded the dataset and then cancelling the download. If this is the case for you, you can fix this error by manually removing the dataset path and reinstalling the dataset. |
100
  | --- |
101
  ## Dataset Structure