Model save
Browse files- README.md +26 -27
- all_results.json +6 -18
- train_results.json +6 -5
- trainer_state.json +0 -0
README.md
CHANGED
@@ -1,9 +1,8 @@
|
|
1 |
---
|
2 |
-
base_model:
|
3 |
library_name: peft
|
4 |
-
license:
|
5 |
tags:
|
6 |
-
- alignment-handbook
|
7 |
- trl
|
8 |
- dpo
|
9 |
- generated_from_trainer
|
@@ -17,17 +16,17 @@ should probably proofread and complete it, then remove this comment. -->
|
|
17 |
|
18 |
# zephyr-7b-dpo-lora
|
19 |
|
20 |
-
This model is a fine-tuned version of [
|
21 |
It achieves the following results on the evaluation set:
|
22 |
-
- Loss: 0.
|
23 |
-
- Rewards/chosen: -
|
24 |
-
- Rewards/rejected: -
|
25 |
-
- Rewards/accuracies: 0.
|
26 |
-
- Rewards/margins: 0.
|
27 |
-
- Logps/rejected: -
|
28 |
-
- Logps/chosen: -
|
29 |
-
- Logits/rejected:
|
30 |
-
- Logits/chosen:
|
31 |
|
32 |
## Model description
|
33 |
|
@@ -62,23 +61,23 @@ The following hyperparameters were used during training:
|
|
62 |
|
63 |
### Training results
|
64 |
|
65 |
-
| Training Loss | Epoch
|
66 |
-
|
67 |
-
| 0.
|
68 |
-
| 0.
|
69 |
-
| 0.
|
70 |
-
| 0.
|
71 |
-
| 0.
|
72 |
-
| 0.
|
73 |
-
| 0.
|
74 |
-
| 0.
|
75 |
-
| 0.
|
76 |
|
77 |
|
78 |
### Framework versions
|
79 |
|
80 |
- PEFT 0.7.1
|
81 |
-
- Transformers 4.
|
82 |
-
- Pytorch 2.
|
83 |
- Datasets 2.14.6
|
84 |
-
- Tokenizers 0.
|
|
|
1 |
---
|
2 |
+
base_model: HuggingFaceH4/mistral-7b-sft-beta
|
3 |
library_name: peft
|
4 |
+
license: mit
|
5 |
tags:
|
|
|
6 |
- trl
|
7 |
- dpo
|
8 |
- generated_from_trainer
|
|
|
16 |
|
17 |
# zephyr-7b-dpo-lora
|
18 |
|
19 |
+
This model is a fine-tuned version of [HuggingFaceH4/mistral-7b-sft-beta](https://huggingface.co/HuggingFaceH4/mistral-7b-sft-beta) on the None dataset.
|
20 |
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.5084
|
22 |
+
- Rewards/chosen: -0.0008
|
23 |
+
- Rewards/rejected: -0.9080
|
24 |
+
- Rewards/accuracies: 0.7222
|
25 |
+
- Rewards/margins: 0.9072
|
26 |
+
- Logps/rejected: -276.7181
|
27 |
+
- Logps/chosen: -271.8789
|
28 |
+
- Logits/rejected: -2.7174
|
29 |
+
- Logits/chosen: -2.7372
|
30 |
|
31 |
## Model description
|
32 |
|
|
|
61 |
|
62 |
### Training results
|
63 |
|
64 |
+
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
|
65 |
+
|:-------------:|:------:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
|
66 |
+
| 0.5795 | 0.1047 | 100 | 0.5875 | 0.0265 | -0.3721 | 0.6825 | 0.3986 | -271.3593 | -271.6063 | -2.7688 | -2.7900 |
|
67 |
+
| 0.5449 | 0.2094 | 200 | 0.5520 | 0.0601 | -0.5726 | 0.7103 | 0.6327 | -273.3645 | -271.2704 | -2.7792 | -2.7981 |
|
68 |
+
| 0.545 | 0.3141 | 300 | 0.5320 | -0.0197 | -0.7637 | 0.7044 | 0.7439 | -275.2751 | -272.0686 | -2.7616 | -2.7803 |
|
69 |
+
| 0.4747 | 0.4187 | 400 | 0.5228 | -0.1728 | -0.9527 | 0.7004 | 0.7798 | -277.1651 | -273.5996 | -2.7532 | -2.7732 |
|
70 |
+
| 0.5367 | 0.5234 | 500 | 0.5175 | -0.2142 | -1.0435 | 0.7143 | 0.8293 | -278.0737 | -274.0135 | -2.7339 | -2.7540 |
|
71 |
+
| 0.5031 | 0.6281 | 600 | 0.5139 | -0.2939 | -1.1329 | 0.7024 | 0.8389 | -278.9670 | -274.8105 | -2.7071 | -2.7268 |
|
72 |
+
| 0.5057 | 0.7328 | 700 | 0.5084 | -0.0108 | -0.9049 | 0.7202 | 0.8941 | -276.6876 | -271.9794 | -2.7207 | -2.7404 |
|
73 |
+
| 0.5172 | 0.8375 | 800 | 0.5090 | -0.0300 | -0.9231 | 0.7183 | 0.8931 | -276.8697 | -272.1711 | -2.7173 | -2.7371 |
|
74 |
+
| 0.5173 | 0.9422 | 900 | 0.5084 | -0.0008 | -0.9080 | 0.7222 | 0.9072 | -276.7181 | -271.8789 | -2.7174 | -2.7372 |
|
75 |
|
76 |
|
77 |
### Framework versions
|
78 |
|
79 |
- PEFT 0.7.1
|
80 |
+
- Transformers 4.45.2
|
81 |
+
- Pytorch 2.4.0+cu121
|
82 |
- Datasets 2.14.6
|
83 |
+
- Tokenizers 0.20.1
|
all_results.json
CHANGED
@@ -1,21 +1,9 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"
|
4 |
-
"
|
5 |
-
"
|
6 |
-
"eval_logps/rejected": -536.2667236328125,
|
7 |
-
"eval_loss": 0.49303239583969116,
|
8 |
-
"eval_rewards/accuracies": 0.7242063283920288,
|
9 |
-
"eval_rewards/chosen": -1.7955820560455322,
|
10 |
-
"eval_rewards/margins": 0.9434418678283691,
|
11 |
-
"eval_rewards/rejected": -2.7390236854553223,
|
12 |
-
"eval_runtime": 363.1163,
|
13 |
-
"eval_samples": 2000,
|
14 |
-
"eval_samples_per_second": 5.508,
|
15 |
-
"eval_steps_per_second": 0.173,
|
16 |
-
"train_loss": 0.5264237219126436,
|
17 |
-
"train_runtime": 29801.8239,
|
18 |
"train_samples": 61135,
|
19 |
-
"train_samples_per_second": 2.
|
20 |
-
"train_steps_per_second": 0.
|
21 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 0.9997382884061764,
|
3 |
+
"total_flos": 0.0,
|
4 |
+
"train_loss": 0.5278735879828168,
|
5 |
+
"train_runtime": 28474.7268,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
"train_samples": 61135,
|
7 |
+
"train_samples_per_second": 2.147,
|
8 |
+
"train_steps_per_second": 0.034
|
9 |
}
|
train_results.json
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"
|
4 |
-
"
|
|
|
5 |
"train_samples": 61135,
|
6 |
-
"train_samples_per_second": 2.
|
7 |
-
"train_steps_per_second": 0.
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 0.9997382884061764,
|
3 |
+
"total_flos": 0.0,
|
4 |
+
"train_loss": 0.5278735879828168,
|
5 |
+
"train_runtime": 28474.7268,
|
6 |
"train_samples": 61135,
|
7 |
+
"train_samples_per_second": 2.147,
|
8 |
+
"train_steps_per_second": 0.034
|
9 |
}
|
trainer_state.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|