End of training
Browse files- README.md +4 -1
- all_results.json +12 -0
- eval_results.json +7 -0
- train_results.json +8 -0
- trainer_state.json +154 -0
- training_loss.png +0 -0
README.md
CHANGED
@@ -4,6 +4,7 @@ library_name: peft
|
|
4 |
license: gemma
|
5 |
tags:
|
6 |
- llama-factory
|
|
|
7 |
- generated_from_trainer
|
8 |
model-index:
|
9 |
- name: Gemma-2-9B-It-SFT
|
@@ -15,7 +16,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
# Gemma-2-9B-It-SFT
|
17 |
|
18 |
-
This model is a fine-tuned version of [google/gemma-2-9b-it](https://huggingface.co/google/gemma-2-9b-it) on
|
|
|
|
|
19 |
|
20 |
## Model description
|
21 |
|
|
|
4 |
license: gemma
|
5 |
tags:
|
6 |
- llama-factory
|
7 |
+
- lora
|
8 |
- generated_from_trainer
|
9 |
model-index:
|
10 |
- name: Gemma-2-9B-It-SFT
|
|
|
16 |
|
17 |
# Gemma-2-9B-It-SFT
|
18 |
|
19 |
+
This model is a fine-tuned version of [google/gemma-2-9b-it](https://huggingface.co/google/gemma-2-9b-it) on the bct_non_cot_sft_1000 dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.1474
|
22 |
|
23 |
## Model description
|
24 |
|
all_results.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.986666666666667,
|
3 |
+
"eval_loss": 0.14741086959838867,
|
4 |
+
"eval_runtime": 6.1172,
|
5 |
+
"eval_samples_per_second": 16.347,
|
6 |
+
"eval_steps_per_second": 8.174,
|
7 |
+
"total_flos": 1.7300235104796672e+16,
|
8 |
+
"train_loss": 0.8548009863921574,
|
9 |
+
"train_runtime": 612.7985,
|
10 |
+
"train_samples_per_second": 4.406,
|
11 |
+
"train_steps_per_second": 0.274
|
12 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.986666666666667,
|
3 |
+
"eval_loss": 0.14741086959838867,
|
4 |
+
"eval_runtime": 6.1172,
|
5 |
+
"eval_samples_per_second": 16.347,
|
6 |
+
"eval_steps_per_second": 8.174
|
7 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.986666666666667,
|
3 |
+
"total_flos": 1.7300235104796672e+16,
|
4 |
+
"train_loss": 0.8548009863921574,
|
5 |
+
"train_runtime": 612.7985,
|
6 |
+
"train_samples_per_second": 4.406,
|
7 |
+
"train_steps_per_second": 0.274
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 2.986666666666667,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 168,
|
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.17777777777777778,
|
13 |
+
"grad_norm": 6.429335594177246,
|
14 |
+
"learning_rate": 2.9411764705882355e-06,
|
15 |
+
"loss": 2.8371,
|
16 |
+
"step": 10
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.35555555555555557,
|
20 |
+
"grad_norm": 6.359095573425293,
|
21 |
+
"learning_rate": 4.995131923687488e-06,
|
22 |
+
"loss": 2.5866,
|
23 |
+
"step": 20
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.5333333333333333,
|
27 |
+
"grad_norm": 6.2563042640686035,
|
28 |
+
"learning_rate": 4.90911473983908e-06,
|
29 |
+
"loss": 2.1317,
|
30 |
+
"step": 30
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.7111111111111111,
|
34 |
+
"grad_norm": 5.7428483963012695,
|
35 |
+
"learning_rate": 4.71919261421297e-06,
|
36 |
+
"loss": 1.6483,
|
37 |
+
"step": 40
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.8888888888888888,
|
41 |
+
"grad_norm": 5.202849388122559,
|
42 |
+
"learning_rate": 4.43355687413747e-06,
|
43 |
+
"loss": 1.258,
|
44 |
+
"step": 50
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 1.0666666666666667,
|
48 |
+
"grad_norm": 3.334800958633423,
|
49 |
+
"learning_rate": 4.064526968101844e-06,
|
50 |
+
"loss": 0.9961,
|
51 |
+
"step": 60
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 1.2444444444444445,
|
55 |
+
"grad_norm": 5.201640605926514,
|
56 |
+
"learning_rate": 3.6280191288478437e-06,
|
57 |
+
"loss": 0.6742,
|
58 |
+
"step": 70
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 1.4222222222222223,
|
62 |
+
"grad_norm": 4.489432334899902,
|
63 |
+
"learning_rate": 3.142859907420615e-06,
|
64 |
+
"loss": 0.4521,
|
65 |
+
"step": 80
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 1.6,
|
69 |
+
"grad_norm": 3.431414842605591,
|
70 |
+
"learning_rate": 2.629974185404951e-06,
|
71 |
+
"loss": 0.3905,
|
72 |
+
"step": 90
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 1.7777777777777777,
|
76 |
+
"grad_norm": 2.042440414428711,
|
77 |
+
"learning_rate": 2.1114826863194882e-06,
|
78 |
+
"loss": 0.2197,
|
79 |
+
"step": 100
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 1.9555555555555557,
|
83 |
+
"grad_norm": 2.322110891342163,
|
84 |
+
"learning_rate": 1.6097479104361328e-06,
|
85 |
+
"loss": 0.235,
|
86 |
+
"step": 110
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 2.1333333333333333,
|
90 |
+
"grad_norm": 2.210110664367676,
|
91 |
+
"learning_rate": 1.1464096417858821e-06,
|
92 |
+
"loss": 0.177,
|
93 |
+
"step": 120
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 2.311111111111111,
|
97 |
+
"grad_norm": 1.0164854526519775,
|
98 |
+
"learning_rate": 7.414516258630245e-07,
|
99 |
+
"loss": 0.1756,
|
100 |
+
"step": 130
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 2.488888888888889,
|
104 |
+
"grad_norm": 4.7322163581848145,
|
105 |
+
"learning_rate": 4.123396721497977e-07,
|
106 |
+
"loss": 0.1916,
|
107 |
+
"step": 140
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 2.6666666666666665,
|
111 |
+
"grad_norm": 2.4119203090667725,
|
112 |
+
"learning_rate": 1.7326835503629542e-07,
|
113 |
+
"loss": 0.1296,
|
114 |
+
"step": 150
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 2.8444444444444446,
|
118 |
+
"grad_norm": 1.8030685186386108,
|
119 |
+
"learning_rate": 3.4548802869627806e-08,
|
120 |
+
"loss": 0.1469,
|
121 |
+
"step": 160
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 2.986666666666667,
|
125 |
+
"step": 168,
|
126 |
+
"total_flos": 1.7300235104796672e+16,
|
127 |
+
"train_loss": 0.8548009863921574,
|
128 |
+
"train_runtime": 612.7985,
|
129 |
+
"train_samples_per_second": 4.406,
|
130 |
+
"train_steps_per_second": 0.274
|
131 |
+
}
|
132 |
+
],
|
133 |
+
"logging_steps": 10,
|
134 |
+
"max_steps": 168,
|
135 |
+
"num_input_tokens_seen": 0,
|
136 |
+
"num_train_epochs": 3,
|
137 |
+
"save_steps": 500,
|
138 |
+
"stateful_callbacks": {
|
139 |
+
"TrainerControl": {
|
140 |
+
"args": {
|
141 |
+
"should_epoch_stop": false,
|
142 |
+
"should_evaluate": false,
|
143 |
+
"should_log": false,
|
144 |
+
"should_save": true,
|
145 |
+
"should_training_stop": true
|
146 |
+
},
|
147 |
+
"attributes": {}
|
148 |
+
}
|
149 |
+
},
|
150 |
+
"total_flos": 1.7300235104796672e+16,
|
151 |
+
"train_batch_size": 2,
|
152 |
+
"trial_name": null,
|
153 |
+
"trial_params": null
|
154 |
+
}
|
training_loss.png
ADDED