19 lines
522 B
Bash
Executable File
19 lines
522 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
cd "${ROOT_DIR}"
|
|
|
|
test -d third_party/modelscope-swift
|
|
python3 -m py_compile scripts/download_dataset.py
|
|
bash -n scripts/*.sh
|
|
|
|
DRY_RUN=1 TRAIN_JSONL=/tmp/train.jsonl VAL_JSONL=/tmp/validation.jsonl bash -c '
|
|
echo "{}" > /tmp/train.jsonl
|
|
echo "{}" > /tmp/validation.jsonl
|
|
./scripts/train_qwen35_9b_lora.sh
|
|
./scripts/train_qwen35_9b_full.sh
|
|
./scripts/train_qwen36_27b_lora.sh
|
|
./scripts/train_qwen36_27b_full.sh
|
|
'
|