ダウンロードする日本語版シナリオを2から12に拡張
Browse files
eqbench-vast/setup_eqbench_vast.sh
CHANGED
|
@@ -42,11 +42,21 @@ else
|
|
| 42 |
fi
|
| 43 |
echo "[setup] ✅ EQ-Bench3"
|
| 44 |
|
| 45 |
-
# ── 日本語版シナリオDL
|
| 46 |
echo "[setup] 日本語版シナリオをDL中..."
|
| 47 |
for pair in \
|
| 48 |
"scenario_prompts_ja.txt|${WORKSPACE}/eqbench3/data/scenario_prompts.txt" \
|
| 49 |
-
"scenario_notes_ja.txt|${WORKSPACE}/eqbench3/data/scenario_notes.txt"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
SRC="${pair%%|*}"; DEST="${pair##*|}"
|
| 51 |
cp "${DEST}" "${DEST}.en.bak" 2>/dev/null || true
|
| 52 |
if curl -sfL -H "Authorization: Bearer ${HF_TOKEN}" \
|
|
@@ -59,6 +69,10 @@ for pair in \
|
|
| 59 |
fi
|
| 60 |
done
|
| 61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
# ── serve_test_vast.sh DL ────────────────────────────────────
|
| 63 |
curl -fL -H "Authorization: Bearer ${HF_TOKEN}" \
|
| 64 |
"https://huggingface.co/datasets/${HF_USERNAME}/Test-2/resolve/main/eqbench-vast/serve_test_vast.sh" \
|
|
|
|
| 42 |
fi
|
| 43 |
echo "[setup] ✅ EQ-Bench3"
|
| 44 |
|
| 45 |
+
# ── 日本語版シナリオDL ────────────────────
|
| 46 |
echo "[setup] 日本語版シナリオをDL中..."
|
| 47 |
for pair in \
|
| 48 |
"scenario_prompts_ja.txt|${WORKSPACE}/eqbench3/data/scenario_prompts.txt" \
|
| 49 |
+
"scenario_notes_ja.txt|${WORKSPACE}/eqbench3/data/scenario_notes.txt" \
|
| 50 |
+
"scenario_master_prompt_message_drafting_ja.txt|${WORKSPACE}/eqbench3/data/scenario_master_prompt_message_drafting.txt" \
|
| 51 |
+
"scenario_master_prompt_analysis_ja.txt|${WORKSPACE}/eqbench3/data/scenario_master_prompt_analysis.txt" \
|
| 52 |
+
"scenario_master_prompt_ja.txt|${WORKSPACE}/eqbench3/data/scenario_master_prompt.txt" \
|
| 53 |
+
"rubric_scoring_prompt_analysis_ja.txt|${WORKSPACE}/eqbench3/data/rubric_scoring_prompt_analysis.txt" \
|
| 54 |
+
"rubric_scoring_prompt_ja.txt|${WORKSPACE}/eqbench3/data/rubric_scoring_prompt.txt" \
|
| 55 |
+
"rubric_scoring_criteria_analysis_ja.txt|${WORKSPACE}/eqbench3/data/rubric_scoring_criteria_analysis.txt" \
|
| 56 |
+
"rubric_scoring_criteria_ja.txt|${WORKSPACE}/eqbench3/data/rubric_scoring_criteria.txt" \
|
| 57 |
+
"pairwise_prompt_eqbench3_analysis_ja.txt|${WORKSPACE}/eqbench3/data/pairwise_prompt_eqbench3_analysis.txt" \
|
| 58 |
+
"pairwise_prompt_eqbench3_ja.txt|${WORKSPACE}/eqbench3/data/pairwise_prompt_eqbench3.txt" \
|
| 59 |
+
"debrief_prompt_ja.txt|${WORKSPACE}/eqbench3/data/debrief_prompt.txt"; do
|
| 60 |
SRC="${pair%%|*}"; DEST="${pair##*|}"
|
| 61 |
cp "${DEST}" "${DEST}.en.bak" 2>/dev/null || true
|
| 62 |
if curl -sfL -H "Authorization: Bearer ${HF_TOKEN}" \
|
|
|
|
| 69 |
fi
|
| 70 |
done
|
| 71 |
|
| 72 |
+
# 結果サマリー
|
| 73 |
+
echo ""
|
| 74 |
+
echo "[setup] 日本語版DL完了: $(ls ${WORKSPACE}/eqbench3/data/*_ja.txt 2>/dev/null | wc -l)/12 ファイル"
|
| 75 |
+
|
| 76 |
# ── serve_test_vast.sh DL ────────────────────────────────────
|
| 77 |
curl -fL -H "Authorization: Bearer ${HF_TOKEN}" \
|
| 78 |
"https://huggingface.co/datasets/${HF_USERNAME}/Test-2/resolve/main/eqbench-vast/serve_test_vast.sh" \
|