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_cfUNL_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_cfUNL_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.0501
|
22 |
+
- Sft Loss: 3.9427
|
23 |
+
- Rewards/chosen: -4.3435
|
24 |
+
- Rewards/rejected: -5.1114
|
25 |
+
- Rewards/accuracies: 0.6810
|
26 |
+
- Rewards/margins: 0.7679
|
27 |
+
- Logps/rejected: -5.1114
|
28 |
+
- Logps/chosen: -4.3435
|
29 |
+
- Logits/rejected: -0.0604
|
30 |
+
- Logits/chosen: -0.1374
|
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.0548 | 0.2141 | 400 | 0.0564 | 4.2256 | -4.8288 | -5.0421 | 0.5378 | 0.2133 | -5.0421 | -4.8288 | 0.4440 | 0.3255 |
|
66 |
+
| 0.0531 | 0.4282 | 800 | 0.0526 | 4.0511 | -4.5660 | -4.9392 | 0.6157 | 0.3732 | -4.9392 | -4.5660 | 0.2541 | 0.1294 |
|
67 |
+
| 0.0534 | 0.6422 | 1200 | 0.0519 | 4.1663 | -4.5650 | -5.0390 | 0.6387 | 0.4740 | -5.0390 | -4.5650 | 0.2502 | 0.1373 |
|
68 |
+
| 0.0511 | 0.8563 | 1600 | 0.0513 | 3.9593 | -4.4389 | -4.9222 | 0.6358 | 0.4833 | -4.9222 | -4.4389 | -0.0640 | -0.1524 |
|
69 |
+
| 0.0533 | 1.0704 | 2000 | 0.0509 | 3.9533 | -4.4316 | -4.9577 | 0.6484 | 0.5261 | -4.9577 | -4.4316 | -0.0257 | -0.1111 |
|
70 |
+
| 0.0527 | 1.2845 | 2400 | 0.0508 | 4.2818 | -4.7129 | -5.3738 | 0.6610 | 0.6609 | -5.3738 | -4.7129 | -0.0551 | -0.1386 |
|
71 |
+
| 0.0513 | 1.4986 | 2800 | 0.0506 | 4.1502 | -4.4933 | -5.1357 | 0.6818 | 0.6424 | -5.1357 | -4.4933 | -0.1729 | -0.2577 |
|
72 |
+
| 0.0527 | 1.7127 | 3200 | 0.0505 | 4.1082 | -4.4722 | -5.1175 | 0.6743 | 0.6453 | -5.1175 | -4.4722 | -0.0614 | -0.1521 |
|
73 |
+
| 0.0538 | 1.9267 | 3600 | 0.0502 | 4.0026 | -4.3928 | -5.1056 | 0.6706 | 0.7129 | -5.1056 | -4.3928 | -0.1185 | -0.1939 |
|
74 |
+
| 0.0495 | 2.1408 | 4000 | 0.0502 | 4.0304 | -4.4251 | -5.1723 | 0.6825 | 0.7472 | -5.1723 | -4.4251 | -0.0488 | -0.1284 |
|
75 |
+
| 0.0522 | 2.3549 | 4400 | 0.0501 | 3.9711 | -4.3751 | -5.1111 | 0.6751 | 0.7360 | -5.1111 | -4.3751 | -0.1449 | -0.2170 |
|
76 |
+
| 0.0517 | 2.5690 | 4800 | 0.0501 | 4.0093 | -4.3976 | -5.1429 | 0.6832 | 0.7452 | -5.1429 | -4.3976 | -0.0508 | -0.1310 |
|
77 |
+
| 0.0496 | 2.7831 | 5200 | 0.0501 | 3.9605 | -4.3494 | -5.1084 | 0.6788 | 0.7590 | -5.1084 | -4.3494 | -0.0700 | -0.1475 |
|
78 |
+
| 0.0497 | 2.9972 | 5600 | 0.0501 | 3.9427 | -4.3435 | -5.1114 | 0.6810 | 0.7679 | -5.1114 | -4.3435 | -0.0604 | -0.1374 |
|
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.0595120464655691,
|
5 |
+
"train_runtime": 31911.443,
|
6 |
+
"train_samples": 59790,
|
7 |
+
"train_samples_per_second": 5.621,
|
8 |
+
"train_steps_per_second": 0.176
|
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.0595120464655691,
|
5 |
+
"train_runtime": 31911.443,
|
6 |
+
"train_samples": 59790,
|
7 |
+
"train_samples_per_second": 5.621,
|
8 |
+
"train_steps_per_second": 0.176
|
9 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|