Model save
Browse files
README.md
CHANGED
@@ -3,15 +3,10 @@ library_name: transformers
|
|
3 |
license: apache-2.0
|
4 |
base_model: alignment-handbook/zephyr-7b-sft-full
|
5 |
tags:
|
6 |
-
- alignment-handbook
|
7 |
-
- trl
|
8 |
-
- dpo
|
9 |
-
- generated_from_trainer
|
10 |
- trl
|
11 |
- dpo
|
|
|
12 |
- generated_from_trainer
|
13 |
-
datasets:
|
14 |
-
- HuggingFaceH4/ultrafeedback_binarized
|
15 |
model-index:
|
16 |
- name: zephyr-7b-dpo-full
|
17 |
results: []
|
@@ -22,17 +17,17 @@ should probably proofread and complete it, then remove this comment. -->
|
|
22 |
|
23 |
# zephyr-7b-dpo-full
|
24 |
|
25 |
-
This model is a fine-tuned version of [alignment-handbook/zephyr-7b-sft-full](https://huggingface.co/alignment-handbook/zephyr-7b-sft-full) on the
|
26 |
It achieves the following results on the evaluation set:
|
27 |
-
-
|
28 |
-
-
|
29 |
-
-
|
30 |
-
-
|
31 |
-
-
|
32 |
-
-
|
33 |
-
-
|
34 |
-
-
|
35 |
-
-
|
36 |
|
37 |
## Model description
|
38 |
|
@@ -67,16 +62,16 @@ The following hyperparameters were used during training:
|
|
67 |
|
68 |
### Training results
|
69 |
|
70 |
-
| Training Loss | Epoch | Step |
|
71 |
-
|
72 |
-
| 0.5385 | 0.1152 | 100 |
|
73 |
-
| 0.4369 | 0.2303 | 200 |
|
74 |
-
| 0.4119 | 0.3455 | 300 | 0.
|
75 |
-
| 0.3964 | 0.4607 | 400 | 0.
|
76 |
-
| 0.3858 | 0.5759 | 500 | 0.
|
77 |
-
| 0.4031 | 0.6910 | 600 | 0.
|
78 |
-
| 0.4007 | 0.8062 | 700 | 0.
|
79 |
-
| 0.3644 | 0.9214 | 800 | 0.
|
80 |
|
81 |
|
82 |
### Framework versions
|
|
|
3 |
license: apache-2.0
|
4 |
base_model: alignment-handbook/zephyr-7b-sft-full
|
5 |
tags:
|
|
|
|
|
|
|
|
|
6 |
- trl
|
7 |
- dpo
|
8 |
+
- alignment-handbook
|
9 |
- generated_from_trainer
|
|
|
|
|
10 |
model-index:
|
11 |
- name: zephyr-7b-dpo-full
|
12 |
results: []
|
|
|
17 |
|
18 |
# zephyr-7b-dpo-full
|
19 |
|
20 |
+
This model is a fine-tuned version of [alignment-handbook/zephyr-7b-sft-full](https://huggingface.co/alignment-handbook/zephyr-7b-sft-full) on the None dataset.
|
21 |
It achieves the following results on the evaluation set:
|
22 |
+
- Logits/chosen: -0.3096
|
23 |
+
- Logits/rejected: 0.6049
|
24 |
+
- Logps/chosen: -755.9323
|
25 |
+
- Logps/rejected: -1192.5621
|
26 |
+
- Loss: 0.3152
|
27 |
+
- Rewards/accuracies: 0.8184
|
28 |
+
- Rewards/chosen: -4.6496
|
29 |
+
- Rewards/margins: 4.3751
|
30 |
+
- Rewards/rejected: -9.0247
|
31 |
|
32 |
## Model description
|
33 |
|
|
|
62 |
|
63 |
### Training results
|
64 |
|
65 |
+
| Training Loss | Epoch | Step | Logits/chosen | Logits/rejected | Logps/chosen | Logps/rejected | Validation Loss | Rewards/accuracies | Rewards/chosen | Rewards/margins | Rewards/rejected |
|
66 |
+
|:-------------:|:------:|:----:|:-------------:|:---------------:|:------------:|:--------------:|:---------------:|:------------------:|:--------------:|:---------------:|:----------------:|
|
67 |
+
| 0.5385 | 0.1152 | 100 | -2.9012 | -2.8749 | -433.4271 | -527.4997 | 0.4593 | 0.7539 | -1.4246 | 0.9495 | -2.3741 |
|
68 |
+
| 0.4369 | 0.2303 | 200 | -1.5078 | -1.1798 | -594.2914 | -823.1062 | 0.3590 | 0.7915 | -3.0332 | 2.2969 | -5.3301 |
|
69 |
+
| 0.4119 | 0.3455 | 300 | -0.6166 | -0.1140 | -677.2002 | -996.9340 | 0.3369 | 0.8156 | -3.8623 | 3.2061 | -7.0684 |
|
70 |
+
| 0.3964 | 0.4607 | 400 | -0.6209 | 0.2313 | -753.4187 | -1128.0946 | 0.3311 | 0.8178 | -4.6245 | 3.7555 | -8.3800 |
|
71 |
+
| 0.3858 | 0.5759 | 500 | -0.7776 | 0.1893 | -694.4181 | -1049.8429 | 0.3247 | 0.8167 | -4.0345 | 3.5630 | -7.5975 |
|
72 |
+
| 0.4031 | 0.6910 | 600 | -0.2605 | 0.6163 | -748.3096 | -1143.1573 | 0.3191 | 0.8201 | -4.5734 | 3.9572 | -8.5306 |
|
73 |
+
| 0.4007 | 0.8062 | 700 | -0.4982 | 0.4411 | -753.0112 | -1189.4250 | 0.3171 | 0.8178 | -4.6204 | 4.3729 | -8.9933 |
|
74 |
+
| 0.3644 | 0.9214 | 800 | -0.3096 | 0.6049 | -755.9323 | -1192.5621 | 0.3152 | 0.8184 | -4.6496 | 4.3751 | -9.0247 |
|
75 |
|
76 |
|
77 |
### Framework versions
|
all_results.json
CHANGED
@@ -14,9 +14,9 @@
|
|
14 |
"eval_samples_per_second": 10.983,
|
15 |
"eval_steps_per_second": 0.344,
|
16 |
"total_flos": 0.0,
|
17 |
-
"train_loss": 0.
|
18 |
-
"train_runtime":
|
19 |
"train_samples": 111134,
|
20 |
-
"train_samples_per_second":
|
21 |
-
"train_steps_per_second":
|
22 |
}
|
|
|
14 |
"eval_samples_per_second": 10.983,
|
15 |
"eval_steps_per_second": 0.344,
|
16 |
"total_flos": 0.0,
|
17 |
+
"train_loss": 0.0,
|
18 |
+
"train_runtime": 0.0165,
|
19 |
"train_samples": 111134,
|
20 |
+
"train_samples_per_second": 6754818.797,
|
21 |
+
"train_steps_per_second": 52757.776
|
22 |
}
|
config.json
CHANGED
@@ -22,6 +22,6 @@
|
|
22 |
"tie_word_embeddings": false,
|
23 |
"torch_dtype": "bfloat16",
|
24 |
"transformers_version": "4.44.1",
|
25 |
-
"use_cache":
|
26 |
"vocab_size": 32000
|
27 |
}
|
|
|
22 |
"tie_word_embeddings": false,
|
23 |
"torch_dtype": "bfloat16",
|
24 |
"transformers_version": "4.44.1",
|
25 |
+
"use_cache": false,
|
26 |
"vocab_size": 32000
|
27 |
}
|
runs/Aug25_00-33-37_ip-10-0-9-154.ec2.internal/events.out.tfevents.1724547401.ip-10-0-9-154.ec2.internal.32573.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:728af975b19adca6451e531d165002e5fd21f6dde541a5c6ef0af6f839f98771
|
3 |
+
size 6511
|
train_results.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
{
|
2 |
"epoch": 0.9997120644975526,
|
3 |
"total_flos": 0.0,
|
4 |
-
"train_loss": 0.
|
5 |
-
"train_runtime":
|
6 |
"train_samples": 111134,
|
7 |
-
"train_samples_per_second":
|
8 |
-
"train_steps_per_second":
|
9 |
}
|
|
|
1 |
{
|
2 |
"epoch": 0.9997120644975526,
|
3 |
"total_flos": 0.0,
|
4 |
+
"train_loss": 0.0,
|
5 |
+
"train_runtime": 0.0165,
|
6 |
"train_samples": 111134,
|
7 |
+
"train_samples_per_second": 6754818.797,
|
8 |
+
"train_steps_per_second": 52757.776
|
9 |
}
|
trainer_state.json
CHANGED
@@ -1445,10 +1445,10 @@
|
|
1445 |
"epoch": 0.9997120644975526,
|
1446 |
"step": 868,
|
1447 |
"total_flos": 0.0,
|
1448 |
-
"train_loss": 0.
|
1449 |
-
"train_runtime":
|
1450 |
-
"train_samples_per_second":
|
1451 |
-
"train_steps_per_second":
|
1452 |
}
|
1453 |
],
|
1454 |
"logging_steps": 10,
|
|
|
1445 |
"epoch": 0.9997120644975526,
|
1446 |
"step": 868,
|
1447 |
"total_flos": 0.0,
|
1448 |
+
"train_loss": 0.0,
|
1449 |
+
"train_runtime": 0.0165,
|
1450 |
+
"train_samples_per_second": 6754818.797,
|
1451 |
+
"train_steps_per_second": 52757.776
|
1452 |
}
|
1453 |
],
|
1454 |
"logging_steps": 10,
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 7480
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd37cb1dc1df49b1c196baae69716974588d4499feec8711bb52413e033a8a20
|
3 |
size 7480
|