Model save
Browse files- README.md +62 -0
- all_results.json +8 -0
- train_results.json +8 -0
- trainer_state.json +142 -0
README.md
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-lora-64-no-quant-4k
|
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-lora-64-no-quant-4k
|
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 |
+
|
21 |
+
## Model description
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Intended uses & limitations
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training and evaluation data
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training procedure
|
34 |
+
|
35 |
+
### Training hyperparameters
|
36 |
+
|
37 |
+
The following hyperparameters were used during training:
|
38 |
+
- learning_rate: 5e-06
|
39 |
+
- train_batch_size: 2
|
40 |
+
- eval_batch_size: 2
|
41 |
+
- seed: 42
|
42 |
+
- distributed_type: multi-GPU
|
43 |
+
- num_devices: 4
|
44 |
+
- gradient_accumulation_steps: 32
|
45 |
+
- total_train_batch_size: 256
|
46 |
+
- total_eval_batch_size: 8
|
47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: cosine
|
49 |
+
- lr_scheduler_warmup_ratio: 0.1
|
50 |
+
- num_epochs: 1
|
51 |
+
|
52 |
+
### Training results
|
53 |
+
|
54 |
+
|
55 |
+
|
56 |
+
### Framework versions
|
57 |
+
|
58 |
+
- PEFT 0.7.1
|
59 |
+
- Transformers 4.36.2
|
60 |
+
- Pytorch 2.1.2+cu121
|
61 |
+
- Datasets 2.14.6
|
62 |
+
- Tokenizers 0.15.2
|
all_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 0.6737474944346991,
|
4 |
+
"train_runtime": 6751.8687,
|
5 |
+
"train_samples": 20000,
|
6 |
+
"train_samples_per_second": 2.962,
|
7 |
+
"train_steps_per_second": 0.012
|
8 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 0.6737474944346991,
|
4 |
+
"train_runtime": 6751.8687,
|
5 |
+
"train_samples": 20000,
|
6 |
+
"train_samples_per_second": 2.962,
|
7 |
+
"train_steps_per_second": 0.012
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,142 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.9984,
|
5 |
+
"eval_steps": 100,
|
6 |
+
"global_step": 78,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.01,
|
13 |
+
"learning_rate": 6.25e-07,
|
14 |
+
"logits/chosen": -2.7010061740875244,
|
15 |
+
"logits/rejected": -2.6382064819335938,
|
16 |
+
"logps/chosen": -391.27899169921875,
|
17 |
+
"logps/rejected": -409.36163330078125,
|
18 |
+
"loss": 0.6931,
|
19 |
+
"rewards/accuracies": 0.0,
|
20 |
+
"rewards/chosen": 0.0,
|
21 |
+
"rewards/margins": 0.0,
|
22 |
+
"rewards/rejected": 0.0,
|
23 |
+
"step": 1
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.13,
|
27 |
+
"learning_rate": 4.989935734988098e-06,
|
28 |
+
"logits/chosen": -2.668689250946045,
|
29 |
+
"logits/rejected": -2.6425745487213135,
|
30 |
+
"logps/chosen": -330.8897705078125,
|
31 |
+
"logps/rejected": -337.9491271972656,
|
32 |
+
"loss": 0.6926,
|
33 |
+
"rewards/accuracies": 0.4913194477558136,
|
34 |
+
"rewards/chosen": -0.0030369642190635204,
|
35 |
+
"rewards/margins": 0.0014728567330166698,
|
36 |
+
"rewards/rejected": -0.004509821534156799,
|
37 |
+
"step": 10
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.26,
|
41 |
+
"learning_rate": 4.646121984004666e-06,
|
42 |
+
"logits/chosen": -2.662149429321289,
|
43 |
+
"logits/rejected": -2.6085782051086426,
|
44 |
+
"logps/chosen": -327.1595458984375,
|
45 |
+
"logps/rejected": -321.137939453125,
|
46 |
+
"loss": 0.6875,
|
47 |
+
"rewards/accuracies": 0.635937511920929,
|
48 |
+
"rewards/chosen": -0.009846845641732216,
|
49 |
+
"rewards/margins": 0.014805642887949944,
|
50 |
+
"rewards/rejected": -0.02465249039232731,
|
51 |
+
"step": 20
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.38,
|
55 |
+
"learning_rate": 3.8772424536302565e-06,
|
56 |
+
"logits/chosen": -2.605135440826416,
|
57 |
+
"logits/rejected": -2.577131748199463,
|
58 |
+
"logps/chosen": -320.46856689453125,
|
59 |
+
"logps/rejected": -349.97857666015625,
|
60 |
+
"loss": 0.6796,
|
61 |
+
"rewards/accuracies": 0.6187499761581421,
|
62 |
+
"rewards/chosen": -0.053877659142017365,
|
63 |
+
"rewards/margins": 0.03185194730758667,
|
64 |
+
"rewards/rejected": -0.08572960644960403,
|
65 |
+
"step": 30
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.51,
|
69 |
+
"learning_rate": 2.835583164544139e-06,
|
70 |
+
"logits/chosen": -2.6149070262908936,
|
71 |
+
"logits/rejected": -2.5788040161132812,
|
72 |
+
"logps/chosen": -337.58331298828125,
|
73 |
+
"logps/rejected": -333.2330017089844,
|
74 |
+
"loss": 0.6754,
|
75 |
+
"rewards/accuracies": 0.5843750238418579,
|
76 |
+
"rewards/chosen": -0.07810668647289276,
|
77 |
+
"rewards/margins": 0.03418826684355736,
|
78 |
+
"rewards/rejected": -0.11229495704174042,
|
79 |
+
"step": 40
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.64,
|
83 |
+
"learning_rate": 1.7274575140626318e-06,
|
84 |
+
"logits/chosen": -2.6245689392089844,
|
85 |
+
"logits/rejected": -2.574202537536621,
|
86 |
+
"logps/chosen": -352.3199462890625,
|
87 |
+
"logps/rejected": -360.7944030761719,
|
88 |
+
"loss": 0.6687,
|
89 |
+
"rewards/accuracies": 0.629687488079071,
|
90 |
+
"rewards/chosen": -0.05965545028448105,
|
91 |
+
"rewards/margins": 0.05930715054273605,
|
92 |
+
"rewards/rejected": -0.1189626082777977,
|
93 |
+
"step": 50
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.77,
|
97 |
+
"learning_rate": 7.723433775328385e-07,
|
98 |
+
"logits/chosen": -2.583293914794922,
|
99 |
+
"logits/rejected": -2.5575852394104004,
|
100 |
+
"logps/chosen": -340.70123291015625,
|
101 |
+
"logps/rejected": -365.50408935546875,
|
102 |
+
"loss": 0.6609,
|
103 |
+
"rewards/accuracies": 0.651562511920929,
|
104 |
+
"rewards/chosen": -0.1051960214972496,
|
105 |
+
"rewards/margins": 0.07506568729877472,
|
106 |
+
"rewards/rejected": -0.18026170134544373,
|
107 |
+
"step": 60
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.9,
|
111 |
+
"learning_rate": 1.59412823400657e-07,
|
112 |
+
"logits/chosen": -2.5673248767852783,
|
113 |
+
"logits/rejected": -2.5238747596740723,
|
114 |
+
"logps/chosen": -322.8841857910156,
|
115 |
+
"logps/rejected": -349.5296936035156,
|
116 |
+
"loss": 0.6624,
|
117 |
+
"rewards/accuracies": 0.625,
|
118 |
+
"rewards/chosen": -0.09875378012657166,
|
119 |
+
"rewards/margins": 0.07134519517421722,
|
120 |
+
"rewards/rejected": -0.17009896039962769,
|
121 |
+
"step": 70
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 1.0,
|
125 |
+
"step": 78,
|
126 |
+
"total_flos": 0.0,
|
127 |
+
"train_loss": 0.6737474944346991,
|
128 |
+
"train_runtime": 6751.8687,
|
129 |
+
"train_samples_per_second": 2.962,
|
130 |
+
"train_steps_per_second": 0.012
|
131 |
+
}
|
132 |
+
],
|
133 |
+
"logging_steps": 10,
|
134 |
+
"max_steps": 78,
|
135 |
+
"num_input_tokens_seen": 0,
|
136 |
+
"num_train_epochs": 1,
|
137 |
+
"save_steps": 100,
|
138 |
+
"total_flos": 0.0,
|
139 |
+
"train_batch_size": 2,
|
140 |
+
"trial_name": null,
|
141 |
+
"trial_params": null
|
142 |
+
}
|