datamatters24 commited on
Commit
8527f38
·
verified ·
1 Parent(s): 21ebc5f

Scriptwriter dataset sync

Browse files
Files changed (1) hide show
  1. start-train-now.sh +12 -0
start-train-now.sh ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # Use when dataset is already at /workspace/data/processed (after a failed tmux start)
3
+ set -euo pipefail
4
+ apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq tmux >/dev/null
5
+ cd /workspace/scriptwriter-runpod
6
+ export WORKDIR=/workspace/scriptwriter-runpod
7
+ export DATA_DIR=/workspace/data/processed
8
+ export OUTPUT_DIR=/workspace/models/lora
9
+ export HF_DATASET_REPO="${HF_DATASET_REPO:-datamatters24/scriptwriter-corpus-ia}"
10
+ export HF_MODEL_REPO="${HF_MODEL_REPO:-datamatters24/scriptwriter-lora-ia}"
11
+ export BASE_MODEL="${BASE_MODEL:-meta-llama/Llama-3.2-3B-Instruct}"
12
+ bash scripts/runpod_train_tmux.sh