Download scripts/FAZ2_START.sh from HayrettinIscan/MeshAI-Base-Models: direct link, hf CLI and curl.
- Browser
- Download file 981 Bytes
-
https://huggingface.co/HayrettinIscan/MeshAI-Base-Models/resolve/d1198b780dc1004d47faabe8317df9ada3e92bf1/scripts/FAZ2_START.sh
- Command line
-
hf download hf://HayrettinIscan/MeshAI-Base-Models@d1198b780dc1004d47faabe8317df9ada3e92bf1/scripts/FAZ2_START.sh
-
curl -L -o FAZ2_START.sh https://huggingface.co/HayrettinIscan/MeshAI-Base-Models/resolve/d1198b780dc1004d47faabe8317df9ada3e92bf1/scripts/FAZ2_START.sh
981 Bytes
| # MeshAI Faz 2 — TRELLIS/Hunyuan LoRA fine-tune (A100 VM) | |
| # Cloud Shell -> SSH sonrasi tek yapistir. | |
| set -e | |
| cd ~/MeshAI_Cloud | |
| export HF_TOKEN="${HF_TOKEN:?HF_TOKEN yok — once: export HF_TOKEN='hf_...'}" | |
| export HF_REPO=HayrettinIscan/MeshAI-Base-Models | |
| export HF_REPO_TYPE=model | |
| export HF_PREPROCESSED_REPO=HayrettinIscan/MeshAI-Preprocessed-4K | |
| export PYTHONUNBUFFERED=1 | |
| pkill -f 'train_pipeline|stream_train|cloud_orchestrator' 2>/dev/null || true | |
| sleep 1 | |
| mkdir -p checkpoints data/base_models logs | |
| echo "=== Faz2 smoke (16 obje, 1 epoch) ===" | |
| python3 -u train_pipeline.py --mode faz2 \ | |
| --epochs 1 \ | |
| --limit 16 \ | |
| --lora-rank 8 \ | |
| --validation-every 50 \ | |
| --checkpoint-every 10 \ | |
| --resume_from checkpoints/latest_model.pt | |
| echo "=== Smoke OK ise full (limit=0) ===" | |
| echo "Calistir:" | |
| echo "python3 -u train_pipeline.py --mode faz2 --epochs 3 --lora-rank 8 --checkpoint-every 50 --resume_from checkpoints/latest_faz2_model.pt" | |