Model save
Browse files- README.md +7 -10
- all_results.json +5 -5
- config.json +1 -1
- model-00001-of-00003.safetensors +1 -1
- model-00002-of-00003.safetensors +1 -1
- model-00003-of-00003.safetensors +1 -1
- train_results.json +5 -5
- trainer_state.json +63 -77
- training_args.bin +1 -1
README.md
CHANGED
@@ -2,15 +2,12 @@
|
|
2 |
license: apache-2.0
|
3 |
base_model: Minbyul/biomistral-7b-wo-kqa_golden-iter-sft-dpo-step1
|
4 |
tags:
|
5 |
-
- alignment-handbook
|
6 |
-
- trl
|
7 |
-
- sft
|
8 |
-
- generated_from_trainer
|
9 |
- trl
|
10 |
- sft
|
|
|
11 |
- generated_from_trainer
|
12 |
datasets:
|
13 |
-
-
|
14 |
model-index:
|
15 |
- name: biomistral-7b-wo-kqa_golden-iter-sft-step2
|
16 |
results: []
|
@@ -21,9 +18,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
21 |
|
22 |
# biomistral-7b-wo-kqa_golden-iter-sft-step2
|
23 |
|
24 |
-
This model is a fine-tuned version of [Minbyul/biomistral-7b-wo-kqa_golden-iter-sft-dpo-step1](https://huggingface.co/Minbyul/biomistral-7b-wo-kqa_golden-iter-sft-dpo-step1) on the
|
25 |
It achieves the following results on the evaluation set:
|
26 |
-
- Loss: 1.
|
27 |
|
28 |
## Model description
|
29 |
|
@@ -60,9 +57,9 @@ The following hyperparameters were used during training:
|
|
60 |
|
61 |
| Training Loss | Epoch | Step | Validation Loss |
|
62 |
|:-------------:|:-----:|:----:|:---------------:|
|
63 |
-
| 0.
|
64 |
-
| 0.
|
65 |
-
| 0.
|
66 |
|
67 |
|
68 |
### Framework versions
|
|
|
2 |
license: apache-2.0
|
3 |
base_model: Minbyul/biomistral-7b-wo-kqa_golden-iter-sft-dpo-step1
|
4 |
tags:
|
|
|
|
|
|
|
|
|
5 |
- trl
|
6 |
- sft
|
7 |
+
- alignment-handbook
|
8 |
- generated_from_trainer
|
9 |
datasets:
|
10 |
+
- generator
|
11 |
model-index:
|
12 |
- name: biomistral-7b-wo-kqa_golden-iter-sft-step2
|
13 |
results: []
|
|
|
18 |
|
19 |
# biomistral-7b-wo-kqa_golden-iter-sft-step2
|
20 |
|
21 |
+
This model is a fine-tuned version of [Minbyul/biomistral-7b-wo-kqa_golden-iter-sft-dpo-step1](https://huggingface.co/Minbyul/biomistral-7b-wo-kqa_golden-iter-sft-dpo-step1) on the generator dataset.
|
22 |
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 1.7672
|
24 |
|
25 |
## Model description
|
26 |
|
|
|
57 |
|
58 |
| Training Loss | Epoch | Step | Validation Loss |
|
59 |
|:-------------:|:-----:|:----:|:---------------:|
|
60 |
+
| 0.4982 | 0.95 | 13 | 1.4957 |
|
61 |
+
| 0.2254 | 1.96 | 27 | 1.6817 |
|
62 |
+
| 0.1095 | 2.84 | 39 | 1.7672 |
|
63 |
|
64 |
|
65 |
### Framework versions
|
all_results.json
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
"eval_loss": 1.9173061847686768,
|
4 |
"eval_runtime": 29.1672,
|
5 |
"eval_samples": 4044,
|
6 |
"eval_samples_per_second": 11.794,
|
7 |
"eval_steps_per_second": 0.754,
|
8 |
-
"train_loss": 0.
|
9 |
-
"train_runtime":
|
10 |
"train_samples": 4747,
|
11 |
-
"train_samples_per_second": 3.
|
12 |
-
"train_steps_per_second": 0.
|
13 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 2.84,
|
3 |
"eval_loss": 1.9173061847686768,
|
4 |
"eval_runtime": 29.1672,
|
5 |
"eval_samples": 4044,
|
6 |
"eval_samples_per_second": 11.794,
|
7 |
"eval_steps_per_second": 0.754,
|
8 |
+
"train_loss": 0.2916483015586168,
|
9 |
+
"train_runtime": 753.2022,
|
10 |
"train_samples": 4747,
|
11 |
+
"train_samples_per_second": 3.453,
|
12 |
+
"train_steps_per_second": 0.052
|
13 |
}
|
config.json
CHANGED
@@ -21,6 +21,6 @@
|
|
21 |
"tie_word_embeddings": false,
|
22 |
"torch_dtype": "bfloat16",
|
23 |
"transformers_version": "4.39.0.dev0",
|
24 |
-
"use_cache":
|
25 |
"vocab_size": 32000
|
26 |
}
|
|
|
21 |
"tie_word_embeddings": false,
|
22 |
"torch_dtype": "bfloat16",
|
23 |
"transformers_version": "4.39.0.dev0",
|
24 |
+
"use_cache": false,
|
25 |
"vocab_size": 32000
|
26 |
}
|
model-00001-of-00003.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4943162336
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:099b26e30badedeb7f7ee064e387ae0d7db0a9d9dbae28f4bdb2096402b47d09
|
3 |
size 4943162336
|
model-00002-of-00003.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4999819336
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c0d63bad4dd01e66c8046d83ab95fefd817d914eaffa7c6ea895cd72fb0cd206
|
3 |
size 4999819336
|
model-00003-of-00003.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4540516344
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2d1ac10b23a48a2b7f57a4eaae007003211e9bad91bee2d764284714df6ce352
|
3 |
size 4540516344
|
train_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"train_loss": 0.
|
4 |
-
"train_runtime":
|
5 |
"train_samples": 4747,
|
6 |
-
"train_samples_per_second": 3.
|
7 |
-
"train_steps_per_second": 0.
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 2.84,
|
3 |
+
"train_loss": 0.2916483015586168,
|
4 |
+
"train_runtime": 753.2022,
|
5 |
"train_samples": 4747,
|
6 |
+
"train_samples_per_second": 3.453,
|
7 |
+
"train_steps_per_second": 0.052
|
8 |
}
|
trainer_state.json
CHANGED
@@ -1,123 +1,109 @@
|
|
1 |
{
|
2 |
"best_metric": null,
|
3 |
"best_model_checkpoint": null,
|
4 |
-
"epoch":
|
5 |
"eval_steps": 500,
|
6 |
-
"global_step":
|
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.
|
13 |
-
"grad_norm": 4.
|
14 |
-
"learning_rate":
|
15 |
-
"loss": 0.
|
16 |
"step": 1
|
17 |
},
|
18 |
{
|
19 |
-
"epoch": 0.
|
20 |
-
"grad_norm": 4.
|
21 |
-
"learning_rate":
|
22 |
-
"loss": 0.
|
23 |
"step": 5
|
24 |
},
|
25 |
{
|
26 |
-
"epoch": 0.
|
27 |
-
"grad_norm":
|
28 |
-
"learning_rate": 1.
|
29 |
-
"loss": 0.
|
30 |
"step": 10
|
31 |
},
|
32 |
{
|
33 |
-
"epoch": 0.
|
34 |
-
"
|
35 |
-
"
|
36 |
-
"
|
37 |
-
"
|
|
|
38 |
},
|
39 |
{
|
40 |
-
"epoch": 1.
|
41 |
-
"
|
42 |
-
"
|
43 |
-
"
|
44 |
-
"
|
45 |
-
"step": 16
|
46 |
},
|
47 |
{
|
48 |
-
"epoch": 1.
|
49 |
-
"grad_norm": 2.
|
50 |
-
"learning_rate": 1.
|
51 |
-
"loss": 0.
|
52 |
"step": 20
|
53 |
},
|
54 |
{
|
55 |
-
"epoch": 1.
|
56 |
-
"grad_norm":
|
57 |
-
"learning_rate":
|
58 |
-
"loss": 0.
|
59 |
"step": 25
|
60 |
},
|
61 |
{
|
62 |
-
"epoch": 1.
|
63 |
-
"
|
64 |
-
"
|
65 |
-
"
|
66 |
-
"
|
|
|
67 |
},
|
68 |
{
|
69 |
-
"epoch": 2.
|
70 |
-
"
|
71 |
-
"
|
72 |
-
"
|
73 |
-
"
|
74 |
-
"step": 32
|
75 |
},
|
76 |
{
|
77 |
-
"epoch": 2.
|
78 |
-
"grad_norm":
|
79 |
-
"learning_rate":
|
80 |
-
"loss": 0.
|
81 |
"step": 35
|
82 |
},
|
83 |
{
|
84 |
-
"epoch": 2.
|
85 |
-
"
|
86 |
-
"
|
87 |
-
"
|
88 |
-
"
|
89 |
-
|
90 |
-
{
|
91 |
-
"epoch": 2.81,
|
92 |
-
"grad_norm": 1.0616061576941005,
|
93 |
-
"learning_rate": 2.392412244407294e-07,
|
94 |
-
"loss": 0.0956,
|
95 |
-
"step": 45
|
96 |
-
},
|
97 |
-
{
|
98 |
-
"epoch": 3.0,
|
99 |
-
"eval_loss": 1.9173061847686768,
|
100 |
-
"eval_runtime": 29.2012,
|
101 |
-
"eval_samples_per_second": 11.78,
|
102 |
-
"eval_steps_per_second": 0.753,
|
103 |
-
"step": 48
|
104 |
},
|
105 |
{
|
106 |
-
"epoch":
|
107 |
-
"step":
|
108 |
-
"total_flos":
|
109 |
-
"train_loss": 0.
|
110 |
-
"train_runtime":
|
111 |
-
"train_samples_per_second": 3.
|
112 |
-
"train_steps_per_second": 0.
|
113 |
}
|
114 |
],
|
115 |
"logging_steps": 5,
|
116 |
-
"max_steps":
|
117 |
"num_input_tokens_seen": 0,
|
118 |
"num_train_epochs": 3,
|
119 |
"save_steps": 500,
|
120 |
-
"total_flos":
|
121 |
"train_batch_size": 4,
|
122 |
"trial_name": null,
|
123 |
"trial_params": null
|
|
|
1 |
{
|
2 |
"best_metric": null,
|
3 |
"best_model_checkpoint": null,
|
4 |
+
"epoch": 2.8363636363636364,
|
5 |
"eval_steps": 500,
|
6 |
+
"global_step": 39,
|
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.07,
|
13 |
+
"grad_norm": 4.349675350321153,
|
14 |
+
"learning_rate": 5e-06,
|
15 |
+
"loss": 0.4569,
|
16 |
"step": 1
|
17 |
},
|
18 |
{
|
19 |
+
"epoch": 0.36,
|
20 |
+
"grad_norm": 4.161390499285026,
|
21 |
+
"learning_rate": 1.9959742939952393e-05,
|
22 |
+
"loss": 0.4656,
|
23 |
"step": 5
|
24 |
},
|
25 |
{
|
26 |
+
"epoch": 0.73,
|
27 |
+
"grad_norm": 2.4085887995111475,
|
28 |
+
"learning_rate": 1.8584487936018663e-05,
|
29 |
+
"loss": 0.4982,
|
30 |
"step": 10
|
31 |
},
|
32 |
{
|
33 |
+
"epoch": 0.95,
|
34 |
+
"eval_loss": 1.4956705570220947,
|
35 |
+
"eval_runtime": 29.3808,
|
36 |
+
"eval_samples_per_second": 11.708,
|
37 |
+
"eval_steps_per_second": 0.749,
|
38 |
+
"step": 13
|
39 |
},
|
40 |
{
|
41 |
+
"epoch": 1.09,
|
42 |
+
"grad_norm": 2.520152396295157,
|
43 |
+
"learning_rate": 1.5508969814521026e-05,
|
44 |
+
"loss": 0.4421,
|
45 |
+
"step": 15
|
|
|
46 |
},
|
47 |
{
|
48 |
+
"epoch": 1.45,
|
49 |
+
"grad_norm": 2.2813305230772256,
|
50 |
+
"learning_rate": 1.1342332658176556e-05,
|
51 |
+
"loss": 0.2341,
|
52 |
"step": 20
|
53 |
},
|
54 |
{
|
55 |
+
"epoch": 1.82,
|
56 |
+
"grad_norm": 3.7724059311334783,
|
57 |
+
"learning_rate": 6.909830056250527e-06,
|
58 |
+
"loss": 0.2254,
|
59 |
"step": 25
|
60 |
},
|
61 |
{
|
62 |
+
"epoch": 1.96,
|
63 |
+
"eval_loss": 1.6817222833633423,
|
64 |
+
"eval_runtime": 29.2131,
|
65 |
+
"eval_samples_per_second": 11.776,
|
66 |
+
"eval_steps_per_second": 0.753,
|
67 |
+
"step": 27
|
68 |
},
|
69 |
{
|
70 |
+
"epoch": 2.18,
|
71 |
+
"grad_norm": 7.992205963709856,
|
72 |
+
"learning_rate": 3.089373510131354e-06,
|
73 |
+
"loss": 0.2145,
|
74 |
+
"step": 30
|
|
|
75 |
},
|
76 |
{
|
77 |
+
"epoch": 2.55,
|
78 |
+
"grad_norm": 3.619511209880637,
|
79 |
+
"learning_rate": 6.37651293602628e-07,
|
80 |
+
"loss": 0.1095,
|
81 |
"step": 35
|
82 |
},
|
83 |
{
|
84 |
+
"epoch": 2.84,
|
85 |
+
"eval_loss": 1.767195224761963,
|
86 |
+
"eval_runtime": 29.1785,
|
87 |
+
"eval_samples_per_second": 11.789,
|
88 |
+
"eval_steps_per_second": 0.754,
|
89 |
+
"step": 39
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
},
|
91 |
{
|
92 |
+
"epoch": 2.84,
|
93 |
+
"step": 39,
|
94 |
+
"total_flos": 8113461657600.0,
|
95 |
+
"train_loss": 0.2916483015586168,
|
96 |
+
"train_runtime": 753.2022,
|
97 |
+
"train_samples_per_second": 3.453,
|
98 |
+
"train_steps_per_second": 0.052
|
99 |
}
|
100 |
],
|
101 |
"logging_steps": 5,
|
102 |
+
"max_steps": 39,
|
103 |
"num_input_tokens_seen": 0,
|
104 |
"num_train_epochs": 3,
|
105 |
"save_steps": 500,
|
106 |
+
"total_flos": 8113461657600.0,
|
107 |
"train_batch_size": 4,
|
108 |
"trial_name": null,
|
109 |
"trial_params": null
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 6200
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f2ebc5d2a83d9f6df24e05e71dd49ede03c3dbec15879a7ca5386f4ec03d7609
|
3 |
size 6200
|