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_uncCPO_entropy_0_01
|
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_0_01
|
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.0500
|
22 |
+
- Sft Loss: 3.9220
|
23 |
+
- Rewards/chosen: -4.3252
|
24 |
+
- Rewards/rejected: -5.1044
|
25 |
+
- Rewards/accuracies: 0.6892
|
26 |
+
- Rewards/margins: 0.7793
|
27 |
+
- Logps/rejected: -5.1044
|
28 |
+
- Logps/chosen: -4.3252
|
29 |
+
- Logits/rejected: 0.1444
|
30 |
+
- Logits/chosen: 0.0509
|
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 | Sft Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
|
64 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
|
65 |
+
| 0.0563 | 0.2141 | 400 | 0.0573 | 4.8352 | -5.7454 | -6.0246 | 0.5445 | 0.2792 | -6.0246 | -5.7454 | 0.6512 | 0.5372 |
|
66 |
+
| 0.0533 | 0.4282 | 800 | 0.0524 | 4.2340 | -4.6954 | -5.0777 | 0.6157 | 0.3823 | -5.0777 | -4.6954 | 0.2939 | 0.1644 |
|
67 |
+
| 0.0533 | 0.6422 | 1200 | 0.0518 | 4.1504 | -4.5198 | -5.0186 | 0.6484 | 0.4989 | -5.0186 | -4.5198 | 0.4014 | 0.2684 |
|
68 |
+
| 0.0508 | 0.8563 | 1600 | 0.0512 | 4.0690 | -4.5220 | -5.0081 | 0.6491 | 0.4862 | -5.0081 | -4.5220 | 0.2498 | 0.1344 |
|
69 |
+
| 0.0529 | 1.0704 | 2000 | 0.0508 | 3.9195 | -4.3917 | -4.9646 | 0.6521 | 0.5729 | -4.9646 | -4.3917 | 0.3268 | 0.2181 |
|
70 |
+
| 0.0522 | 1.2845 | 2400 | 0.0504 | 4.1797 | -4.6133 | -5.2771 | 0.6647 | 0.6638 | -5.2771 | -4.6133 | 0.2727 | 0.1622 |
|
71 |
+
| 0.0515 | 1.4986 | 2800 | 0.0504 | 4.0933 | -4.4442 | -5.0786 | 0.6825 | 0.6344 | -5.0786 | -4.4442 | 0.2050 | 0.0984 |
|
72 |
+
| 0.0526 | 1.7127 | 3200 | 0.0503 | 4.0886 | -4.4943 | -5.1537 | 0.6751 | 0.6594 | -5.1537 | -4.4943 | 0.2002 | 0.0920 |
|
73 |
+
| 0.0533 | 1.9267 | 3600 | 0.0501 | 3.9857 | -4.3809 | -5.1003 | 0.6825 | 0.7195 | -5.1003 | -4.3809 | 0.1348 | 0.0421 |
|
74 |
+
| 0.0493 | 2.1408 | 4000 | 0.0500 | 3.9751 | -4.3954 | -5.1537 | 0.6840 | 0.7583 | -5.1537 | -4.3954 | 0.3029 | 0.1980 |
|
75 |
+
| 0.0522 | 2.3549 | 4400 | 0.0500 | 3.9820 | -4.4013 | -5.1632 | 0.6869 | 0.7619 | -5.1632 | -4.4013 | 0.2139 | 0.1131 |
|
76 |
+
| 0.0513 | 2.5690 | 4800 | 0.0500 | 3.9732 | -4.3709 | -5.1160 | 0.6944 | 0.7451 | -5.1160 | -4.3709 | 0.1787 | 0.0785 |
|
77 |
+
| 0.0498 | 2.7831 | 5200 | 0.0500 | 3.9372 | -4.3318 | -5.0969 | 0.6892 | 0.7651 | -5.0969 | -4.3318 | 0.2138 | 0.1134 |
|
78 |
+
| 0.0496 | 2.9972 | 5600 | 0.0500 | 3.9220 | -4.3252 | -5.1044 | 0.6892 | 0.7793 | -5.1044 | -4.3252 | 0.1444 | 0.0509 |
|
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.05868237358195538,
|
5 |
+
"train_runtime": 34511.7277,
|
6 |
+
"train_samples": 59790,
|
7 |
+
"train_samples_per_second": 5.197,
|
8 |
+
"train_steps_per_second": 0.162
|
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.05868237358195538,
|
5 |
+
"train_runtime": 34511.7277,
|
6 |
+
"train_samples": 59790,
|
7 |
+
"train_samples_per_second": 5.197,
|
8 |
+
"train_steps_per_second": 0.162
|
9 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|