End of training
Browse files- README.md +112 -0
- generation_config.json +7 -0
README.md
ADDED
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: Qwen/Qwen2.5-0.5B
|
4 |
+
tags:
|
5 |
+
- axolotl
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: MetaMath-Qwen2.5-0.5b-PRM
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
[<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
|
16 |
+
<details><summary>See axolotl config</summary>
|
17 |
+
|
18 |
+
axolotl version: `0.4.1`
|
19 |
+
```yaml
|
20 |
+
base_model: Qwen/Qwen2.5-0.5B
|
21 |
+
bf16: auto
|
22 |
+
dataset_prepared_path: /training/data/prepared
|
23 |
+
datasets:
|
24 |
+
- conversation: llama3
|
25 |
+
path: RLHFlow/Mistral-PRM-Data
|
26 |
+
split: train
|
27 |
+
train_on_split: train
|
28 |
+
type: sharegpt
|
29 |
+
flash_attention: true
|
30 |
+
fp16: false
|
31 |
+
gradient_accumulation_steps: 4
|
32 |
+
gradient_checkpointing: true
|
33 |
+
hub_model_id: rawsh/MetaMath-Qwen2.5-0.5b-PRM
|
34 |
+
hub_strategy: every_save
|
35 |
+
learning_rate: 2.0e-06
|
36 |
+
load_in_4bit: false
|
37 |
+
load_in_8bit: false
|
38 |
+
logging_steps: 2
|
39 |
+
lr_scheduler: cosine
|
40 |
+
max_grad_norm: 1.0
|
41 |
+
micro_batch_size: 1
|
42 |
+
model_type: AutoModelForCausalLM
|
43 |
+
num_epochs: 1
|
44 |
+
optimizer: paged_adamw_32bit
|
45 |
+
output_dir: /training/prm
|
46 |
+
pad_to_sequence_len: true
|
47 |
+
push_to_hub: true
|
48 |
+
sample_packing: true
|
49 |
+
save_safetensors: true
|
50 |
+
save_strategy: epoch
|
51 |
+
save_total_limit: 4
|
52 |
+
sequence_len: 8192
|
53 |
+
special_tokens:
|
54 |
+
pad_token: <|endoftext|>
|
55 |
+
strict: false
|
56 |
+
tf32: true
|
57 |
+
tokenizer_type: AutoTokenizer
|
58 |
+
train_on_inputs: false
|
59 |
+
trust_remote_code: true
|
60 |
+
val_set_size: 0.0
|
61 |
+
wandb_name: qwen2.5-0.5b-bs32_lr2e-6_prm
|
62 |
+
wandb_project: preference-models
|
63 |
+
warmup_ratio: 0.05
|
64 |
+
weight_decay: 0.0
|
65 |
+
|
66 |
+
```
|
67 |
+
|
68 |
+
</details><br>
|
69 |
+
|
70 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/dankgpt/preference-models/runs/eqqhapl0)
|
71 |
+
# MetaMath-Qwen2.5-0.5b-PRM
|
72 |
+
|
73 |
+
This model is a fine-tuned version of [Qwen/Qwen2.5-0.5B](https://huggingface.co/Qwen/Qwen2.5-0.5B) on the None dataset.
|
74 |
+
|
75 |
+
## Model description
|
76 |
+
|
77 |
+
More information needed
|
78 |
+
|
79 |
+
## Intended uses & limitations
|
80 |
+
|
81 |
+
More information needed
|
82 |
+
|
83 |
+
## Training and evaluation data
|
84 |
+
|
85 |
+
More information needed
|
86 |
+
|
87 |
+
## Training procedure
|
88 |
+
|
89 |
+
### Training hyperparameters
|
90 |
+
|
91 |
+
The following hyperparameters were used during training:
|
92 |
+
- learning_rate: 2e-06
|
93 |
+
- train_batch_size: 1
|
94 |
+
- eval_batch_size: 1
|
95 |
+
- seed: 42
|
96 |
+
- gradient_accumulation_steps: 4
|
97 |
+
- total_train_batch_size: 4
|
98 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
99 |
+
- lr_scheduler_type: cosine
|
100 |
+
- lr_scheduler_warmup_steps: 214
|
101 |
+
- num_epochs: 1
|
102 |
+
|
103 |
+
### Training results
|
104 |
+
|
105 |
+
|
106 |
+
|
107 |
+
### Framework versions
|
108 |
+
|
109 |
+
- Transformers 4.42.3
|
110 |
+
- Pytorch 2.3.0+cu121
|
111 |
+
- Datasets 2.19.1
|
112 |
+
- Tokenizers 0.19.1
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 151643,
|
3 |
+
"do_sample": true,
|
4 |
+
"eos_token_id": 151643,
|
5 |
+
"max_new_tokens": 2048,
|
6 |
+
"transformers_version": "4.42.3"
|
7 |
+
}
|