forked from shan23chen/proof_of_time
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_message_limit_sweep.sh
More file actions
executable file
·59 lines (49 loc) · 1.88 KB
/
Copy pathrun_message_limit_sweep.sh
File metadata and controls
executable file
·59 lines (49 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/bin/bash
# Run run_inspect_ablations.py with different message limits
# Each run uses its own log directory: logs/ablations_msg15, logs/ablations_msg30, logs/ablations_msg50
set -e # Exit on error
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$SCRIPT_DIR"
echo "================================================================================"
echo "Running Inspect AI ablations with different message limits"
echo "================================================================================"
echo ""
# Run with message limit 15
echo "=========================================="
echo "Run 1/3: Message limit = 15"
echo "=========================================="
uv run scripts/run_inspect_ablations.py \
--message-limit 15 \
--log-dir logs/ablations_msg15
echo ""
echo "✓ Completed run with message limit 15"
echo ""
# Run with message limit 30
echo "=========================================="
echo "Run 2/3: Message limit = 30"
echo "=========================================="
uv run scripts/run_inspect_ablations.py \
--message-limit 30 \
--log-dir logs/ablations_msg30
echo ""
echo "✓ Completed run with message limit 30"
echo ""
# Run with message limit 50
echo "=========================================="
echo "Run 3/3: Message limit = 50"
echo "=========================================="
uv run scripts/run_inspect_ablations.py \
--message-limit 50 \
--log-dir logs/ablations_msg50
echo ""
echo "✓ Completed run with message limit 50"
echo ""
echo "================================================================================"
echo "All runs completed successfully!"
echo "================================================================================"
echo ""
echo "Results:"
echo " Message limit 15: logs/ablations_msg15/"
echo " Message limit 30: logs/ablations_msg30/"
echo " Message limit 50: logs/ablations_msg50/"
echo ""