Download scripts/01_create_structure.py from LeeSek/binary-dockerfile-model: direct link, hf CLI and curl.
- Browser
- Download file 318 Bytes
-
https://huggingface.co/LeeSek/binary-dockerfile-model/resolve/main/scripts/01_create_structure.py
- Command line
-
hf download hf://LeeSek/binary-dockerfile-model/scripts/01_create_structure.py
-
curl -L -o 01_create_structure.py https://huggingface.co/LeeSek/binary-dockerfile-model/resolve/main/scripts/01_create_structure.py
318 Bytes
| import os | |
| def create_dirs(): | |
| dirs = [ | |
| "data/raw", | |
| "data/processed", | |
| "data/metadata", | |
| "models", | |
| "notebooks", | |
| "scripts" | |
| ] | |
| for d in dirs: | |
| os.makedirs(d, exist_ok=True) | |
| print(f"✔️ Created: {d}") | |
| if __name__ == "__main__": | |
| create_dirs() | |