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_l21_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_l21_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.6612
|
22 |
+
- Rewards/chosen: -4.9613
|
23 |
+
- Rewards/rejected: -8.3580
|
24 |
+
- Rewards/accuracies: 0.6766
|
25 |
+
- Rewards/margins: 3.3967
|
26 |
+
- Logps/rejected: -8.3580
|
27 |
+
- Logps/chosen: -4.9613
|
28 |
+
- Logits/rejected: 1.3373
|
29 |
+
- Logits/chosen: 0.9296
|
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.6893 | 0.2141 | 400 | 0.6976 | -5.6399 | -5.6514 | 0.5134 | 0.0115 | -5.6514 | -5.6399 | 0.6073 | 0.4970 |
|
65 |
+
| 0.6905 | 0.4282 | 800 | 0.6888 | -9.5942 | -10.2217 | 0.5772 | 0.6275 | -10.2217 | -9.5942 | 0.9367 | 0.7851 |
|
66 |
+
| 0.6827 | 0.6422 | 1200 | 0.6809 | -3.7037 | -4.6831 | 0.6417 | 0.9794 | -4.6831 | -3.7037 | 0.4628 | 0.3100 |
|
67 |
+
| 0.665 | 0.8563 | 1600 | 0.6737 | -4.1597 | -6.3017 | 0.6588 | 2.1420 | -6.3017 | -4.1597 | 0.9087 | 0.6452 |
|
68 |
+
| 0.674 | 1.0704 | 2000 | 0.6702 | -4.7093 | -7.4594 | 0.6677 | 2.7501 | -7.4594 | -4.7093 | 1.0243 | 0.7072 |
|
69 |
+
| 0.6648 | 1.2845 | 2400 | 0.6651 | -4.2327 | -7.0267 | 0.6654 | 2.7940 | -7.0267 | -4.2327 | 0.9760 | 0.6519 |
|
70 |
+
| 0.6665 | 1.4986 | 2800 | 0.6654 | -4.6367 | -7.6607 | 0.6706 | 3.0240 | -7.6607 | -4.6367 | 1.0821 | 0.7239 |
|
71 |
+
| 0.6746 | 1.7127 | 3200 | 0.6641 | -5.1015 | -8.2207 | 0.6803 | 3.1192 | -8.2207 | -5.1015 | 1.0711 | 0.6993 |
|
72 |
+
| 0.6634 | 1.9267 | 3600 | 0.6629 | -4.7411 | -7.8576 | 0.6855 | 3.1165 | -7.8576 | -4.7411 | 1.0738 | 0.7086 |
|
73 |
+
| 0.6224 | 2.1408 | 4000 | 0.6607 | -4.6523 | -7.8867 | 0.6818 | 3.2344 | -7.8867 | -4.6523 | 1.1108 | 0.7335 |
|
74 |
+
| 0.6604 | 2.3549 | 4400 | 0.6618 | -4.7746 | -8.0447 | 0.6780 | 3.2700 | -8.0447 | -4.7746 | 1.2654 | 0.8695 |
|
75 |
+
| 0.6512 | 2.5690 | 4800 | 0.6615 | -4.9147 | -8.2777 | 0.6773 | 3.3630 | -8.2777 | -4.9147 | 1.2819 | 0.8805 |
|
76 |
+
| 0.6594 | 2.7831 | 5200 | 0.6611 | -4.9802 | -8.3859 | 0.6795 | 3.4057 | -8.3859 | -4.9802 | 1.2711 | 0.8676 |
|
77 |
+
| 0.6402 | 2.9972 | 5600 | 0.6612 | -4.9613 | -8.3580 | 0.6766 | 3.3967 | -8.3580 | -4.9613 | 1.3373 | 0.9296 |
|
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.6706608949092182,
|
5 |
+
"train_runtime": 30654.4044,
|
6 |
+
"train_samples": 59790,
|
7 |
+
"train_samples_per_second": 5.851,
|
8 |
+
"train_steps_per_second": 0.183
|
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.6706608949092182,
|
5 |
+
"train_runtime": 30654.4044,
|
6 |
+
"train_samples": 59790,
|
7 |
+
"train_samples_per_second": 5.851,
|
8 |
+
"train_steps_per_second": 0.183
|
9 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|