Model save
Browse files- README.md +26 -29
- adapter_config.json +4 -4
- all_results.json +4 -17
- train_results.json +4 -4
- trainer_state.json +4 -4
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,11 +1,8 @@
|
|
1 |
---
|
2 |
base_model: alignment-handbook/zephyr-7b-sft-full
|
3 |
-
datasets:
|
4 |
-
- HuggingFaceH4/ultrafeedback_binarized
|
5 |
library_name: peft
|
6 |
license: apache-2.0
|
7 |
tags:
|
8 |
-
- alignment-handbook
|
9 |
- trl
|
10 |
- dpo
|
11 |
- generated_from_trainer
|
@@ -19,17 +16,17 @@ should probably proofread and complete it, then remove this comment. -->
|
|
19 |
|
20 |
# zephyr-7b-dpo-lora-r16-20k
|
21 |
|
22 |
-
This model is a fine-tuned version of [alignment-handbook/zephyr-7b-sft-full](https://huggingface.co/alignment-handbook/zephyr-7b-sft-full) on
|
23 |
It achieves the following results on the evaluation set:
|
24 |
-
-
|
25 |
-
-
|
26 |
-
-
|
27 |
-
-
|
28 |
-
-
|
29 |
-
-
|
30 |
-
-
|
31 |
-
-
|
32 |
-
-
|
33 |
|
34 |
## Model description
|
35 |
|
@@ -62,26 +59,26 @@ The following hyperparameters were used during training:
|
|
62 |
|
63 |
### Training results
|
64 |
|
65 |
-
| Training Loss | Epoch | Step |
|
66 |
-
|
67 |
-
| 0.6895 | 0.08 | 100 |
|
68 |
-
| 0.653 | 0.16 | 200 |
|
69 |
-
| 0.6385 | 0.24 | 300 |
|
70 |
-
| 0.5689 | 0.32 | 400 |
|
71 |
-
| 0.5689 | 0.4 | 500 |
|
72 |
-
| 0.5884 | 0.48 | 600 |
|
73 |
-
| 0.5366 | 0.56 | 700 |
|
74 |
-
| 0.542 | 0.64 | 800 |
|
75 |
-
| 0.5282 | 0.72 | 900 |
|
76 |
-
| 0.5873 | 0.8 | 1000 |
|
77 |
-
| 0.5152 | 0.88 | 1100 |
|
78 |
-
| 0.5213 | 0.96 | 1200 |
|
79 |
|
80 |
|
81 |
### Framework versions
|
82 |
|
83 |
- PEFT 0.12.0
|
84 |
- Transformers 4.44.0
|
85 |
-
- Pytorch 2.
|
86 |
-
- Datasets 2.
|
87 |
- Tokenizers 0.19.1
|
|
|
1 |
---
|
2 |
base_model: alignment-handbook/zephyr-7b-sft-full
|
|
|
|
|
3 |
library_name: peft
|
4 |
license: apache-2.0
|
5 |
tags:
|
|
|
6 |
- trl
|
7 |
- dpo
|
8 |
- generated_from_trainer
|
|
|
16 |
|
17 |
# zephyr-7b-dpo-lora-r16-20k
|
18 |
|
19 |
+
This model is a fine-tuned version of [alignment-handbook/zephyr-7b-sft-full](https://huggingface.co/alignment-handbook/zephyr-7b-sft-full) on an unknown dataset.
|
20 |
It achieves the following results on the evaluation set:
|
21 |
+
- Logits/chosen: -2.5568
|
22 |
+
- Logits/rejected: -2.5135
|
23 |
+
- Logps/chosen: -362.1219
|
24 |
+
- Logps/rejected: -395.5133
|
25 |
+
- Loss: 0.5370
|
26 |
+
- Rewards/accuracies: 0.7063
|
27 |
+
- Rewards/chosen: -0.7888
|
28 |
+
- Rewards/margins: 0.6860
|
29 |
+
- Rewards/rejected: -1.4748
|
30 |
|
31 |
## Model description
|
32 |
|
|
|
59 |
|
60 |
### Training results
|
61 |
|
62 |
+
| Training Loss | Epoch | Step | Logits/chosen | Logits/rejected | Logps/chosen | Logps/rejected | Validation Loss | Rewards/accuracies | Rewards/chosen | Rewards/margins | Rewards/rejected |
|
63 |
+
|:-------------:|:-----:|:----:|:-------------:|:---------------:|:------------:|:--------------:|:---------------:|:------------------:|:--------------:|:---------------:|:----------------:|
|
64 |
+
| 0.6895 | 0.08 | 100 | -2.8901 | -2.8481 | -282.2447 | -247.7537 | 0.6896 | 0.6627 | 0.0099 | 0.0072 | 0.0028 |
|
65 |
+
| 0.653 | 0.16 | 200 | -2.8742 | -2.8339 | -284.5635 | -257.5692 | 0.6569 | 0.6865 | -0.0133 | 0.0821 | -0.0954 |
|
66 |
+
| 0.6385 | 0.24 | 300 | -2.8399 | -2.8031 | -310.6566 | -295.5536 | 0.6190 | 0.6905 | -0.2742 | 0.2011 | -0.4752 |
|
67 |
+
| 0.5689 | 0.32 | 400 | -2.8437 | -2.8083 | -312.9573 | -305.2159 | 0.6027 | 0.6944 | -0.2972 | 0.2747 | -0.5719 |
|
68 |
+
| 0.5689 | 0.4 | 500 | -2.7560 | -2.7152 | -349.3812 | -355.0662 | 0.5750 | 0.7242 | -0.6614 | 0.4089 | -1.0704 |
|
69 |
+
| 0.5884 | 0.48 | 600 | -2.6724 | -2.6322 | -352.8877 | -375.1053 | 0.5479 | 0.7123 | -0.6965 | 0.5743 | -1.2708 |
|
70 |
+
| 0.5366 | 0.56 | 700 | -2.6541 | -2.6144 | -355.7809 | -381.5439 | 0.5462 | 0.7123 | -0.7254 | 0.6097 | -1.3351 |
|
71 |
+
| 0.542 | 0.64 | 800 | -2.6163 | -2.5757 | -352.4363 | -374.8915 | 0.5451 | 0.7262 | -0.6920 | 0.5766 | -1.2686 |
|
72 |
+
| 0.5282 | 0.72 | 900 | -2.5716 | -2.5266 | -362.9279 | -390.7825 | 0.5412 | 0.7083 | -0.7969 | 0.6306 | -1.4275 |
|
73 |
+
| 0.5873 | 0.8 | 1000 | -2.5693 | -2.5254 | -365.5720 | -399.3072 | 0.5369 | 0.7083 | -0.8233 | 0.6894 | -1.5128 |
|
74 |
+
| 0.5152 | 0.88 | 1100 | -2.5620 | -2.5188 | -357.7025 | -389.9855 | 0.5384 | 0.7143 | -0.7446 | 0.6749 | -1.4196 |
|
75 |
+
| 0.5213 | 0.96 | 1200 | -2.5568 | -2.5135 | -362.1219 | -395.5133 | 0.5370 | 0.7063 | -0.7888 | 0.6860 | -1.4748 |
|
76 |
|
77 |
|
78 |
### Framework versions
|
79 |
|
80 |
- PEFT 0.12.0
|
81 |
- Transformers 4.44.0
|
82 |
+
- Pytorch 2.1.2+cu118
|
83 |
+
- Datasets 2.21.0
|
84 |
- Tokenizers 0.19.1
|
adapter_config.json
CHANGED
@@ -20,13 +20,13 @@
|
|
20 |
"rank_pattern": {},
|
21 |
"revision": null,
|
22 |
"target_modules": [
|
|
|
|
|
|
|
23 |
"q_proj",
|
24 |
-
"gate_proj",
|
25 |
"k_proj",
|
26 |
-
"down_proj",
|
27 |
-
"o_proj",
|
28 |
"v_proj",
|
29 |
-
"
|
30 |
],
|
31 |
"task_type": "CAUSAL_LM",
|
32 |
"use_dora": false,
|
|
|
20 |
"rank_pattern": {},
|
21 |
"revision": null,
|
22 |
"target_modules": [
|
23 |
+
"o_proj",
|
24 |
+
"down_proj",
|
25 |
+
"up_proj",
|
26 |
"q_proj",
|
|
|
27 |
"k_proj",
|
|
|
|
|
28 |
"v_proj",
|
29 |
+
"gate_proj"
|
30 |
],
|
31 |
"task_type": "CAUSAL_LM",
|
32 |
"use_dora": false,
|
all_results.json
CHANGED
@@ -1,22 +1,9 @@
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
3 |
-
"eval_logits/chosen": -2.553934335708618,
|
4 |
-
"eval_logits/rejected": -2.510233163833618,
|
5 |
-
"eval_logps/chosen": -362.36248779296875,
|
6 |
-
"eval_logps/rejected": -395.8988952636719,
|
7 |
-
"eval_loss": 0.5367478132247925,
|
8 |
-
"eval_rewards/accuracies": 0.7103174328804016,
|
9 |
-
"eval_rewards/chosen": -0.7912437319755554,
|
10 |
-
"eval_rewards/margins": 0.6874489188194275,
|
11 |
-
"eval_rewards/rejected": -1.4786925315856934,
|
12 |
-
"eval_runtime": 165.9175,
|
13 |
-
"eval_samples": 500,
|
14 |
-
"eval_samples_per_second": 3.014,
|
15 |
-
"eval_steps_per_second": 0.38,
|
16 |
"total_flos": 0.0,
|
17 |
-
"train_loss": 0.
|
18 |
-
"train_runtime":
|
19 |
"train_samples": 20000,
|
20 |
-
"train_samples_per_second":
|
21 |
-
"train_steps_per_second":
|
22 |
}
|
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"total_flos": 0.0,
|
4 |
+
"train_loss": 0.0,
|
5 |
+
"train_runtime": 0.007,
|
6 |
"train_samples": 20000,
|
7 |
+
"train_samples_per_second": 2851328.348,
|
8 |
+
"train_steps_per_second": 178208.022
|
9 |
}
|
train_results.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
3 |
"total_flos": 0.0,
|
4 |
-
"train_loss": 0.
|
5 |
-
"train_runtime":
|
6 |
"train_samples": 20000,
|
7 |
-
"train_samples_per_second":
|
8 |
-
"train_steps_per_second":
|
9 |
}
|
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
3 |
"total_flos": 0.0,
|
4 |
+
"train_loss": 0.0,
|
5 |
+
"train_runtime": 0.007,
|
6 |
"train_samples": 20000,
|
7 |
+
"train_samples_per_second": 2851328.348,
|
8 |
+
"train_steps_per_second": 178208.022
|
9 |
}
|
trainer_state.json
CHANGED
@@ -3969,10 +3969,10 @@
|
|
3969 |
"epoch": 1.0,
|
3970 |
"step": 1250,
|
3971 |
"total_flos": 0.0,
|
3972 |
-
"train_loss": 0.
|
3973 |
-
"train_runtime":
|
3974 |
-
"train_samples_per_second":
|
3975 |
-
"train_steps_per_second":
|
3976 |
}
|
3977 |
],
|
3978 |
"logging_steps": 5,
|
|
|
3969 |
"epoch": 1.0,
|
3970 |
"step": 1250,
|
3971 |
"total_flos": 0.0,
|
3972 |
+
"train_loss": 0.0,
|
3973 |
+
"train_runtime": 0.007,
|
3974 |
+
"train_samples_per_second": 2851328.348,
|
3975 |
+
"train_steps_per_second": 178208.022
|
3976 |
}
|
3977 |
],
|
3978 |
"logging_steps": 5,
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 6200
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1be4d7d17cad82502d0bb662ad8f3519df18c33c47b46c125a7d71e70f88371f
|
3 |
size 6200
|