flyingbugs commited on
Commit
6fc65d8
·
verified ·
1 Parent(s): baad2c7

Model save

Browse files
README.md CHANGED
@@ -1,11 +1,9 @@
1
  ---
2
- base_model: Qwen/Qwen2.5-1.5B-Instruct
3
- datasets: flyingbugs/OpenR1-Math-220k-pruned-keep-0.5-end-start-0.5
4
  library_name: transformers
5
  model_name: Qwen2.5-1.5B-Open-R1-Distill-eos-epic
6
  tags:
7
  - generated_from_trainer
8
- - open-r1
9
  - trl
10
  - sft
11
  licence: license
@@ -13,7 +11,7 @@ licence: license
13
 
14
  # Model Card for Qwen2.5-1.5B-Open-R1-Distill-eos-epic
15
 
16
- This model is a fine-tuned version of [Qwen/Qwen2.5-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct) on the [flyingbugs/OpenR1-Math-220k-pruned-keep-0.5-end-start-0.5](https://huggingface.co/datasets/flyingbugs/OpenR1-Math-220k-pruned-keep-0.5-end-start-0.5) dataset.
17
  It has been trained using [TRL](https://github.com/huggingface/trl).
18
 
19
  ## Quick start
@@ -29,7 +27,7 @@ print(output["generated_text"])
29
 
30
  ## Training procedure
31
 
32
- [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/jjh233/huggingface/runs/371aa1gg)
33
 
34
 
35
  This model was trained with SFT.
@@ -38,7 +36,7 @@ This model was trained with SFT.
38
 
39
  - TRL: 0.16.0.dev0
40
  - Transformers: 4.54.0
41
- - Pytorch: 2.5.1
42
  - Datasets: 4.0.0
43
  - Tokenizers: 0.21.2
44
 
 
1
  ---
2
+ base_model: Qwen/Qwen2.5-Math-1.5B-Instruct
 
3
  library_name: transformers
4
  model_name: Qwen2.5-1.5B-Open-R1-Distill-eos-epic
5
  tags:
6
  - generated_from_trainer
 
7
  - trl
8
  - sft
9
  licence: license
 
11
 
12
  # Model Card for Qwen2.5-1.5B-Open-R1-Distill-eos-epic
13
 
14
+ This model is a fine-tuned version of [Qwen/Qwen2.5-Math-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-Math-1.5B-Instruct).
15
  It has been trained using [TRL](https://github.com/huggingface/trl).
16
 
17
  ## Quick start
 
27
 
28
  ## Training procedure
29
 
30
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/jjh233/huggingface/runs/3r9dxsmv)
31
 
32
 
33
  This model was trained with SFT.
 
36
 
37
  - TRL: 0.16.0.dev0
38
  - Transformers: 4.54.0
39
+ - Pytorch: 2.7.1
40
  - Datasets: 4.0.0
41
  - Tokenizers: 0.21.2
42
 
all_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "total_flos": 962656789856256.0,
3
- "train_loss": 0.551490586363908,
4
- "train_runtime": 11763.4703,
5
  "train_samples": 93733,
6
- "train_samples_per_second": 5.731,
7
- "train_steps_per_second": 0.045
8
  }
 
1
  {
2
  "total_flos": 962656789856256.0,
3
+ "train_loss": 0.0,
4
+ "train_runtime": 1.0579,
5
  "train_samples": 93733,
6
+ "train_samples_per_second": 63710.085,
7
+ "train_steps_per_second": 499.109
8
  }
chat_template.jinja CHANGED
@@ -3,7 +3,7 @@
3
  {%- if messages[0]['role'] == 'system' %}
4
  {{- messages[0]['content'] }}
5
  {%- else %}
6
- {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
7
  {%- endif %}
8
  {{- "\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>" }}
9
  {%- for tool in tools %}
@@ -15,7 +15,7 @@
15
  {%- if messages[0]['role'] == 'system' %}
16
  {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
17
  {%- else %}
18
- {{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
19
  {%- endif %}
20
  {%- endif %}
21
  {%- for message in messages %}
 
3
  {%- if messages[0]['role'] == 'system' %}
4
  {{- messages[0]['content'] }}
5
  {%- else %}
6
+ {{- 'Please reason step by step, and put your final answer within \\boxed{}.' }}
7
  {%- endif %}
8
  {{- "\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>" }}
9
  {%- for tool in tools %}
 
15
  {%- if messages[0]['role'] == 'system' %}
16
  {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
17
  {%- else %}
18
+ {{- '<|im_start|>system\nPlease reason step by step, and put your final answer within \\boxed{}.<|im_end|>\n' }}
19
  {%- endif %}
20
  {%- endif %}
21
  {%- for message in messages %}
config.json CHANGED
@@ -39,7 +39,7 @@
39
  "full_attention",
40
  "full_attention"
41
  ],
42
- "max_position_embeddings": 32768,
43
  "max_window_layers": 21,
44
  "model_type": "qwen2",
45
  "num_attention_heads": 12,
@@ -47,12 +47,12 @@
47
  "num_key_value_heads": 2,
48
  "rms_norm_eps": 1e-06,
49
  "rope_scaling": null,
50
- "rope_theta": 1000000.0,
51
  "sliding_window": null,
52
  "tie_word_embeddings": true,
53
  "torch_dtype": "bfloat16",
54
  "transformers_version": "4.54.0",
55
- "use_cache": true,
56
  "use_sliding_window": false,
57
  "vocab_size": 151936
58
  }
 
39
  "full_attention",
40
  "full_attention"
41
  ],
42
+ "max_position_embeddings": 4096,
43
  "max_window_layers": 21,
44
  "model_type": "qwen2",
45
  "num_attention_heads": 12,
 
47
  "num_key_value_heads": 2,
48
  "rms_norm_eps": 1e-06,
49
  "rope_scaling": null,
50
+ "rope_theta": 10000.0,
51
  "sliding_window": null,
52
  "tie_word_embeddings": true,
53
  "torch_dtype": "bfloat16",
54
  "transformers_version": "4.54.0",
55
+ "use_cache": false,
56
  "use_sliding_window": false,
57
  "vocab_size": 151936
58
  }
generation_config.json CHANGED
@@ -1,14 +1,9 @@
1
  {
2
  "bos_token_id": 151643,
3
- "do_sample": true,
4
  "eos_token_id": [
5
  151645,
6
  151643
7
  ],
8
  "pad_token_id": 151643,
9
- "repetition_penalty": 1.1,
10
- "temperature": 0.7,
11
- "top_k": 20,
12
- "top_p": 0.8,
13
  "transformers_version": "4.54.0"
14
  }
 
1
  {
2
  "bos_token_id": 151643,
 
3
  "eos_token_id": [
4
  151645,
5
  151643
6
  ],
7
  "pad_token_id": 151643,
 
 
 
 
8
  "transformers_version": "4.54.0"
9
  }
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "total_flos": 962656789856256.0,
3
- "train_loss": 0.551490586363908,
4
- "train_runtime": 11763.4703,
5
  "train_samples": 93733,
6
- "train_samples_per_second": 5.731,
7
- "train_steps_per_second": 0.045
8
  }
 
1
  {
2
  "total_flos": 962656789856256.0,
3
+ "train_loss": 0.0,
4
+ "train_runtime": 1.0579,
5
  "train_samples": 93733,
6
+ "train_samples_per_second": 63710.085,
7
+ "train_steps_per_second": 499.109
8
  }
trainer_state.json CHANGED
@@ -748,10 +748,10 @@
748
  "epoch": 3.0,
749
  "step": 528,
750
  "total_flos": 962656789856256.0,
751
- "train_loss": 0.551490586363908,
752
- "train_runtime": 11763.4703,
753
- "train_samples_per_second": 5.731,
754
- "train_steps_per_second": 0.045
755
  }
756
  ],
757
  "logging_steps": 5,
 
748
  "epoch": 3.0,
749
  "step": 528,
750
  "total_flos": 962656789856256.0,
751
+ "train_loss": 0.0,
752
+ "train_runtime": 1.0579,
753
+ "train_samples_per_second": 63710.085,
754
+ "train_steps_per_second": 499.109
755
  }
756
  ],
757
  "logging_steps": 5,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:36c73442ca5e71438beadd5486fd837e9558129a2755e982f46a6a2dda4c8ae2
3
- size 7544
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b92e82046467d743bafc37b78b07bdde765260981b7b2c7ed14341172f5ea31
3
+ size 8017