eda_trainning_lora / scripts /push_eda_dataset_to_hub.py
Ademir
Initial clean commit: scripts and config without logs
d4a00b2
raw
history blame contribute delete
824 Bytes
#!/usr/bin/env python3
"""
Alias na pasta de config: chama o script canónico `push_dataset_to_hub.py` ao lado.
Uso (a partir de ml/configs/huggingface_training_config):
python scripts/push_eda_dataset_to_hub.py
python scripts/push_eda_dataset_to_hub.py /caminho/opcional/para/eda_training_dataset
Desde a raiz do monorepo prefira: python scripts/push_eda_dataset_to_hub.py
"""
from __future__ import annotations
import subprocess
import sys
from pathlib import Path
_HERE = Path(__file__).resolve().parent
_TARGET = _HERE / "push_dataset_to_hub.py"
def main() -> None:
if not _TARGET.is_file():
print(f"Script nao encontrado: {_TARGET}", file=sys.stderr)
sys.exit(1)
raise SystemExit(subprocess.call([sys.executable, str(_TARGET), *sys.argv[1:]]))
if __name__ == "__main__":
main()