Datasets:
Shorten dataset download instructions
Browse files
README.md
CHANGED
|
@@ -40,31 +40,14 @@ Each version's README describes its repairs, exclusions and any sampling. `tasks
|
|
| 40 |
|
| 41 |
## Download retained tasks
|
| 42 |
|
| 43 |
-
Download one version without downloading its images:
|
| 44 |
-
|
| 45 |
```python
|
| 46 |
from huggingface_hub import hf_hub_download
|
| 47 |
|
| 48 |
-
source = "camel-ai__SETA-Env_filtered_stages_3_4_5"
|
| 49 |
parquet = hf_hub_download(
|
| 50 |
-
|
|
|
|
| 51 |
repo_type="dataset",
|
| 52 |
-
filename=f"{source}/tasks.parquet",
|
| 53 |
-
local_dir="data",
|
| 54 |
)
|
| 55 |
```
|
| 56 |
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
To download the retained tasks and all available cached images together:
|
| 60 |
-
|
| 61 |
-
```python
|
| 62 |
-
from huggingface_hub import snapshot_download
|
| 63 |
-
|
| 64 |
-
snapshot_download(
|
| 65 |
-
repo_id="FWeindel/validated-tasks",
|
| 66 |
-
repo_type="dataset",
|
| 67 |
-
allow_patterns=[f"{source}/tasks.parquet", f"{source}/cached_images/**"],
|
| 68 |
-
local_dir="data",
|
| 69 |
-
)
|
| 70 |
-
```
|
|
|
|
| 40 |
|
| 41 |
## Download retained tasks
|
| 42 |
|
|
|
|
|
|
|
| 43 |
```python
|
| 44 |
from huggingface_hub import hf_hub_download
|
| 45 |
|
|
|
|
| 46 |
parquet = hf_hub_download(
|
| 47 |
+
"FWeindel/validated-tasks",
|
| 48 |
+
"camel-ai__SETA-Env_filtered_stages_3_4_5/tasks.parquet",
|
| 49 |
repo_type="dataset",
|
|
|
|
|
|
|
| 50 |
)
|
| 51 |
```
|
| 52 |
|
| 53 |
+
The [validation runner](https://github.com/MLI-lab/OT-next-data/blob/main/validation/README.md) automatically downloads the required cached Apptainer images when you run these tasks. Missing images are built normally.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|