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_l21_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_l21_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.6901
|
22 |
+
- Sft Loss: 2.1331
|
23 |
+
- Rewards/chosen: -2.1707
|
24 |
+
- Rewards/rejected: -3.2271
|
25 |
+
- Rewards/accuracies: 0.6914
|
26 |
+
- Rewards/margins: 1.0563
|
27 |
+
- Logps/rejected: -3.2271
|
28 |
+
- Logps/chosen: -2.1707
|
29 |
+
- Logits/rejected: 0.2151
|
30 |
+
- Logits/chosen: 0.1185
|
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.7149 | 0.2141 | 400 | 0.7232 | 2.1337 | -3.3125 | -3.5682 | 0.5200 | 0.2557 | -3.5682 | -3.3125 | 0.5534 | 0.4407 |
|
66 |
+
| 0.7105 | 0.4282 | 800 | 0.7055 | 2.1066 | -2.2353 | -2.7243 | 0.6447 | 0.4890 | -2.7243 | -2.2353 | 0.3870 | 0.2857 |
|
67 |
+
| 0.7071 | 0.6422 | 1200 | 0.6988 | 2.0445 | -2.1363 | -2.7640 | 0.6691 | 0.6278 | -2.7640 | -2.1363 | 0.6763 | 0.5552 |
|
68 |
+
| 0.6909 | 0.8563 | 1600 | 0.6951 | 2.2316 | -2.3067 | -3.0785 | 0.6825 | 0.7718 | -3.0785 | -2.3067 | 0.0414 | -0.0345 |
|
69 |
+
| 0.6992 | 1.0704 | 2000 | 0.6927 | 2.0672 | -2.1384 | -2.9634 | 0.6766 | 0.8250 | -2.9634 | -2.1384 | 0.1253 | 0.0374 |
|
70 |
+
| 0.6894 | 1.2845 | 2400 | 0.6908 | 2.1132 | -2.1527 | -3.0987 | 0.6810 | 0.9460 | -3.0987 | -2.1527 | 0.3470 | 0.2424 |
|
71 |
+
| 0.6881 | 1.4986 | 2800 | 0.6908 | 2.1384 | -2.2307 | -3.1888 | 0.6862 | 0.9581 | -3.1888 | -2.2307 | 0.5238 | 0.4064 |
|
72 |
+
| 0.6998 | 1.7127 | 3200 | 0.6900 | 2.1093 | -2.1719 | -3.1258 | 0.6936 | 0.9539 | -3.1258 | -2.1719 | 0.2688 | 0.1694 |
|
73 |
+
| 0.6837 | 1.9267 | 3600 | 0.6898 | 2.1422 | -2.2075 | -3.2094 | 0.6966 | 1.0019 | -3.2094 | -2.2075 | 0.3036 | 0.1996 |
|
74 |
+
| 0.6446 | 2.1408 | 4000 | 0.6902 | 2.1614 | -2.1867 | -3.2140 | 0.6855 | 1.0273 | -3.2140 | -2.1867 | 0.2205 | 0.1222 |
|
75 |
+
| 0.6694 | 2.3549 | 4400 | 0.6887 | 2.1145 | -2.1590 | -3.1865 | 0.6921 | 1.0275 | -3.1865 | -2.1590 | 0.2474 | 0.1483 |
|
76 |
+
| 0.6722 | 2.5690 | 4800 | 0.6902 | 2.1289 | -2.1610 | -3.2026 | 0.6907 | 1.0415 | -3.2026 | -2.1610 | 0.2232 | 0.1258 |
|
77 |
+
| 0.6701 | 2.7831 | 5200 | 0.6904 | 2.1329 | -2.1699 | -3.2263 | 0.6929 | 1.0564 | -3.2263 | -2.1699 | 0.2407 | 0.1420 |
|
78 |
+
| 0.659 | 2.9972 | 5600 | 0.6901 | 2.1331 | -2.1707 | -3.2271 | 0.6914 | 1.0563 | -3.2271 | -2.1707 | 0.2151 | 0.1185 |
|
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.6914210148065283,
|
5 |
+
"train_runtime": 33926.4655,
|
6 |
+
"train_samples": 59790,
|
7 |
+
"train_samples_per_second": 5.287,
|
8 |
+
"train_steps_per_second": 0.165
|
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.6914210148065283,
|
5 |
+
"train_runtime": 33926.4655,
|
6 |
+
"train_samples": 59790,
|
7 |
+
"train_samples_per_second": 5.287,
|
8 |
+
"train_steps_per_second": 0.165
|
9 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|