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_qfUNL_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_qfUNL_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.6685
|
22 |
+
- Sft Loss: 1.5897
|
23 |
+
- Rewards/chosen: -1.6017
|
24 |
+
- Rewards/rejected: -2.2330
|
25 |
+
- Rewards/accuracies: 0.6506
|
26 |
+
- Rewards/margins: 0.6314
|
27 |
+
- Logps/rejected: -2.2330
|
28 |
+
- Logps/chosen: -1.6017
|
29 |
+
- Logits/rejected: 0.2142
|
30 |
+
- Logits/chosen: 0.1178
|
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.6889 | 0.2141 | 400 | 0.7003 | 1.4382 | -1.5229 | -1.6955 | 0.5579 | 0.1726 | -1.6955 | -1.5229 | 0.2817 | 0.1945 |
|
66 |
+
| 0.6916 | 0.4282 | 800 | 0.6822 | 1.5282 | -1.5414 | -1.8469 | 0.6076 | 0.3055 | -1.8469 | -1.5414 | 0.2875 | 0.2001 |
|
67 |
+
| 0.6757 | 0.6422 | 1200 | 0.6771 | 1.5574 | -1.5600 | -1.9539 | 0.6217 | 0.3939 | -1.9539 | -1.5600 | 0.2922 | 0.2043 |
|
68 |
+
| 0.6744 | 0.8563 | 1600 | 0.6739 | 1.5959 | -1.6093 | -2.0408 | 0.6335 | 0.4315 | -2.0408 | -1.6093 | 0.2827 | 0.1913 |
|
69 |
+
| 0.714 | 1.0704 | 2000 | 0.6719 | 1.5564 | -1.5625 | -2.0466 | 0.6269 | 0.4841 | -2.0466 | -1.5625 | 0.1990 | 0.1104 |
|
70 |
+
| 0.6715 | 1.2845 | 2400 | 0.6719 | 1.5799 | -1.5845 | -2.1083 | 0.6380 | 0.5238 | -2.1083 | -1.5845 | 0.2487 | 0.1536 |
|
71 |
+
| 0.6658 | 1.4986 | 2800 | 0.6707 | 1.6055 | -1.6197 | -2.1818 | 0.6454 | 0.5621 | -2.1818 | -1.6197 | 0.1108 | 0.0257 |
|
72 |
+
| 0.6709 | 1.7127 | 3200 | 0.6701 | 1.5845 | -1.5941 | -2.1721 | 0.6476 | 0.5780 | -2.1721 | -1.5941 | 0.1373 | 0.0502 |
|
73 |
+
| 0.659 | 1.9267 | 3600 | 0.6686 | 1.5568 | -1.5549 | -2.1383 | 0.6454 | 0.5835 | -2.1383 | -1.5549 | 0.1189 | 0.0332 |
|
74 |
+
| 0.6241 | 2.1408 | 4000 | 0.6689 | 1.5859 | -1.5837 | -2.1770 | 0.6454 | 0.5933 | -2.1770 | -1.5837 | 0.1840 | 0.0917 |
|
75 |
+
| 0.6443 | 2.3549 | 4400 | 0.6692 | 1.5919 | -1.6001 | -2.2168 | 0.6461 | 0.6166 | -2.2168 | -1.6001 | 0.0426 | -0.0398 |
|
76 |
+
| 0.6356 | 2.5690 | 4800 | 0.6686 | 1.5864 | -1.5964 | -2.2216 | 0.6484 | 0.6252 | -2.2216 | -1.5964 | 0.1106 | 0.0226 |
|
77 |
+
| 0.6448 | 2.7831 | 5200 | 0.6683 | 1.5882 | -1.5994 | -2.2308 | 0.6506 | 0.6314 | -2.2308 | -1.5994 | 0.0974 | 0.0105 |
|
78 |
+
| 0.6368 | 2.9972 | 5600 | 0.6685 | 1.5897 | -1.6017 | -2.2330 | 0.6506 | 0.6314 | -2.2330 | -1.6017 | 0.2142 | 0.1178 |
|
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.6685084665272595,
|
5 |
+
"train_runtime": 33774.3849,
|
6 |
+
"train_samples": 59790,
|
7 |
+
"train_samples_per_second": 5.311,
|
8 |
+
"train_steps_per_second": 0.166
|
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.6685084665272595,
|
5 |
+
"train_runtime": 33774.3849,
|
6 |
+
"train_samples": 59790,
|
7 |
+
"train_samples_per_second": 5.311,
|
8 |
+
"train_steps_per_second": 0.166
|
9 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|