Model save
Browse files- README.md +76 -0
- adapter_model.safetensors +1 -1
- all_results.json +21 -0
- eval_results.json +16 -0
- runs/Feb19_17-15-08_586cb8b6da8c/events.out.tfevents.1708363013.586cb8b6da8c.7930.0 +2 -2
- runs/Feb19_17-15-08_586cb8b6da8c/events.out.tfevents.1708431639.586cb8b6da8c.7930.1 +3 -0
- train_results.json +8 -0
- trainer_state.json +0 -0
README.md
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- dpo
|
7 |
+
- generated_from_trainer
|
8 |
+
base_model: alignment-handbook/zephyr-7b-sft-full
|
9 |
+
model-index:
|
10 |
+
- name: zephyr-7b-dpo-lora-pubmedqa-selfgen-complete
|
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-dpo-lora-pubmedqa-selfgen-complete
|
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.0000
|
22 |
+
- Rewards/chosen: 0.1952
|
23 |
+
- Rewards/rejected: -11.1838
|
24 |
+
- Rewards/accuracies: 1.0
|
25 |
+
- Rewards/margins: 11.3790
|
26 |
+
- Logps/rejected: -1156.6167
|
27 |
+
- Logps/chosen: -39.8472
|
28 |
+
- Logits/rejected: -2.9309
|
29 |
+
- Logits/chosen: -2.9452
|
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-06
|
49 |
+
- train_batch_size: 2
|
50 |
+
- eval_batch_size: 8
|
51 |
+
- seed: 42
|
52 |
+
- distributed_type: multi-GPU
|
53 |
+
- num_devices: 2
|
54 |
+
- gradient_accumulation_steps: 2
|
55 |
+
- total_train_batch_size: 8
|
56 |
+
- total_eval_batch_size: 16
|
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.0001 | 0.42 | 7000 | 0.0000 | 0.1174 | -11.2894 | 1.0 | 11.4068 | -1167.1736 | -47.6243 | -2.9079 | -2.9350 |
|
67 |
+
| 0.0002 | 0.83 | 14000 | 0.0000 | 0.1971 | -11.1349 | 1.0 | 11.3320 | -1151.7302 | -39.6554 | -2.9320 | -2.9443 |
|
68 |
+
|
69 |
+
|
70 |
+
### Framework versions
|
71 |
+
|
72 |
+
- PEFT 0.7.1
|
73 |
+
- Transformers 4.36.2
|
74 |
+
- Pytorch 2.1.2+cu121
|
75 |
+
- Datasets 2.14.6
|
76 |
+
- Tokenizers 0.15.2
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 83946192
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:edabdfe3d8daf9fb6c3442f6b5a33179b97967b8ff00320a0b45350d0a6ed1c2
|
3 |
size 83946192
|
all_results.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": -2.945185899734497,
|
4 |
+
"eval_logits/rejected": -2.9309117794036865,
|
5 |
+
"eval_logps/chosen": -39.84721755981445,
|
6 |
+
"eval_logps/rejected": -1156.61669921875,
|
7 |
+
"eval_loss": 2.3733691705274396e-05,
|
8 |
+
"eval_rewards/accuracies": 1.0,
|
9 |
+
"eval_rewards/chosen": 0.1952119767665863,
|
10 |
+
"eval_rewards/margins": 11.378995895385742,
|
11 |
+
"eval_rewards/rejected": -11.183783531188965,
|
12 |
+
"eval_runtime": 3.9067,
|
13 |
+
"eval_samples": 5,
|
14 |
+
"eval_samples_per_second": 1.28,
|
15 |
+
"eval_steps_per_second": 0.256,
|
16 |
+
"train_loss": 0.02337361431049117,
|
17 |
+
"train_runtime": 68623.0806,
|
18 |
+
"train_samples": 134157,
|
19 |
+
"train_samples_per_second": 1.955,
|
20 |
+
"train_steps_per_second": 0.244
|
21 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": -2.945185899734497,
|
4 |
+
"eval_logits/rejected": -2.9309117794036865,
|
5 |
+
"eval_logps/chosen": -39.84721755981445,
|
6 |
+
"eval_logps/rejected": -1156.61669921875,
|
7 |
+
"eval_loss": 2.3733691705274396e-05,
|
8 |
+
"eval_rewards/accuracies": 1.0,
|
9 |
+
"eval_rewards/chosen": 0.1952119767665863,
|
10 |
+
"eval_rewards/margins": 11.378995895385742,
|
11 |
+
"eval_rewards/rejected": -11.183783531188965,
|
12 |
+
"eval_runtime": 3.9067,
|
13 |
+
"eval_samples": 5,
|
14 |
+
"eval_samples_per_second": 1.28,
|
15 |
+
"eval_steps_per_second": 0.256
|
16 |
+
}
|
runs/Feb19_17-15-08_586cb8b6da8c/events.out.tfevents.1708363013.586cb8b6da8c.7930.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6ca91811d7ed9464f3de2ea9b588ecba51a05457594f544cd6ed0e5129d9e734
|
3 |
+
size 1070630
|
runs/Feb19_17-15-08_586cb8b6da8c/events.out.tfevents.1708431639.586cb8b6da8c.7930.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:443c798882bd4ea1acce9e48892aecc10c0635939214432c9311c48cf2720853
|
3 |
+
size 841
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 0.02337361431049117,
|
4 |
+
"train_runtime": 68623.0806,
|
5 |
+
"train_samples": 134157,
|
6 |
+
"train_samples_per_second": 1.955,
|
7 |
+
"train_steps_per_second": 0.244
|
8 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|