base_model:Qwen/Qwen2.5-Coder-7B-Instructplugins:-axolotl.integrations.kd.KDPlugin-axolotl.integrations.liger.LigerPluginliger_rms_norm:trueliger_glu_activation:true# torch_compile: truestrict:falsechat_template_jinja:"{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}\n {%- endif %}\n {{- \"\\n\\n# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0]['role'] == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' }}\n {%- else %}\n {{- '<|im_start|>system\\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role }}\n {%- if message.content %}\n {{- '\\n' + message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '\\n<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n<think>' }}\n{%- endif %}\n"kd_trainer:truekd_ce_alpha:0.2kd_alpha:0.8kd_temperature:1.1dataloader_prefetch_factor:256dataloader_num_workers:4dataloader_pin_memory:truegc_steps:-1# gc at the end of each epochdatasets:-field_messages:messagesmessage_field_content:contentmessage_field_role:rolelogprobs_field:target_logprobspath:winglian/codeforces-cot-16k-context-topk64-preparedtype:axolotl.integrations.kd.chat_templatesplit:traintemperature:1.0dataset_prepared_path:last_run_preparedval_set_size:0.0output_dir:./outputs/out-kd-7bskip_prepare_dataset:falsesequence_len:16384sample_packing:truepad_to_sequence_len:truewandb_project:kd-7b-codeforceswandb_entity:axolotl-aiwandb_watch:wandb_name:wandb_log_model:gradient_accumulation_steps:2micro_batch_size:4num_epochs:4optimizer:adamw_torch_fusedlr_scheduler:rexlearning_rate:4e-5save_safetensors:truetrain_on_inputs:falsegroup_by_length:falsebf16:truefp16:tf32:truegradient_checkpointing:truegradient_checkpointing_kwargs:use_reentrant:falseearly_stopping_patience:resume_from_checkpoint:logging_steps:1xformers_attention:flash_attention:truewarmup_steps:120evals_per_epoch:eval_table_size:saves_per_epoch:1debug:weight_decay:0.0special_tokens:pad_token:<|endoftext|>deepspeed:deepspeed_configs/zero2.json
outputs/out-kd-7b
This model is a fine-tuned version of
Qwen/Qwen2.5-Coder-7B-Instruct
on the winglian/codeforces-cot-16k-context-topk64-prepared dataset.
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
learning_rate: 4e-05
train_batch_size: 4
eval_batch_size: 4
seed: 42
distributed_type: multi-GPU
num_devices: 8
gradient_accumulation_steps: 2
total_train_batch_size: 64
total_eval_batch_size: 32
optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
lr_scheduler_type: cosine
lr_scheduler_warmup_steps: 120
num_epochs: 4.0
Training results
Framework versions
Transformers 4.51.3
Pytorch 2.7.0+cu128
Datasets 3.5.1
Tokenizers 0.21.1
Runs of winglian codeforces-cot-distill-7b-v0 on huggingface.co
7
Total runs
0
24-hour runs
1
3-day runs
1
7-day runs
0
30-day runs
More Information About codeforces-cot-distill-7b-v0 huggingface.co Model
More codeforces-cot-distill-7b-v0 license Visit here:
codeforces-cot-distill-7b-v0 huggingface.co is an AI model on huggingface.co that provides codeforces-cot-distill-7b-v0's model effect (), which can be used instantly with this winglian codeforces-cot-distill-7b-v0 model. huggingface.co supports a free trial of the codeforces-cot-distill-7b-v0 model, and also provides paid use of the codeforces-cot-distill-7b-v0. Support call codeforces-cot-distill-7b-v0 model through api, including Node.js, Python, http.
codeforces-cot-distill-7b-v0 huggingface.co is an online trial and call api platform, which integrates codeforces-cot-distill-7b-v0's modeling effects, including api services, and provides a free online trial of codeforces-cot-distill-7b-v0, you can try codeforces-cot-distill-7b-v0 online for free by clicking the link below.
winglian codeforces-cot-distill-7b-v0 online free url in huggingface.co:
codeforces-cot-distill-7b-v0 is an open source model from GitHub that offers a free installation service, and any user can find codeforces-cot-distill-7b-v0 on GitHub to install. At the same time, huggingface.co provides the effect of codeforces-cot-distill-7b-v0 install, users can directly use codeforces-cot-distill-7b-v0 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
codeforces-cot-distill-7b-v0 install url in huggingface.co: