End of training
Browse files- README.md +90 -0
- config.json +33 -0
- model.safetensors +3 -0
- runs/Jul21_04-09-50_3093453c5272/events.out.tfevents.1753070996.3093453c5272.274.0 +3 -0
- runs/Jul21_04-17-18_3093453c5272/events.out.tfevents.1753071502.3093453c5272.274.1 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +58 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
base_model: dmis-lab/biobert-base-cased-v1.1
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- precision
|
9 |
+
- recall
|
10 |
+
- f1
|
11 |
+
model-index:
|
12 |
+
- name: Biobert_combo_v2
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# Biobert_combo_v2
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [dmis-lab/biobert-base-cased-v1.1](https://huggingface.co/dmis-lab/biobert-base-cased-v1.1) on the None dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.1933
|
24 |
+
- Accuracy: 0.924
|
25 |
+
- Auc: 0.978
|
26 |
+
- Precision: 0.938
|
27 |
+
- Recall: 0.938
|
28 |
+
- F1: 0.938
|
29 |
+
- F1-macro: 0.919
|
30 |
+
- F1-micro: 0.924
|
31 |
+
- F1-weighted: 0.924
|
32 |
+
|
33 |
+
## Model description
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Intended uses & limitations
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training and evaluation data
|
42 |
+
|
43 |
+
More information needed
|
44 |
+
|
45 |
+
## Training procedure
|
46 |
+
|
47 |
+
### Training hyperparameters
|
48 |
+
|
49 |
+
The following hyperparameters were used during training:
|
50 |
+
- learning_rate: 2e-05
|
51 |
+
- train_batch_size: 8
|
52 |
+
- eval_batch_size: 8
|
53 |
+
- seed: 42
|
54 |
+
- gradient_accumulation_steps: 4
|
55 |
+
- total_train_batch_size: 32
|
56 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
57 |
+
- lr_scheduler_type: linear
|
58 |
+
- num_epochs: 5
|
59 |
+
- mixed_precision_training: Native AMP
|
60 |
+
|
61 |
+
### Training results
|
62 |
+
|
63 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Auc | Precision | Recall | F1 | F1-macro | F1-micro | F1-weighted |
|
64 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|:-----:|:---------:|:------:|:-----:|:--------:|:--------:|:-----------:|
|
65 |
+
| 0.4506 | 0.2661 | 500 | 0.2929 | 0.883 | 0.944 | 0.902 | 0.91 | 0.906 | 0.876 | 0.883 | 0.883 |
|
66 |
+
| 0.2846 | 0.5323 | 1000 | 0.2606 | 0.897 | 0.957 | 0.904 | 0.934 | 0.918 | 0.89 | 0.897 | 0.897 |
|
67 |
+
| 0.2462 | 0.7984 | 1500 | 0.2316 | 0.907 | 0.966 | 0.915 | 0.938 | 0.926 | 0.901 | 0.907 | 0.907 |
|
68 |
+
| 0.2337 | 1.0644 | 2000 | 0.2297 | 0.91 | 0.967 | 0.926 | 0.928 | 0.927 | 0.904 | 0.91 | 0.91 |
|
69 |
+
| 0.21 | 1.3305 | 2500 | 0.2212 | 0.911 | 0.97 | 0.934 | 0.922 | 0.928 | 0.906 | 0.911 | 0.911 |
|
70 |
+
| 0.2033 | 1.5967 | 3000 | 0.2181 | 0.913 | 0.972 | 0.925 | 0.935 | 0.93 | 0.908 | 0.913 | 0.913 |
|
71 |
+
| 0.2029 | 1.8628 | 3500 | 0.2109 | 0.916 | 0.974 | 0.92 | 0.946 | 0.933 | 0.91 | 0.916 | 0.915 |
|
72 |
+
| 0.1948 | 2.1288 | 4000 | 0.2030 | 0.921 | 0.975 | 0.94 | 0.931 | 0.935 | 0.916 | 0.921 | 0.921 |
|
73 |
+
| 0.1812 | 2.3949 | 4500 | 0.2093 | 0.918 | 0.974 | 0.933 | 0.935 | 0.934 | 0.913 | 0.918 | 0.918 |
|
74 |
+
| 0.1822 | 2.6611 | 5000 | 0.1996 | 0.92 | 0.976 | 0.933 | 0.939 | 0.936 | 0.916 | 0.92 | 0.92 |
|
75 |
+
| 0.1818 | 2.9272 | 5500 | 0.1945 | 0.923 | 0.977 | 0.936 | 0.94 | 0.938 | 0.918 | 0.923 | 0.923 |
|
76 |
+
| 0.1707 | 3.1932 | 6000 | 0.1955 | 0.923 | 0.977 | 0.946 | 0.929 | 0.937 | 0.919 | 0.923 | 0.923 |
|
77 |
+
| 0.1635 | 3.4593 | 6500 | 0.2019 | 0.922 | 0.977 | 0.935 | 0.939 | 0.937 | 0.917 | 0.922 | 0.922 |
|
78 |
+
| 0.1747 | 3.7255 | 7000 | 0.1983 | 0.923 | 0.977 | 0.931 | 0.945 | 0.938 | 0.918 | 0.923 | 0.923 |
|
79 |
+
| 0.1735 | 3.9916 | 7500 | 0.1956 | 0.923 | 0.978 | 0.936 | 0.941 | 0.938 | 0.919 | 0.923 | 0.923 |
|
80 |
+
| 0.1646 | 4.2576 | 8000 | 0.1994 | 0.921 | 0.977 | 0.933 | 0.94 | 0.937 | 0.916 | 0.921 | 0.921 |
|
81 |
+
| 0.1616 | 4.5238 | 8500 | 0.1925 | 0.924 | 0.978 | 0.942 | 0.934 | 0.938 | 0.919 | 0.924 | 0.924 |
|
82 |
+
| 0.1615 | 4.7899 | 9000 | 0.1933 | 0.924 | 0.978 | 0.938 | 0.938 | 0.938 | 0.919 | 0.924 | 0.924 |
|
83 |
+
|
84 |
+
|
85 |
+
### Framework versions
|
86 |
+
|
87 |
+
- Transformers 4.53.2
|
88 |
+
- Pytorch 2.6.0+cu124
|
89 |
+
- Datasets 2.14.4
|
90 |
+
- Tokenizers 0.21.2
|
config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"BertForSequenceClassification"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"classifier_dropout": null,
|
7 |
+
"hidden_act": "gelu",
|
8 |
+
"hidden_dropout_prob": 0.1,
|
9 |
+
"hidden_size": 768,
|
10 |
+
"id2label": {
|
11 |
+
"0": "fake",
|
12 |
+
"1": "real"
|
13 |
+
},
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 3072,
|
16 |
+
"label2id": {
|
17 |
+
"fake": 0,
|
18 |
+
"real": 1
|
19 |
+
},
|
20 |
+
"layer_norm_eps": 1e-12,
|
21 |
+
"max_position_embeddings": 512,
|
22 |
+
"model_type": "bert",
|
23 |
+
"num_attention_heads": 12,
|
24 |
+
"num_hidden_layers": 12,
|
25 |
+
"pad_token_id": 0,
|
26 |
+
"position_embedding_type": "absolute",
|
27 |
+
"problem_type": "single_label_classification",
|
28 |
+
"torch_dtype": "float32",
|
29 |
+
"transformers_version": "4.53.2",
|
30 |
+
"type_vocab_size": 2,
|
31 |
+
"use_cache": true,
|
32 |
+
"vocab_size": 28996
|
33 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cf72ca359a4a4b84a0260a0af1678d71a811b0f6ecd5570c1192e3d50249aaa7
|
3 |
+
size 433270768
|
runs/Jul21_04-09-50_3093453c5272/events.out.tfevents.1753070996.3093453c5272.274.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed695fa5bb86bbfd21893acb87a89ca9c6bb5d55a73ba2feb177cc46f677a80a
|
3 |
+
size 4986
|
runs/Jul21_04-17-18_3093453c5272/events.out.tfevents.1753071502.3093453c5272.274.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c112f925487c9d9f9b17928de65a08fa14b6cfae21f9c1e5c6b6bd8ce92fe5e4
|
3 |
+
size 21342
|
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": true,
|
48 |
+
"extra_special_tokens": {},
|
49 |
+
"mask_token": "[MASK]",
|
50 |
+
"model_max_length": 1000000000000000019884624838656,
|
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:3cc21b2f0bcf1f8821dd6cf4e6466d40b289d415007e20cd9119c76925e40d85
|
3 |
+
size 5368
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|