File size: 684 Bytes
d9f2e8f
 
 
 
b1623c8
 
 
 
 
 
6983bf3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Evaporate

Datasets for paper "Evaporate: Language Models Enable Simple Systems for Generating Structured Views of Heterogeneous Data Lakes".


The best way to use this data is by cloning: 
```
git lfs install
git clone https://huggingface.co/datasets/hazyresearch/evaporate
```

We can then unzip everything using this code snippet:
```

import os

data_path = "evaporate/data"

# list paths in data_path
data_path_files = os.listdir(data_path)
for path in data_path_files:
    sub_path = f"{data_path}/{path}"
    # tar unzip 'docs.tar.gz' in the sub_paths
    if os.path.exists(f"{sub_path}/docs.tar.gz"):
        os.system(f"tar -xvf {sub_path}/docs.tar.gz -C {sub_path}")
```