- Notifications
You must be signed in to change notification settings - Fork2.3k
[DO NOT MERGE] SFT configs for Qwen coder models#438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Draft
edbeeching wants to merge23 commits intomainChoose a base branch fromqwen-coder-sft-configs
base:main
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
Uh oh!
There was an error while loading.Please reload this page.
Draft
Changes from1 commit
Commits
Show all changes
23 commits Select commitHold shift + click to select a range
56f9257
configs
edbeechingdae6e9a
Merge branch 'main' into qwen-coder-sft-configs
lewtun2080600
Add codeforces recipes
lewtuna6f44b2
Add v06
lewtund9b7074
Merge branch 'main' into qwen-coder-sft-configs
lewtunba27a99
Add v07
lewtunbc281a2
Merge branch 'main' into qwen-coder-sft-configs
lewtunf82658d
Add v08
lewtun0523624
Add 32B recipe
lewtun6bab2d8
Disable Liger
lewtun4bb2495
Add fsdp
lewtuna6b8da7
Fix optim
lewtun4daec5a
Align ds configs
lewtun6dab011
Reveett
lewtun8677506
fix
lewtun83c271b
Reduce context for OOM
lewtun7e1bd37
Add IOI configs
lewtun887dbe9
Add moar recipes
lewtuneb2a3aa
Add QwQ
lewtun0fdad2f
Tune recipe
lewtunabee7a2
Add v11-v13 ablations
lewtunbe64fef
Add long and short recipes
lewtun43dd44e
Add OlympicCoder 3B
lewtunFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Add v06
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commita6f44b2b0afbbb7040fdfbfb48e0a803033c35da
There are no files selected for viewing
51 changes: 51 additions & 0 deletionsrecipes/Qwen2.5-Coder-7B-Instruct/sft/config_v06.00.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Model arguments | ||
model_name_or_path: Qwen/Qwen2.5-Coder-7B-Instruct | ||
model_revision: main | ||
torch_dtype: bfloat16 | ||
attn_implementation: flash_attention_2 | ||
# Data training arguments | ||
dataset_name: open-r1/codeforces_cots_w_openthoughts_decontaminated | ||
dataset_config: solutions | ||
dataset_num_proc: 48 | ||
# SFT trainer config | ||
callbacks: | ||
- push_to_hub_revision | ||
benchmarks: | ||
- lcb | ||
bf16: true | ||
do_eval: false | ||
eval_strategy: 'no' | ||
gradient_accumulation_steps: 8 | ||
gradient_checkpointing: true | ||
gradient_checkpointing_kwargs: | ||
use_reentrant: false | ||
hub_model_id: open-r1/Qwen2.5-Coder-7B-Instruct-SFT | ||
hub_model_revision: v06.00 | ||
hub_strategy: every_save | ||
learning_rate: 1.0e-05 | ||
log_level: info | ||
logging_steps: 1 | ||
logging_strategy: steps | ||
lr_scheduler_type: cosine_with_min_lr | ||
lr_scheduler_kwargs: | ||
min_lr_rate: 0.1 | ||
packing: true | ||
max_length: 32768 | ||
max_steps: -1 | ||
num_train_epochs: 10 | ||
output_dir: data/open-r1/Qwen2.5-Coder-7B-Instruct-SFT-v06.00 | ||
overwrite_output_dir: true | ||
per_device_eval_batch_size: 1 | ||
per_device_train_batch_size: 2 | ||
push_to_hub: true | ||
report_to: | ||
- wandb | ||
save_strategy: epoch | ||
save_total_limit: 1 | ||
seed: 42 | ||
use_liger: true | ||
wandb_entity: huggingface | ||
wandb_project: open-r1 | ||
warmup_ratio: 0.03 |
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.