BHARGAV REDDY commited on
Commit
4106e70
·
verified ·
1 Parent(s): d81b985

Upload run_english_1b_instance.sh with huggingface_hub

Browse files
Files changed (1) hide show
  1. run_english_1b_instance.sh +1 -1
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 && curl -sL https://huggingface.co/spaces/ASTERIZER/LUNA/resolve/main/run_english_1b_instance.sh | bash
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