Model save
Browse files- README.md +16 -21
- adapter_config.json +2 -2
- adapter_model.safetensors +1 -1
- all_results.json +19 -19
- eval_results.json +14 -14
- train_results.json +6 -6
- trainer_state.json +0 -0
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,11 +1,8 @@
|
|
1 |
---
|
2 |
-
license:
|
3 |
-
base_model:
|
4 |
tags:
|
5 |
-
- alignment-handbook
|
6 |
- generated_from_trainer
|
7 |
-
datasets:
|
8 |
-
- Anthropic/hh-rlhf
|
9 |
model-index:
|
10 |
- name: zephyr-7b-dpo-lora
|
11 |
results: []
|
@@ -16,17 +13,17 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
|
17 |
# zephyr-7b-dpo-lora
|
18 |
|
19 |
-
This model is a fine-tuned version of [
|
20 |
It achieves the following results on the evaluation set:
|
21 |
-
- Loss: 0.
|
22 |
-
- Rewards/chosen:
|
23 |
-
- Rewards/rejected: -
|
24 |
-
- Rewards/accuracies: 0.
|
25 |
-
- Rewards/margins:
|
26 |
-
- Logps/rejected: -
|
27 |
-
- Logps/chosen: -
|
28 |
-
- Logits/rejected: -
|
29 |
-
- Logits/chosen: -
|
30 |
|
31 |
## Model description
|
32 |
|
@@ -45,7 +42,7 @@ More information needed
|
|
45 |
### Training hyperparameters
|
46 |
|
47 |
The following hyperparameters were used during training:
|
48 |
-
- learning_rate:
|
49 |
- train_batch_size: 16
|
50 |
- eval_batch_size: 16
|
51 |
- seed: 42
|
@@ -56,20 +53,18 @@ The following hyperparameters were used during training:
|
|
56 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
57 |
- lr_scheduler_type: linear
|
58 |
- lr_scheduler_warmup_ratio: 0.1
|
59 |
-
- num_epochs:
|
60 |
|
61 |
### Training results
|
62 |
|
63 |
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
|
64 |
|:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
|
65 |
-
| 0.
|
66 |
-
| 0.2986 | 2.0 | 2492 | 0.6037 | -2.4129 | -3.4852 | 0.7201 | 1.0722 | -192.0881 | -183.6498 | -2.8543 | -2.8663 |
|
67 |
-
| 0.0973 | 3.0 | 3738 | 0.7922 | -6.3032 | -8.1308 | 0.7062 | 1.8276 | -238.5443 | -222.5519 | -2.6859 | -2.6948 |
|
68 |
|
69 |
|
70 |
### Framework versions
|
71 |
|
72 |
- Transformers 4.35.0
|
73 |
-
- Pytorch 2.1.
|
74 |
- Datasets 2.14.6
|
75 |
- Tokenizers 0.14.1
|
|
|
1 |
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: alignment-handbook/zephyr-7b-sft-full
|
4 |
tags:
|
|
|
5 |
- generated_from_trainer
|
|
|
|
|
6 |
model-index:
|
7 |
- name: zephyr-7b-dpo-lora
|
8 |
results: []
|
|
|
13 |
|
14 |
# zephyr-7b-dpo-lora
|
15 |
|
16 |
+
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.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.6488
|
19 |
+
- Rewards/chosen: 0.0341
|
20 |
+
- Rewards/rejected: -0.0820
|
21 |
+
- Rewards/accuracies: 0.7109
|
22 |
+
- Rewards/margins: 0.1161
|
23 |
+
- Logps/rejected: -224.8079
|
24 |
+
- Logps/chosen: -271.6428
|
25 |
+
- Logits/rejected: -3.0562
|
26 |
+
- Logits/chosen: -3.0761
|
27 |
|
28 |
## Model description
|
29 |
|
|
|
42 |
### Training hyperparameters
|
43 |
|
44 |
The following hyperparameters were used during training:
|
45 |
+
- learning_rate: 5e-07
|
46 |
- train_batch_size: 16
|
47 |
- eval_batch_size: 16
|
48 |
- seed: 42
|
|
|
53 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
54 |
- lr_scheduler_type: linear
|
55 |
- lr_scheduler_warmup_ratio: 0.1
|
56 |
+
- num_epochs: 1.0
|
57 |
|
58 |
### Training results
|
59 |
|
60 |
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
|
61 |
|:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
|
62 |
+
| 0.6488 | 1.0 | 485 | 0.6488 | 0.0341 | -0.0820 | 0.7109 | 0.1161 | -224.8079 | -271.6428 | -3.0562 | -3.0761 |
|
|
|
|
|
63 |
|
64 |
|
65 |
### Framework versions
|
66 |
|
67 |
- Transformers 4.35.0
|
68 |
+
- Pytorch 2.1.0+cu121
|
69 |
- Datasets 2.14.6
|
70 |
- Tokenizers 0.14.1
|
adapter_config.json
CHANGED
@@ -17,9 +17,9 @@
|
|
17 |
"revision": null,
|
18 |
"target_modules": [
|
19 |
"o_proj",
|
20 |
-
"v_proj",
|
21 |
"q_proj",
|
22 |
-
"k_proj"
|
|
|
23 |
],
|
24 |
"task_type": "CAUSAL_LM"
|
25 |
}
|
|
|
17 |
"revision": null,
|
18 |
"target_modules": [
|
19 |
"o_proj",
|
|
|
20 |
"q_proj",
|
21 |
+
"k_proj",
|
22 |
+
"v_proj"
|
23 |
],
|
24 |
"task_type": "CAUSAL_LM"
|
25 |
}
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 109086672
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:df593ca3ae7bf680c032ec8295da32728b125748963b4665b4da1dfd2c2164db
|
3 |
size 109086672
|
all_results.json
CHANGED
@@ -1,21 +1,21 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"eval_logits/chosen": -
|
4 |
-
"eval_logits/rejected": -
|
5 |
-
"eval_logps/chosen": -
|
6 |
-
"eval_logps/rejected": -
|
7 |
-
"eval_loss": 0.
|
8 |
-
"eval_rewards/accuracies": 0.
|
9 |
-
"eval_rewards/chosen":
|
10 |
-
"eval_rewards/margins":
|
11 |
-
"eval_rewards/rejected": -
|
12 |
-
"eval_runtime":
|
13 |
-
"eval_samples":
|
14 |
-
"eval_samples_per_second":
|
15 |
-
"eval_steps_per_second": 0.
|
16 |
-
"train_loss": 0.
|
17 |
-
"train_runtime":
|
18 |
-
"train_samples":
|
19 |
-
"train_samples_per_second":
|
20 |
-
"train_steps_per_second": 0.
|
21 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": -3.07612943649292,
|
4 |
+
"eval_logits/rejected": -3.056239604949951,
|
5 |
+
"eval_logps/chosen": -271.6427917480469,
|
6 |
+
"eval_logps/rejected": -224.8079376220703,
|
7 |
+
"eval_loss": 0.6488261818885803,
|
8 |
+
"eval_rewards/accuracies": 0.7109375,
|
9 |
+
"eval_rewards/chosen": 0.034067459404468536,
|
10 |
+
"eval_rewards/margins": 0.11610361933708191,
|
11 |
+
"eval_rewards/rejected": -0.08203616738319397,
|
12 |
+
"eval_runtime": 254.1478,
|
13 |
+
"eval_samples": 2000,
|
14 |
+
"eval_samples_per_second": 7.869,
|
15 |
+
"eval_steps_per_second": 0.063,
|
16 |
+
"train_loss": 0.6667533972828659,
|
17 |
+
"train_runtime": 15505.6746,
|
18 |
+
"train_samples": 61966,
|
19 |
+
"train_samples_per_second": 3.996,
|
20 |
+
"train_steps_per_second": 0.031
|
21 |
}
|
eval_results.json
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"eval_logits/chosen": -
|
4 |
-
"eval_logits/rejected": -
|
5 |
-
"eval_logps/chosen": -
|
6 |
-
"eval_logps/rejected": -
|
7 |
-
"eval_loss": 0.
|
8 |
-
"eval_rewards/accuracies": 0.
|
9 |
-
"eval_rewards/chosen":
|
10 |
-
"eval_rewards/margins":
|
11 |
-
"eval_rewards/rejected": -
|
12 |
-
"eval_runtime":
|
13 |
-
"eval_samples":
|
14 |
-
"eval_samples_per_second":
|
15 |
-
"eval_steps_per_second": 0.
|
16 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_logits/chosen": -3.07612943649292,
|
4 |
+
"eval_logits/rejected": -3.056239604949951,
|
5 |
+
"eval_logps/chosen": -271.6427917480469,
|
6 |
+
"eval_logps/rejected": -224.8079376220703,
|
7 |
+
"eval_loss": 0.6488261818885803,
|
8 |
+
"eval_rewards/accuracies": 0.7109375,
|
9 |
+
"eval_rewards/chosen": 0.034067459404468536,
|
10 |
+
"eval_rewards/margins": 0.11610361933708191,
|
11 |
+
"eval_rewards/rejected": -0.08203616738319397,
|
12 |
+
"eval_runtime": 254.1478,
|
13 |
+
"eval_samples": 2000,
|
14 |
+
"eval_samples_per_second": 7.869,
|
15 |
+
"eval_steps_per_second": 0.063
|
16 |
}
|
train_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"train_loss": 0.
|
4 |
-
"train_runtime":
|
5 |
-
"train_samples":
|
6 |
-
"train_samples_per_second":
|
7 |
-
"train_steps_per_second": 0.
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 0.6667533972828659,
|
4 |
+
"train_runtime": 15505.6746,
|
5 |
+
"train_samples": 61966,
|
6 |
+
"train_samples_per_second": 3.996,
|
7 |
+
"train_steps_per_second": 0.031
|
8 |
}
|
trainer_state.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5688
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:85762387de695f46895984cce9b354002e7bf3e93e34a5f99eed66dcb69e0b22
|
3 |
size 5688
|