Add SWIFT coding agent probe experiment scripts

This commit is contained in:
Codex
2026-06-24 21:55:23 +08:00
commit 73e9752331
19 changed files with 526 additions and 0 deletions

18
scripts/validate_setup.sh Executable file
View 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
'