BHARGAV REDDY commited on
Upload run_english_1b_instance.sh with huggingface_hub
Browse files
run_english_1b_instance.sh
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
# Single-command cloud GPU instance script (RunPod / Vast.ai / Lambda)
|
| 5 |
#
|
| 6 |
# PASTE THIS SINGLE COMMAND:
|
| 7 |
-
# export HF_TOKEN=hf_xxx &&
|
| 8 |
#
|
| 9 |
# OR if you already cloned:
|
| 10 |
# export HF_TOKEN=hf_xxx && bash run_english_1b_instance.sh
|
|
|
|
| 4 |
# Single-command cloud GPU instance script (RunPod / Vast.ai / Lambda)
|
| 5 |
#
|
| 6 |
# PASTE THIS SINGLE COMMAND:
|
| 7 |
+
# export HF_TOKEN=hf_xxx && pip install -q huggingface_hub && python3 -c "from huggingface_hub import snapshot_download; import os; [snapshot_download('ASTERIZER/LUNA', repo_type=rt, local_dir='/workspace/LUNA', token=os.environ.get('HF_TOKEN')) for rt in ['space','model'] if not os.path.exists('/workspace/LUNA/train.py')]" && cd /workspace/LUNA && bash run_english_1b_instance.sh
|
| 8 |
#
|
| 9 |
# OR if you already cloned:
|
| 10 |
# export HF_TOKEN=hf_xxx && bash run_english_1b_instance.sh
|