winglian / codeforces-cot-distill-7b-v0

huggingface.co
Total runs: 7
24-hour runs: 0
7-day runs: 1
30-day runs: 0
Model's Last Updated: May 23 2025
text-generation

Introduction of codeforces-cot-distill-7b-v0

Model Details of codeforces-cot-distill-7b-v0

Built with Axolotl

See axolotl config

axolotl version: 0.10.0.dev0

base_model: Qwen/Qwen2.5-Coder-7B-Instruct

plugins:
  - axolotl.integrations.kd.KDPlugin
  - axolotl.integrations.liger.LigerPlugin

liger_rms_norm: true
liger_glu_activation: true

  # torch_compile: true

strict: false

chat_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: true
kd_ce_alpha: 0.2
kd_alpha: 0.8
kd_temperature: 1.1

dataloader_prefetch_factor: 256
dataloader_num_workers: 4
dataloader_pin_memory: true

gc_steps: -1  # gc at the end of each epoch

datasets:
- field_messages: messages
  message_field_content: content
  message_field_role: role
  logprobs_field: target_logprobs
  path: winglian/codeforces-cot-16k-context-topk64-prepared
  type: axolotl.integrations.kd.chat_template
  split: train
  temperature: 1.0

dataset_prepared_path: last_run_prepared
val_set_size: 0.0
output_dir: ./outputs/out-kd-7b
skip_prepare_dataset: false

sequence_len: 16384
sample_packing: true
pad_to_sequence_len: true

wandb_project: kd-7b-codeforces
wandb_entity: axolotl-ai
wandb_watch:
wandb_name:
wandb_log_model:

gradient_accumulation_steps: 2
micro_batch_size: 4
num_epochs: 4
optimizer: adamw_torch_fused
lr_scheduler: rex
learning_rate: 4e-5
save_safetensors: true

train_on_inputs: false
group_by_length: false
bf16: true
fp16:
tf32: true

gradient_checkpointing: true
gradient_checkpointing_kwargs:
  use_reentrant: false
early_stopping_patience:
resume_from_checkpoint:
logging_steps: 1
xformers_attention:
flash_attention: true

warmup_steps: 120
evals_per_epoch: 
eval_table_size:
saves_per_epoch: 1
debug:
weight_decay: 0.0
special_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:

https://choosealicense.com/licenses/apache-2.0

codeforces-cot-distill-7b-v0 huggingface.co

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 Url

https://huggingface.co/winglian/codeforces-cot-distill-7b-v0

winglian codeforces-cot-distill-7b-v0 online free

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:

https://huggingface.co/winglian/codeforces-cot-distill-7b-v0

codeforces-cot-distill-7b-v0 install

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:

https://huggingface.co/winglian/codeforces-cot-distill-7b-v0

Url of codeforces-cot-distill-7b-v0

codeforces-cot-distill-7b-v0 huggingface.co Url

Provider of codeforces-cot-distill-7b-v0 huggingface.co

winglian
ORGANIZATIONS

Other API from winglian

huggingface.co

Total runs: 899
Run Growth: -922
Growth Rate: -102.56%
Updated:September 19 2023
huggingface.co

Total runs: 822
Run Growth: -910
Growth Rate: -110.71%
Updated:September 26 2023
huggingface.co

Total runs: 813
Run Growth: -919
Growth Rate: -113.04%
Updated:September 21 2023
huggingface.co

Total runs: 19
Run Growth: 7
Growth Rate: 36.84%
Updated:February 03 2024
huggingface.co

Total runs: 7
Run Growth: -4
Growth Rate: -57.14%
Updated:September 17 2023
huggingface.co

Total runs: 7
Run Growth: 6
Growth Rate: 85.71%
Updated:November 17 2023
huggingface.co

Total runs: 7
Run Growth: 0
Growth Rate: 0.00%
Updated:September 17 2023
huggingface.co

Total runs: 6
Run Growth: 5
Growth Rate: 83.33%
Updated:September 14 2023
huggingface.co

Total runs: 2
Run Growth: 0
Growth Rate: 0.00%
Updated:August 31 2023
huggingface.co

Total runs: 2
Run Growth: 2
Growth Rate: 100.00%
Updated:September 12 2023
huggingface.co

Total runs: 0
Run Growth: -2
Growth Rate: 0.00%
Updated:September 18 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:July 31 2023