Upload examples/train-runpod-tool-hermes-harness.sh with huggingface_hub
Browse files
examples/train-runpod-tool-hermes-harness.sh
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
# Hermes trace harness routing: 5 deploy tools, adapted traces + Call-RL.
|
| 3 |
+
# Init tool-answer final; ~500 steps; pulse 250.
|
| 4 |
+
set -euo pipefail
|
| 5 |
+
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
| 6 |
+
export TEMPLATE_PROFILE=chat-tool-hermes-harness
|
| 7 |
+
export CLOUD_TYPE="${CLOUD_TYPE:-COMMUNITY}"
|
| 8 |
+
export POD_NAME="${POD_NAME:-scugnizz-tool-hermes-harness-pro6000}"
|
| 9 |
+
export TRAIN_WALL_SECS="${TRAIN_WALL_SECS:-10800}"
|
| 10 |
+
export SKIP_PUSH="${SKIP_PUSH:-0}"
|
| 11 |
+
|
| 12 |
+
echo "train RunPod -> profile=${TEMPLATE_PROFILE} cloud=${CLOUD_TYPE} skip_push=${SKIP_PUSH}"
|
| 13 |
+
bash "${ROOT}/runpod/create-template.sh"
|
| 14 |
+
TEMPLATE_ID="$(tr -d '\n\r' < /tmp/runpod-chat-tool-hermes-harness-template-id.txt)"
|
| 15 |
+
export TEMPLATE_ID
|
| 16 |
+
echo "template_id=${TEMPLATE_ID}"
|
| 17 |
+
bash "${ROOT}/runpod/launch-pod.sh" "${POD_NAME}"
|
| 18 |
+
echo "pod_id=$(tr -d '\n\r' < /tmp/runpod-pod-id.txt)"
|
| 19 |
+
echo "hub_path=$(tr -d '\n\r' < /tmp/runpod-chat-tool-hermes-harness-hub-path.txt)"
|