Datasets:
Download common/paths.py from pathcosmos/korean-pretrain-training-data: direct link, hf CLI and curl.
- Browser
- Download file 247 Bytes
-
https://huggingface.co/datasets/pathcosmos/korean-pretrain-training-data/resolve/main/common/paths.py
- Command line
-
hf download hf://datasets/pathcosmos/korean-pretrain-training-data/common/paths.py
-
curl -L -o paths.py https://huggingface.co/datasets/pathcosmos/korean-pretrain-training-data/resolve/main/common/paths.py
247 Bytes
| """Single source of truth for project root. Override with PROJECT_ROOT env var.""" | |
| import os | |
| PROJECT_ROOT = os.environ.get("PROJECT_ROOT") or os.path.abspath(os.path.join(os.path.dirname(__file__), "..")) | |
| DATA = os.path.join(PROJECT_ROOT, "data") | |