init finetuned model
Browse files- model.safetensors +3 -0
- .gitattributes +1 -0
- README.md +49 -0
- all_results.json +14 -0
- config.json +25 -0
- eval_nbest_predictions.json +3 -0
- eval_predictions.json +0 -0
- eval_results.json +9 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +57 -0
- train_results.json +8 -0
- trainer_state.json +204 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d306c5dee781cc44fc21435b36196b4b26b04f980212d6ec24c0eac1d00970f1
|
3 |
+
size 132874824
|
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
eval_nbest_predictions.json filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -1,3 +1,52 @@
|
|
1 |
---
|
2 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
base_model: microsoft/MiniLM-L12-H384-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: result
|
8 |
+
results: []
|
9 |
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# result
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [microsoft/MiniLM-L12-H384-uncased](https://huggingface.co/microsoft/MiniLM-L12-H384-uncased) on an unknown dataset.
|
17 |
+
|
18 |
+
## Model description
|
19 |
+
|
20 |
+
More information needed
|
21 |
+
|
22 |
+
## Intended uses & limitations
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Training and evaluation data
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training procedure
|
31 |
+
|
32 |
+
### Training hyperparameters
|
33 |
+
|
34 |
+
The following hyperparameters were used during training:
|
35 |
+
- learning_rate: 3e-05
|
36 |
+
- train_batch_size: 12
|
37 |
+
- eval_batch_size: 8
|
38 |
+
- seed: 42
|
39 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
40 |
+
- lr_scheduler_type: linear
|
41 |
+
- num_epochs: 2.0
|
42 |
+
|
43 |
+
### Training results
|
44 |
+
|
45 |
+
|
46 |
+
|
47 |
+
### Framework versions
|
48 |
+
|
49 |
+
- Transformers 4.38.0.dev0
|
50 |
+
- Pytorch 2.1.0+cu121
|
51 |
+
- Datasets 2.16.1
|
52 |
+
- Tokenizers 0.15.0
|
all_results.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.0,
|
3 |
+
"eval_exact_match": 83.3502024291498,
|
4 |
+
"eval_f1": 90.41321174172482,
|
5 |
+
"eval_runtime": 58.6375,
|
6 |
+
"eval_samples": 6056,
|
7 |
+
"eval_samples_per_second": 103.279,
|
8 |
+
"eval_steps_per_second": 12.91,
|
9 |
+
"train_loss": 0.9571796126125678,
|
10 |
+
"train_runtime": 5092.9926,
|
11 |
+
"train_samples": 87739,
|
12 |
+
"train_samples_per_second": 34.455,
|
13 |
+
"train_steps_per_second": 2.871
|
14 |
+
}
|
config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/MiniLM-L12-H384-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForQuestionAnswering"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 384,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 1536,
|
13 |
+
"layer_norm_eps": 1e-12,
|
14 |
+
"max_position_embeddings": 512,
|
15 |
+
"model_type": "bert",
|
16 |
+
"num_attention_heads": 12,
|
17 |
+
"num_hidden_layers": 12,
|
18 |
+
"pad_token_id": 0,
|
19 |
+
"position_embedding_type": "absolute",
|
20 |
+
"torch_dtype": "float32",
|
21 |
+
"transformers_version": "4.38.0.dev0",
|
22 |
+
"type_vocab_size": 2,
|
23 |
+
"use_cache": true,
|
24 |
+
"vocab_size": 30522
|
25 |
+
}
|
eval_nbest_predictions.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:afe2c8089d364186aa7a96210496bac547f6c89c7ed675df0306001e68808e16
|
3 |
+
size 27623882
|
eval_predictions.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
eval_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.0,
|
3 |
+
"eval_exact_match": 83.3502024291498,
|
4 |
+
"eval_f1": 90.41321174172482,
|
5 |
+
"eval_runtime": 58.6375,
|
6 |
+
"eval_samples": 6056,
|
7 |
+
"eval_samples_per_second": 103.279,
|
8 |
+
"eval_steps_per_second": 12.91
|
9 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_basic_tokenize": true,
|
47 |
+
"do_lower_case": true,
|
48 |
+
"mask_token": "[MASK]",
|
49 |
+
"model_max_length": 1000000000000000019884624838656,
|
50 |
+
"never_split": null,
|
51 |
+
"pad_token": "[PAD]",
|
52 |
+
"sep_token": "[SEP]",
|
53 |
+
"strip_accents": null,
|
54 |
+
"tokenize_chinese_chars": true,
|
55 |
+
"tokenizer_class": "BertTokenizer",
|
56 |
+
"unk_token": "[UNK]"
|
57 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.0,
|
3 |
+
"train_loss": 0.9571796126125678,
|
4 |
+
"train_runtime": 5092.9926,
|
5 |
+
"train_samples": 87739,
|
6 |
+
"train_samples_per_second": 34.455,
|
7 |
+
"train_steps_per_second": 2.871
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,204 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 2.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 14624,
|
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 |
+
"learning_rate": 2.897428884026258e-05,
|
14 |
+
"loss": 2.3044,
|
15 |
+
"step": 500
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.14,
|
19 |
+
"learning_rate": 2.7948577680525165e-05,
|
20 |
+
"loss": 1.3755,
|
21 |
+
"step": 1000
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.21,
|
25 |
+
"learning_rate": 2.6922866520787748e-05,
|
26 |
+
"loss": 1.2532,
|
27 |
+
"step": 1500
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.27,
|
31 |
+
"learning_rate": 2.589715536105033e-05,
|
32 |
+
"loss": 1.1867,
|
33 |
+
"step": 2000
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 0.34,
|
37 |
+
"learning_rate": 2.4871444201312912e-05,
|
38 |
+
"loss": 1.0984,
|
39 |
+
"step": 2500
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.41,
|
43 |
+
"learning_rate": 2.3845733041575492e-05,
|
44 |
+
"loss": 1.0803,
|
45 |
+
"step": 3000
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 0.48,
|
49 |
+
"learning_rate": 2.2820021881838072e-05,
|
50 |
+
"loss": 1.0654,
|
51 |
+
"step": 3500
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.55,
|
55 |
+
"learning_rate": 2.179431072210066e-05,
|
56 |
+
"loss": 1.0477,
|
57 |
+
"step": 4000
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 0.62,
|
61 |
+
"learning_rate": 2.076859956236324e-05,
|
62 |
+
"loss": 0.9991,
|
63 |
+
"step": 4500
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 0.68,
|
67 |
+
"learning_rate": 1.9742888402625823e-05,
|
68 |
+
"loss": 0.9645,
|
69 |
+
"step": 5000
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.75,
|
73 |
+
"learning_rate": 1.8717177242888403e-05,
|
74 |
+
"loss": 0.9907,
|
75 |
+
"step": 5500
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 0.82,
|
79 |
+
"learning_rate": 1.7691466083150983e-05,
|
80 |
+
"loss": 0.9521,
|
81 |
+
"step": 6000
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 0.89,
|
85 |
+
"learning_rate": 1.6665754923413567e-05,
|
86 |
+
"loss": 0.9601,
|
87 |
+
"step": 6500
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 0.96,
|
91 |
+
"learning_rate": 1.564004376367615e-05,
|
92 |
+
"loss": 0.9589,
|
93 |
+
"step": 7000
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 1.03,
|
97 |
+
"learning_rate": 1.4614332603938733e-05,
|
98 |
+
"loss": 0.8742,
|
99 |
+
"step": 7500
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 1.09,
|
103 |
+
"learning_rate": 1.3588621444201313e-05,
|
104 |
+
"loss": 0.786,
|
105 |
+
"step": 8000
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 1.16,
|
109 |
+
"learning_rate": 1.2562910284463895e-05,
|
110 |
+
"loss": 0.7763,
|
111 |
+
"step": 8500
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"epoch": 1.23,
|
115 |
+
"learning_rate": 1.1537199124726478e-05,
|
116 |
+
"loss": 0.7767,
|
117 |
+
"step": 9000
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 1.3,
|
121 |
+
"learning_rate": 1.0511487964989058e-05,
|
122 |
+
"loss": 0.7696,
|
123 |
+
"step": 9500
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"epoch": 1.37,
|
127 |
+
"learning_rate": 9.485776805251642e-06,
|
128 |
+
"loss": 0.7641,
|
129 |
+
"step": 10000
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 1.44,
|
133 |
+
"learning_rate": 8.460065645514224e-06,
|
134 |
+
"loss": 0.7655,
|
135 |
+
"step": 10500
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 1.5,
|
139 |
+
"learning_rate": 7.434354485776806e-06,
|
140 |
+
"loss": 0.7749,
|
141 |
+
"step": 11000
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"epoch": 1.57,
|
145 |
+
"learning_rate": 6.408643326039388e-06,
|
146 |
+
"loss": 0.734,
|
147 |
+
"step": 11500
|
148 |
+
},
|
149 |
+
{
|
150 |
+
"epoch": 1.64,
|
151 |
+
"learning_rate": 5.3829321663019695e-06,
|
152 |
+
"loss": 0.7807,
|
153 |
+
"step": 12000
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"epoch": 1.71,
|
157 |
+
"learning_rate": 4.357221006564551e-06,
|
158 |
+
"loss": 0.7941,
|
159 |
+
"step": 12500
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 1.78,
|
163 |
+
"learning_rate": 3.3315098468271337e-06,
|
164 |
+
"loss": 0.757,
|
165 |
+
"step": 13000
|
166 |
+
},
|
167 |
+
{
|
168 |
+
"epoch": 1.85,
|
169 |
+
"learning_rate": 2.3057986870897156e-06,
|
170 |
+
"loss": 0.7436,
|
171 |
+
"step": 13500
|
172 |
+
},
|
173 |
+
{
|
174 |
+
"epoch": 1.91,
|
175 |
+
"learning_rate": 1.2800875273522977e-06,
|
176 |
+
"loss": 0.7514,
|
177 |
+
"step": 14000
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 1.98,
|
181 |
+
"learning_rate": 2.543763676148797e-07,
|
182 |
+
"loss": 0.7301,
|
183 |
+
"step": 14500
|
184 |
+
},
|
185 |
+
{
|
186 |
+
"epoch": 2.0,
|
187 |
+
"step": 14624,
|
188 |
+
"total_flos": 8609639294979072.0,
|
189 |
+
"train_loss": 0.9571796126125678,
|
190 |
+
"train_runtime": 5092.9926,
|
191 |
+
"train_samples_per_second": 34.455,
|
192 |
+
"train_steps_per_second": 2.871
|
193 |
+
}
|
194 |
+
],
|
195 |
+
"logging_steps": 500,
|
196 |
+
"max_steps": 14624,
|
197 |
+
"num_input_tokens_seen": 0,
|
198 |
+
"num_train_epochs": 2,
|
199 |
+
"save_steps": 500,
|
200 |
+
"total_flos": 8609639294979072.0,
|
201 |
+
"train_batch_size": 12,
|
202 |
+
"trial_name": null,
|
203 |
+
"trial_params": null
|
204 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1399bf17837b40c99e4553468be8d1460c0ae31f6772010a0aa6d436475794e0
|
3 |
+
size 4728
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|