Granoladata commited on
Commit
2ffe557
1 Parent(s): 7d553a8

End of training

Browse files
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: dmis-lab/biobert-v1.1
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ model-index:
8
+ - name: contrast_classifier_bio_bert
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # contrast_classifier_bio_bert
16
+
17
+ This model is a fine-tuned version of [dmis-lab/biobert-v1.1](https://huggingface.co/dmis-lab/biobert-v1.1) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.1097
20
+ - Accuracy: 0.9857
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 2e-05
40
+ - train_batch_size: 16
41
+ - eval_batch_size: 16
42
+ - seed: 42
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: linear
45
+ - num_epochs: 12
46
+
47
+ ### Training results
48
+
49
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
50
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
51
+ | 0.0075 | 1.0 | 18 | 0.2757 | 0.9286 |
52
+ | 0.0024 | 2.0 | 36 | 0.5377 | 0.8429 |
53
+ | 0.0009 | 3.0 | 54 | 0.1979 | 0.9714 |
54
+ | 0.0006 | 4.0 | 72 | 0.1630 | 0.9714 |
55
+ | 0.0004 | 5.0 | 90 | 0.1114 | 0.9857 |
56
+ | 0.0004 | 6.0 | 108 | 0.1033 | 0.9857 |
57
+ | 0.0003 | 7.0 | 126 | 0.1036 | 0.9857 |
58
+ | 0.0003 | 8.0 | 144 | 0.1067 | 0.9857 |
59
+ | 0.0003 | 9.0 | 162 | 0.1095 | 0.9857 |
60
+ | 0.0003 | 10.0 | 180 | 0.1094 | 0.9857 |
61
+ | 0.0002 | 11.0 | 198 | 0.1096 | 0.9857 |
62
+ | 0.0002 | 12.0 | 216 | 0.1097 | 0.9857 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.35.2
68
+ - Pytorch 2.1.0+cu121
69
+ - Datasets 2.16.0
70
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dmis-lab/biobert-v1.1",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "no",
14
+ "1": "yes"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "no": 0,
20
+ "yes": 1
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "max_position_embeddings": 512,
24
+ "model_type": "bert",
25
+ "num_attention_heads": 12,
26
+ "num_hidden_layers": 12,
27
+ "pad_token_id": 0,
28
+ "position_embedding_type": "absolute",
29
+ "problem_type": "single_label_classification",
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.35.2",
32
+ "type_vocab_size": 2,
33
+ "use_cache": true,
34
+ "vocab_size": 28996
35
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef4a1c144c9b5940d760c2e7d54e474bbf18ce8b5ed844e6f33673095caeee18
3
+ size 433270768
runs/Dec24_20-28-32_f9690f560b25/events.out.tfevents.1703449713.f9690f560b25.15738.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f7617d18180753cb3d40196b743f9fc182101fe514853a6dc1f645695f86c21
3
+ size 13698
runs/Dec24_20-32-33_f9690f560b25/events.out.tfevents.1703449953.f9690f560b25.15738.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a885879a64d8bc485df8ea360559bf997ef9b7719d167af32948240270f77b2b
3
+ size 4184
runs/Dec24_20-32-49_f9690f560b25/events.out.tfevents.1703449970.f9690f560b25.15738.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35694a6ba60de8e9bf9b9f060fc78da7d3f7c2066e9b5d08ee600b4eedb9c8e7
3
+ size 7406
runs/Dec24_20-35-51_f9690f560b25/events.out.tfevents.1703450152.f9690f560b25.21185.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a59c75ccacc26f6c0df28b0ca7803ed4150204087632056c7ebd6364a1031115
3
+ size 11787
runs/Dec24_20-39-28_f9690f560b25/events.out.tfevents.1703450368.f9690f560b25.22504.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f006ddd0ba1dec64d4bae543af40a411aa8f019fcfd683cdb7533e496eddb925
3
+ size 11787
runs/Dec24_20-43-48_f9690f560b25/events.out.tfevents.1703450628.f9690f560b25.22504.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b7e1f56a29385e77a3f50b7216bc46521676a50326ac86c1afbf757aa9c4939
3
+ size 11884
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": false,
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
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:5e0f81e1547e54f196c9e8f4bd4dd633f1dbfb7f1a697e2966d96fdc184bb4d6
3
+ size 4600
vocab.txt ADDED
The diff for this file is too large to render. See raw diff