NicholasCorrado
commited on
Model save
Browse files- README.md +77 -0
- all_results.json +9 -0
- generation_config.json +6 -0
- train_results.json +9 -0
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: alignment-handbook/zephyr-7b-sft-full
|
5 |
+
tags:
|
6 |
+
- trl
|
7 |
+
- dpo
|
8 |
+
- generated_from_trainer
|
9 |
+
model-index:
|
10 |
+
- name: zephyr-7b-group-dpo-full-4
|
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 |
+
# zephyr-7b-group-dpo-full-4
|
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 the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.3329
|
22 |
+
- Rewards/chosen: -3.5971
|
23 |
+
- Rewards/rejected: -6.6557
|
24 |
+
- Rewards/accuracies: 0.8281
|
25 |
+
- Rewards/margins: 3.0586
|
26 |
+
- Logps/rejected: -955.4623
|
27 |
+
- Logps/chosen: -642.2396
|
28 |
+
- Logits/rejected: -0.6052
|
29 |
+
- Logits/chosen: -1.1035
|
30 |
+
|
31 |
+
## Model description
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Intended uses & limitations
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training and evaluation data
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Training procedure
|
44 |
+
|
45 |
+
### Training hyperparameters
|
46 |
+
|
47 |
+
The following hyperparameters were used during training:
|
48 |
+
- learning_rate: 5e-07
|
49 |
+
- train_batch_size: 8
|
50 |
+
- eval_batch_size: 8
|
51 |
+
- seed: 42
|
52 |
+
- distributed_type: multi-GPU
|
53 |
+
- num_devices: 8
|
54 |
+
- gradient_accumulation_steps: 4
|
55 |
+
- total_train_batch_size: 256
|
56 |
+
- total_eval_batch_size: 64
|
57 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
58 |
+
- lr_scheduler_type: cosine
|
59 |
+
- lr_scheduler_warmup_ratio: 0.1
|
60 |
+
- num_epochs: 1
|
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.2094 | 0.2303 | 100 | 0.4273 | -1.2973 | -2.4710 | 0.7768 | 1.1737 | -536.9892 | -412.2621 | -2.8747 | -2.8886 |
|
67 |
+
| 0.1232 | 0.4606 | 200 | 0.3541 | -2.8531 | -5.1625 | 0.8069 | 2.3094 | -806.1392 | -567.8411 | -1.2949 | -1.6181 |
|
68 |
+
| 0.1 | 0.6908 | 300 | 0.3383 | -3.9067 | -6.9476 | 0.8158 | 3.0409 | -984.6500 | -673.2026 | -0.4879 | -0.9150 |
|
69 |
+
| 0.0956 | 0.9211 | 400 | 0.3329 | -3.5971 | -6.6557 | 0.8281 | 3.0586 | -955.4623 | -642.2396 | -0.6052 | -1.1035 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- Transformers 4.44.1
|
75 |
+
- Pytorch 2.1.2+cu121
|
76 |
+
- Datasets 2.21.0
|
77 |
+
- Tokenizers 0.19.1
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.9994242947610823,
|
3 |
+
"total_flos": 0.0,
|
4 |
+
"train_loss": 0.17276417467451316,
|
5 |
+
"train_runtime": 14185.6914,
|
6 |
+
"train_samples": 111134,
|
7 |
+
"train_samples_per_second": 7.834,
|
8 |
+
"train_steps_per_second": 0.031
|
9 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.44.1"
|
6 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.9994242947610823,
|
3 |
+
"total_flos": 0.0,
|
4 |
+
"train_loss": 0.17276417467451316,
|
5 |
+
"train_runtime": 14185.6914,
|
6 |
+
"train_samples": 111134,
|
7 |
+
"train_samples_per_second": 7.834,
|
8 |
+
"train_steps_per_second": 0.031
|
9 |
+
}
|