hung200504 commited on
Commit
406bdb7
1 Parent(s): 8c72bde

bert-cased

Browse files
README.md ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ base_model: deepset/bert-base-cased-squad2
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: bert-25
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
+ # bert-25
15
+
16
+ This model is a fine-tuned version of [deepset/bert-base-cased-squad2](https://huggingface.co/deepset/bert-base-cased-squad2) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 10.9150
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 2e-05
38
+ - train_batch_size: 32
39
+ - eval_batch_size: 32
40
+ - seed: 42
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: linear
43
+ - num_epochs: 10
44
+
45
+ ### Training results
46
+
47
+ | Training Loss | Epoch | Step | Validation Loss |
48
+ |:-------------:|:-----:|:----:|:---------------:|
49
+ | 11.2284 | 0.18 | 5 | 12.3262 |
50
+ | 10.9876 | 0.36 | 10 | 12.2748 |
51
+ | 11.1442 | 0.54 | 15 | 12.2245 |
52
+ | 10.9113 | 0.71 | 20 | 12.1755 |
53
+ | 10.8104 | 0.89 | 25 | 12.1267 |
54
+ | 10.6362 | 1.07 | 30 | 12.0793 |
55
+ | 10.8187 | 1.25 | 35 | 12.0330 |
56
+ | 10.7052 | 1.43 | 40 | 11.9875 |
57
+ | 10.6594 | 1.61 | 45 | 11.9432 |
58
+ | 10.6863 | 1.79 | 50 | 11.8997 |
59
+ | 10.7858 | 1.96 | 55 | 11.8569 |
60
+ | 10.626 | 2.14 | 60 | 11.8158 |
61
+ | 10.4246 | 2.32 | 65 | 11.7756 |
62
+ | 10.3939 | 2.5 | 70 | 11.7359 |
63
+ | 10.7641 | 2.68 | 75 | 11.6970 |
64
+ | 10.341 | 2.86 | 80 | 11.6597 |
65
+ | 10.3492 | 3.04 | 85 | 11.6228 |
66
+ | 10.797 | 3.21 | 90 | 11.5867 |
67
+ | 10.3496 | 3.39 | 95 | 11.5514 |
68
+ | 10.1967 | 3.57 | 100 | 11.5177 |
69
+ | 10.4702 | 3.75 | 105 | 11.4843 |
70
+ | 10.3715 | 3.93 | 110 | 11.4521 |
71
+ | 10.1039 | 4.11 | 115 | 11.4213 |
72
+ | 10.1126 | 4.29 | 120 | 11.3915 |
73
+ | 9.9939 | 4.46 | 125 | 11.3625 |
74
+ | 10.1773 | 4.64 | 130 | 11.3342 |
75
+ | 10.062 | 4.82 | 135 | 11.3068 |
76
+ | 10.2641 | 5.0 | 140 | 11.2806 |
77
+ | 10.2323 | 5.18 | 145 | 11.2554 |
78
+ | 10.037 | 5.36 | 150 | 11.2309 |
79
+ | 10.0938 | 5.54 | 155 | 11.2069 |
80
+ | 9.8816 | 5.71 | 160 | 11.1845 |
81
+ | 10.124 | 5.89 | 165 | 11.1625 |
82
+ | 9.873 | 6.07 | 170 | 11.1416 |
83
+ | 9.7348 | 6.25 | 175 | 11.1220 |
84
+ | 9.9028 | 6.43 | 180 | 11.1028 |
85
+ | 9.997 | 6.61 | 185 | 11.0846 |
86
+ | 9.9333 | 6.79 | 190 | 11.0676 |
87
+ | 9.9954 | 6.96 | 195 | 11.0511 |
88
+ | 10.311 | 7.14 | 200 | 11.0356 |
89
+ | 9.7617 | 7.32 | 205 | 11.0213 |
90
+ | 10.0068 | 7.5 | 210 | 11.0075 |
91
+ | 9.6182 | 7.68 | 215 | 10.9949 |
92
+ | 9.7642 | 7.86 | 220 | 10.9835 |
93
+ | 9.8524 | 8.04 | 225 | 10.9728 |
94
+ | 9.7615 | 8.21 | 230 | 10.9630 |
95
+ | 9.7559 | 8.39 | 235 | 10.9542 |
96
+ | 9.5819 | 8.57 | 240 | 10.9461 |
97
+ | 9.5843 | 8.75 | 245 | 10.9392 |
98
+ | 10.05 | 8.93 | 250 | 10.9331 |
99
+ | 10.0722 | 9.11 | 255 | 10.9276 |
100
+ | 9.665 | 9.29 | 260 | 10.9233 |
101
+ | 9.7631 | 9.46 | 265 | 10.9197 |
102
+ | 9.7963 | 9.64 | 270 | 10.9172 |
103
+ | 9.9692 | 9.82 | 275 | 10.9155 |
104
+ | 9.885 | 10.0 | 280 | 10.9150 |
105
+
106
+
107
+ ### Framework versions
108
+
109
+ - Transformers 4.34.1
110
+ - Pytorch 2.0.1+cu118
111
+ - Datasets 2.14.5
112
+ - Tokenizers 0.14.1
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "deepset/bert-base-cased-squad2",
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": 768,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 3072,
13
+ "language": "english",
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "name": "Bert",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "output_past": true,
21
+ "pad_token_id": 0,
22
+ "position_embedding_type": "absolute",
23
+ "torch_dtype": "float32",
24
+ "transformers_version": "4.34.1",
25
+ "type_vocab_size": 2,
26
+ "use_cache": true,
27
+ "vocab_size": 28996
28
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86b0d3da79342c1b1c3707f2a832f2a9dc9011fe9ee2e823fb45dc1640574c27
3
+ size 430952617
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,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
48
+ "mask_token": "[MASK]",
49
+ "max_len": 512,
50
+ "model_max_length": 512,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "BertTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8cf1b0f113f1edb9368b6c2b631ffa9e81fcdf3a0f7d49d4a8379bca71f5b0a
3
+ size 4027
vocab.txt ADDED
The diff for this file is too large to render. See raw diff