| --- |
| license: cc-by-4.0 |
| tags: |
| - climate |
| --- |
| |
| ## Terms of Use |
|
|
| 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)). |
|
|
| ## Download Instructions |
|
|
|
|
| To download one file, please use |
|
|
| ``` |
| from huggingface_hub import hf_hub_download |
| |
| # Path of the directory where the data will be downloaded in your local machine |
| local_directory = 'LOCAL_DIRECTORY' |
| # Relative path of the file in the repository |
| filepath = 'FILE_PATH' |
| |
| repo_id = "climateset/causalpaca_models" |
| repo_type = "model" |
| hf_hub_download(repo_id=repo_id, filename=filepath, local_dir=local_directory, repo_type=repo_type, local_dir_use_symlinks=False) |
| ``` |
|
|
| To download the content of the whole repository, please use |
|
|
| ``` |
| from huggingface_hub import snapshot_download |
| |
| # Path of the directory where the data will be downloaded in your local machine |
| local_directory = 'LOCAL_DIRECTORY' |
| |
| repo_id = "climateset/causalpaca_models" |
| repo_type = "model" |
| snapshot_download(repo_id=repo_id, repo_type=repo_type, local_dir=local_directory, local_dir_use_symlinks=False) |
| ``` |