Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/configs/grpo_math_1B.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ policy:
model_name: "meta-llama/Llama-3.2-1B-Instruct"
train_global_batch_size: 512
train_micro_batch_size: 4
generation_batch_size: 32
generation_batch_size: 32 # Only used when generating using HF backend
logprob_batch_size: 4
max_total_sequence_length: 512
precision: "bfloat16"
Expand Down
6 changes: 5 additions & 1 deletion examples/configs/grpo_math_8B.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# GRPO Algorithm Configuration
defaults: "grpo_math_1B.yaml"

grpo:
num_prompts_per_step: 64
num_generations_per_prompt: 32

policy:
model_name: "meta-llama/Llama-3.1-8B-Instruct"
train_global_batch_size: 512
train_micro_batch_size: 1
generation_batch_size: 32
generation_batch_size: 32 # Only used when generating using HF backend
logprob_batch_size: 2
max_total_sequence_length: 4096
precision: "bfloat16"
Expand Down