Add SWIFT coding agent probe experiment scripts
This commit is contained in:
18
scripts/validate_setup.sh
Executable file
18
scripts/validate_setup.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/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
|
||||
'
|
||||
Reference in New Issue
Block a user