hung200504 commited on
Commit
a4781c8
1 Parent(s): a7ef582

bert-cased

Browse files
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: emilyalsentzer/Bio_ClinicalBERT
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: CliBert-20
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
+ # CliBert-20
15
+
16
+ This model is a fine-tuned version of [emilyalsentzer/Bio_ClinicalBERT](https://huggingface.co/emilyalsentzer/Bio_ClinicalBERT) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 5.8847
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: 0.0001
38
+ - train_batch_size: 16
39
+ - eval_batch_size: 16
40
+ - seed: 42
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: linear
43
+ - num_epochs: 3
44
+
45
+ ### Training results
46
+
47
+ | Training Loss | Epoch | Step | Validation Loss |
48
+ |:-------------:|:-----:|:----:|:---------------:|
49
+ | 5.8842 | 0.09 | 5 | 5.9152 |
50
+ | 5.7961 | 0.18 | 10 | 5.9106 |
51
+ | 5.7777 | 0.27 | 15 | 5.9060 |
52
+ | 5.7638 | 0.36 | 20 | 5.9016 |
53
+ | 5.7282 | 0.45 | 25 | 5.8980 |
54
+ | 5.6804 | 0.55 | 30 | 5.8942 |
55
+ | 5.6095 | 0.64 | 35 | 5.8912 |
56
+ | 5.5418 | 0.73 | 40 | 5.8890 |
57
+ | 5.5853 | 0.82 | 45 | 5.8864 |
58
+ | 5.55 | 0.91 | 50 | 5.8844 |
59
+ | 5.5284 | 1.0 | 55 | 5.8828 |
60
+ | 5.4085 | 1.09 | 60 | 5.8818 |
61
+ | 5.368 | 1.18 | 65 | 5.8812 |
62
+ | 5.4048 | 1.27 | 70 | 5.8807 |
63
+ | 5.4172 | 1.36 | 75 | 5.8802 |
64
+ | 5.4134 | 1.45 | 80 | 5.8796 |
65
+ | 5.4728 | 1.55 | 85 | 5.8791 |
66
+ | 5.3326 | 1.64 | 90 | 5.8787 |
67
+ | 5.3464 | 1.73 | 95 | 5.8789 |
68
+ | 5.3447 | 1.82 | 100 | 5.8791 |
69
+ | 5.3264 | 1.91 | 105 | 5.8793 |
70
+ | 5.2265 | 2.0 | 110 | 5.8797 |
71
+ | 5.1223 | 2.09 | 115 | 5.8803 |
72
+ | 5.232 | 2.18 | 120 | 5.8811 |
73
+ | 5.3772 | 2.27 | 125 | 5.8815 |
74
+ | 5.2502 | 2.36 | 130 | 5.8821 |
75
+ | 5.2293 | 2.45 | 135 | 5.8825 |
76
+ | 5.1182 | 2.55 | 140 | 5.8832 |
77
+ | 5.0885 | 2.64 | 145 | 5.8839 |
78
+ | 5.157 | 2.73 | 150 | 5.8844 |
79
+ | 5.3388 | 2.82 | 155 | 5.8845 |
80
+ | 5.2609 | 2.91 | 160 | 5.8846 |
81
+ | 5.2008 | 3.0 | 165 | 5.8847 |
82
+
83
+
84
+ ### Framework versions
85
+
86
+ - Transformers 4.34.1
87
+ - Pytorch 2.0.1+cu118
88
+ - Datasets 2.14.5
89
+ - Tokenizers 0.14.1
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "emilyalsentzer/Bio_ClinicalBERT",
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
+ "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.34.1",
22
+ "type_vocab_size": 2,
23
+ "use_cache": true,
24
+ "vocab_size": 28996
25
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb00cbf12b875c9ef7520c84b36703983ec1b755c76ff02351a0597c1e332257
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,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
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6e07b50a456386531fe72ea0acf086656e80fdc669ee7ae5b03a232ca753d23
3
+ size 4091
vocab.txt ADDED
The diff for this file is too large to render. See raw diff