Repository navigation
Expand file tree
/
Copy pathrun.sh
More file actions
42 lines (35 loc) · 1.7 KB
/
Copy pathrun.sh
File metadata and controls
42 lines (35 loc) · 1.7 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
python evaluation/main.py \
--model_signature Qwen/Qwen2.5-0.5B-Instruct \
--output_path ./outputs/Qwen/Qwen2.5-0.5B-Instruct-zero-shot
python evaluation/main.py \
--model_signature Qwen/Qwen2.5-0.5B \
--output_path ./outputs/Qwen/Qwen2.5-0.5B-zero-shot
# # Question-4 (i)
python finetuning/main.py \
--model_signature Qwen/Qwen2.5-0.5B-Instruct \
--output_path ./checkpoints/Qwen/Qwen2.5-0.5B-Instruct-sft \
--wandb_token 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 \
python finetuning/main.py \
--model_signature Qwen/Qwen2.5-0.5B \
--output_path ./checkpoints/Qwen/Qwen/Qwen2.5-0.5B-sft \
--wandb_token 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 \
# # # Question-4 (ii)
python evaluation/main.py \
--model_signature Qwen/Qwen2.5-0.5B-Instruct \
--sft_adapter_path ./checkpoints/Qwen/Qwen2.5-0.5B-Instruct-sft \
--output_path ./outputs/Qwen/Qwen2.5-0.5B-Instruct-SFT
python evaluation/main.py \
--model_signature Qwen/Qwen2.5-0.5B \
--sft_adapter_path ./checkpoints/Qwen/Qwen/Qwen2.5-0.5B-sft \
--output_path ./outputs/Qwen/Qwen2.5-0.5B-SFT
# # Question - 4
python grpo/main.py \
--model_signature Qwen/Qwen2.5-0.5B-Instruct \
--adapter_path ./checkpoints/Qwen/Qwen2.5-0.5B-Instruct-sft \
--output_path ./checkpoints/Qwen/Qwen2.5-0.5B-Instruct-sft_grpo \
--wandb_token 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
python evaluation/main.py \
--model_signature Qwen/Qwen2.5-0.5B-Instruct \
--sft_adapter_path ./checkpoints/Qwen/Qwen2.5-0.5B-Instruct-sft \
--grpo_adapter_path ./checkpoints/Qwen/Qwen2.5-0.5B-Instruct-sft_grpo/checkpoint-125 \
--output_path ./outputs/Qwen/Qwen2.5-0.5B-Instruct-sft_grpo