Model save
Browse files- README.md +85 -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,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_uncCPO_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_uncCPO_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.0000
|
22 |
+
- Rewards/chosen: -46.3149
|
23 |
+
- Rewards/rejected: -47.3422
|
24 |
+
- Rewards/accuracies: 0.5616
|
25 |
+
- Rewards/margins: 1.0272
|
26 |
+
- Logps/rejected: -47.3422
|
27 |
+
- Logps/chosen: -46.3149
|
28 |
+
- Logits/rejected: 7.3215
|
29 |
+
- Logits/chosen: 7.6457
|
30 |
+
|
31 |
+
## Model description
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Intended uses & limitations
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training and evaluation data
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Training procedure
|
44 |
+
|
45 |
+
### Training hyperparameters
|
46 |
+
|
47 |
+
The following hyperparameters were used during training:
|
48 |
+
- learning_rate: 1e-06
|
49 |
+
- train_batch_size: 2
|
50 |
+
- eval_batch_size: 4
|
51 |
+
- seed: 42
|
52 |
+
- distributed_type: multi-GPU
|
53 |
+
- gradient_accumulation_steps: 16
|
54 |
+
- total_train_batch_size: 32
|
55 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
56 |
+
- lr_scheduler_type: cosine
|
57 |
+
- lr_scheduler_warmup_ratio: 0.1
|
58 |
+
- num_epochs: 3.0
|
59 |
+
|
60 |
+
### Training results
|
61 |
+
|
62 |
+
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
|
63 |
+
|:-------------:|:------:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
|
64 |
+
| 0.0 | 0.2141 | 400 | 0.0001 | -31.9619 | -33.7423 | 0.5660 | 1.7804 | -33.7423 | -31.9619 | 4.6072 | 4.6195 |
|
65 |
+
| 0.0 | 0.4282 | 800 | 0.0000 | -39.5193 | -40.9236 | 0.5593 | 1.4042 | -40.9236 | -39.5193 | 6.2657 | 6.4289 |
|
66 |
+
| 0.0008 | 0.6422 | 1200 | 0.0000 | -39.2251 | -40.6025 | 0.5542 | 1.3774 | -40.6025 | -39.2251 | 6.1312 | 6.2908 |
|
67 |
+
| 0.0 | 0.8563 | 1600 | 0.0000 | -41.1464 | -42.5420 | 0.5638 | 1.3956 | -42.5420 | -41.1464 | 6.3830 | 6.5549 |
|
68 |
+
| 0.0 | 1.0704 | 2000 | 0.0000 | -43.4369 | -44.6769 | 0.5734 | 1.2400 | -44.6769 | -43.4369 | 6.8661 | 7.0992 |
|
69 |
+
| 0.0 | 1.2845 | 2400 | 0.0000 | -43.9619 | -45.1746 | 0.5697 | 1.2127 | -45.1746 | -43.9619 | 6.9058 | 7.1560 |
|
70 |
+
| 0.0 | 1.4986 | 2800 | 0.0000 | -44.1897 | -45.3701 | 0.5645 | 1.1803 | -45.3701 | -44.1897 | 6.8977 | 7.1567 |
|
71 |
+
| 0.0 | 1.7127 | 3200 | 0.0000 | -44.9141 | -46.0263 | 0.5660 | 1.1122 | -46.0263 | -44.9141 | 7.0833 | 7.3687 |
|
72 |
+
| 0.0 | 1.9267 | 3600 | 0.0000 | -45.5997 | -46.6466 | 0.5645 | 1.0470 | -46.6466 | -45.5997 | 7.1427 | 7.4593 |
|
73 |
+
| 0.0 | 2.1408 | 4000 | 0.0000 | -45.8198 | -46.8818 | 0.5601 | 1.0620 | -46.8818 | -45.8198 | 7.2832 | 7.5923 |
|
74 |
+
| 0.0 | 2.3549 | 4400 | 0.0000 | -45.8900 | -46.9389 | 0.5653 | 1.0489 | -46.9389 | -45.8900 | 7.2655 | 7.5788 |
|
75 |
+
| 0.0 | 2.5690 | 4800 | 0.0000 | -45.9866 | -47.0244 | 0.5623 | 1.0378 | -47.0244 | -45.9866 | 7.2594 | 7.5758 |
|
76 |
+
| 0.0 | 2.7831 | 5200 | 0.0000 | -45.8574 | -46.9081 | 0.5623 | 1.0507 | -46.9081 | -45.8574 | 7.2536 | 7.5634 |
|
77 |
+
| 0.0 | 2.9972 | 5600 | 0.0000 | -46.3149 | -47.3422 | 0.5616 | 1.0272 | -47.3422 | -46.3149 | 7.3215 | 7.6457 |
|
78 |
+
|
79 |
+
|
80 |
+
### Framework versions
|
81 |
+
|
82 |
+
- Transformers 4.44.2
|
83 |
+
- Pytorch 2.2.2+cu121
|
84 |
+
- Datasets 2.18.0
|
85 |
+
- 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.008184677160495138,
|
5 |
+
"train_runtime": 30264.8442,
|
6 |
+
"train_samples": 59790,
|
7 |
+
"train_samples_per_second": 5.927,
|
8 |
+
"train_steps_per_second": 0.185
|
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.008184677160495138,
|
5 |
+
"train_runtime": 30264.8442,
|
6 |
+
"train_samples": 59790,
|
7 |
+
"train_samples_per_second": 5.927,
|
8 |
+
"train_steps_per_second": 0.185
|
9 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|