Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,40 @@
|
|
1 |
---
|
2 |
license: cc-by-4.0
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: cc-by-4.0
|
3 |
+
tags:
|
4 |
+
- climate
|
5 |
---
|
6 |
+
|
7 |
+
## Terms of Use
|
8 |
+
|
9 |
+
By using the dataset, you agree to comply with the dataset license ([CC-by-4.0-Deed](https://creativecommons.org/licenses/by/4.0/deed.en)).
|
10 |
+
|
11 |
+
## Download Instructions
|
12 |
+
|
13 |
+
|
14 |
+
To download one file, please use
|
15 |
+
|
16 |
+
```
|
17 |
+
from huggingface_hub import hf_hub_download
|
18 |
+
|
19 |
+
# Path of the directory where the data will be downloaded in your local machine
|
20 |
+
local_directory = 'LOCAL_DIRECTORY'
|
21 |
+
# Relative path of the file in the repository
|
22 |
+
filepath = 'FILE_PATH'
|
23 |
+
|
24 |
+
repo_id = "climateset/causalpaca_models"
|
25 |
+
repo_type = "model"
|
26 |
+
hf_hub_download(repo_id=repo_id, filename=filepath, local_dir=local_directory, repo_type=repo_type, local_dir_use_symlinks=False)
|
27 |
+
```
|
28 |
+
|
29 |
+
To download the content of the whole repository, please use
|
30 |
+
|
31 |
+
```
|
32 |
+
from huggingface_hub import snapshot_download
|
33 |
+
|
34 |
+
# Path of the directory where the data will be downloaded in your local machine
|
35 |
+
local_directory = 'LOCAL_DIRECTORY'
|
36 |
+
|
37 |
+
repo_id = "climateset/causalpaca_models"
|
38 |
+
repo_type = "model"
|
39 |
+
snapshot_download(repo_id=repo_id, repo_type=repo_type, local_dir=local_directory, local_dir_use_symlinks=False)
|
40 |
+
```
|