Model save
Browse files- README.md +86 -0
- all_results.json +9 -0
- generation_config.json +6 -0
- train_results.json +9 -0
- trainer_state.json +0 -0
README.md
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: other
|
4 |
+
base_model: trl-lib/qwen1.5-0.5b-sft
|
5 |
+
tags:
|
6 |
+
- trl
|
7 |
+
- simpo
|
8 |
+
- generated_from_trainer
|
9 |
+
model-index:
|
10 |
+
- name: qwen_cCPO_entropy
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# qwen_cCPO_entropy
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [trl-lib/qwen1.5-0.5b-sft](https://huggingface.co/trl-lib/qwen1.5-0.5b-sft) on an unknown dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.5210
|
22 |
+
- Rewards/chosen: -9.5408
|
23 |
+
- Rewards/rejected: -10.6523
|
24 |
+
- Rewards/accuracies: 0.7166
|
25 |
+
- Rewards/margins: 1.1115
|
26 |
+
- Logps/rejected: -10.6523
|
27 |
+
- Logps/chosen: -9.5408
|
28 |
+
- Logits/rejected: 0.4143
|
29 |
+
- Logits/chosen: 0.3542
|
30 |
+
- Semantic Entropy: 0.0025
|
31 |
+
|
32 |
+
## Model description
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Intended uses & limitations
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training and evaluation data
|
41 |
+
|
42 |
+
More information needed
|
43 |
+
|
44 |
+
## Training procedure
|
45 |
+
|
46 |
+
### Training hyperparameters
|
47 |
+
|
48 |
+
The following hyperparameters were used during training:
|
49 |
+
- learning_rate: 1e-06
|
50 |
+
- train_batch_size: 2
|
51 |
+
- eval_batch_size: 4
|
52 |
+
- seed: 42
|
53 |
+
- distributed_type: multi-GPU
|
54 |
+
- gradient_accumulation_steps: 16
|
55 |
+
- total_train_batch_size: 32
|
56 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
57 |
+
- lr_scheduler_type: cosine
|
58 |
+
- lr_scheduler_warmup_ratio: 0.1
|
59 |
+
- num_epochs: 3.0
|
60 |
+
|
61 |
+
### Training results
|
62 |
+
|
63 |
+
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen | Semantic Entropy |
|
64 |
+
|:-------------:|:------:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|:----------------:|
|
65 |
+
| 0.9273 | 0.2141 | 400 | 0.9132 | -1.5626 | -1.7709 | 0.5727 | 0.2083 | -1.7709 | -1.5626 | 0.3591 | 0.2698 | 0.6963 |
|
66 |
+
| 0.6005 | 0.4282 | 800 | 0.5930 | -6.2110 | -6.7875 | 0.6714 | 0.5765 | -6.7875 | -6.2110 | 0.0273 | -0.0585 | 0.0266 |
|
67 |
+
| 0.5591 | 0.6422 | 1200 | 0.5548 | -8.0914 | -8.7875 | 0.6936 | 0.6960 | -8.7875 | -8.0914 | 0.0627 | -0.0250 | 0.0053 |
|
68 |
+
| 0.4839 | 0.8563 | 1600 | 0.5401 | -8.0351 | -8.7538 | 0.7092 | 0.7187 | -8.7538 | -8.0351 | 0.1712 | 0.0772 | 0.0055 |
|
69 |
+
| 0.5873 | 1.0704 | 2000 | 0.5368 | -8.3578 | -9.1522 | 0.7114 | 0.7944 | -9.1522 | -8.3578 | 0.1990 | 0.1107 | 0.0039 |
|
70 |
+
| 0.5089 | 1.2845 | 2400 | 0.5257 | -8.4730 | -9.4241 | 0.7211 | 0.9510 | -9.4241 | -8.4730 | 0.1623 | 0.0831 | 0.0047 |
|
71 |
+
| 0.5109 | 1.4986 | 2800 | 0.5215 | -8.6140 | -9.5173 | 0.7263 | 0.9033 | -9.5173 | -8.6140 | 0.2671 | 0.1852 | 0.0039 |
|
72 |
+
| 0.5508 | 1.7127 | 3200 | 0.5167 | -8.8251 | -9.7884 | 0.7277 | 0.9633 | -9.7884 | -8.8251 | 0.3885 | 0.3079 | 0.0035 |
|
73 |
+
| 0.5684 | 1.9267 | 3600 | 0.5155 | -8.8490 | -9.8374 | 0.7240 | 0.9884 | -9.8374 | -8.8490 | 0.3563 | 0.2827 | 0.0032 |
|
74 |
+
| 0.4288 | 2.1408 | 4000 | 0.5242 | -9.3271 | -10.4242 | 0.7211 | 1.0971 | -10.4242 | -9.3271 | 0.4923 | 0.4276 | 0.0026 |
|
75 |
+
| 0.4556 | 2.3549 | 4400 | 0.5198 | -9.5864 | -10.6863 | 0.7203 | 1.0999 | -10.6863 | -9.5864 | 0.4365 | 0.3746 | 0.0024 |
|
76 |
+
| 0.4621 | 2.5690 | 4800 | 0.5210 | -9.4722 | -10.5759 | 0.7196 | 1.1037 | -10.5759 | -9.4722 | 0.4038 | 0.3433 | 0.0026 |
|
77 |
+
| 0.4387 | 2.7831 | 5200 | 0.5208 | -9.5239 | -10.6317 | 0.7181 | 1.1079 | -10.6317 | -9.5239 | 0.3872 | 0.3286 | 0.0025 |
|
78 |
+
| 0.4041 | 2.9972 | 5600 | 0.5210 | -9.5408 | -10.6523 | 0.7166 | 1.1115 | -10.6523 | -9.5408 | 0.4143 | 0.3542 | 0.0025 |
|
79 |
+
|
80 |
+
|
81 |
+
### Framework versions
|
82 |
+
|
83 |
+
- Transformers 4.44.2
|
84 |
+
- Pytorch 2.2.2+cu121
|
85 |
+
- Datasets 2.18.0
|
86 |
+
- Tokenizers 0.19.1
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.999297541394882,
|
3 |
+
"total_flos": 0.0,
|
4 |
+
"train_loss": 0.5415812020936581,
|
5 |
+
"train_runtime": 28601.8206,
|
6 |
+
"train_samples": 59790,
|
7 |
+
"train_samples_per_second": 6.271,
|
8 |
+
"train_steps_per_second": 0.196
|
9 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 151643,
|
3 |
+
"eos_token_id": 151643,
|
4 |
+
"max_new_tokens": 2048,
|
5 |
+
"transformers_version": "4.44.2"
|
6 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.999297541394882,
|
3 |
+
"total_flos": 0.0,
|
4 |
+
"train_loss": 0.5415812020936581,
|
5 |
+
"train_runtime": 28601.8206,
|
6 |
+
"train_samples": 59790,
|
7 |
+
"train_samples_per_second": 6.271,
|
8 |
+
"train_steps_per_second": 0.196
|
9 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|