add model
Browse files- README.md +14 -12
- config.json +1 -1
- pytorch_model.bin +1 -1
- training_args.bin +1 -1
README.md
CHANGED
@@ -21,7 +21,7 @@ model_index:
|
|
21 |
metric:
|
22 |
name: Accuracy
|
23 |
type: accuracy
|
24 |
-
value: 0.
|
25 |
---
|
26 |
|
27 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -31,11 +31,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
31 |
|
32 |
This model is a fine-tuned version of [monologg/biobert_v1.1_pubmed](https://huggingface.co/monologg/biobert_v1.1_pubmed) on the ncbi_disease dataset.
|
33 |
It achieves the following results on the evaluation set:
|
34 |
-
- Loss: 0.
|
35 |
-
- Precision: 0.
|
36 |
-
- Recall: 0.
|
37 |
-
- F1: 0.
|
38 |
-
- Accuracy: 0.
|
39 |
|
40 |
## Model description
|
41 |
|
@@ -54,24 +54,26 @@ More information needed
|
|
54 |
### Training hyperparameters
|
55 |
|
56 |
The following hyperparameters were used during training:
|
57 |
-
- learning_rate:
|
58 |
- train_batch_size: 16
|
59 |
- eval_batch_size: 16
|
60 |
- seed: 42
|
61 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
62 |
- lr_scheduler_type: linear
|
63 |
-
- num_epochs:
|
64 |
|
65 |
### Training results
|
66 |
|
67 |
-
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1
|
68 |
-
|
69 |
-
| No log | 1.0 | 340 | 0.
|
|
|
|
|
70 |
|
71 |
|
72 |
### Framework versions
|
73 |
|
74 |
-
- Transformers 4.8.
|
75 |
- Pytorch 1.9.0
|
76 |
- Datasets 1.6.2
|
77 |
- Tokenizers 0.10.3
|
|
|
21 |
metric:
|
22 |
name: Accuracy
|
23 |
type: accuracy
|
24 |
+
value: 0.9827274990663513
|
25 |
---
|
26 |
|
27 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
31 |
|
32 |
This model is a fine-tuned version of [monologg/biobert_v1.1_pubmed](https://huggingface.co/monologg/biobert_v1.1_pubmed) on the ncbi_disease dataset.
|
33 |
It achieves the following results on the evaluation set:
|
34 |
+
- Loss: 0.0657
|
35 |
+
- Precision: 0.8338
|
36 |
+
- Recall: 0.8933
|
37 |
+
- F1: 0.8625
|
38 |
+
- Accuracy: 0.9827
|
39 |
|
40 |
## Model description
|
41 |
|
|
|
54 |
### Training hyperparameters
|
55 |
|
56 |
The following hyperparameters were used during training:
|
57 |
+
- learning_rate: 2e-05
|
58 |
- train_batch_size: 16
|
59 |
- eval_batch_size: 16
|
60 |
- seed: 42
|
61 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
62 |
- lr_scheduler_type: linear
|
63 |
+
- num_epochs: 3
|
64 |
|
65 |
### Training results
|
66 |
|
67 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
68 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
69 |
+
| No log | 1.0 | 340 | 0.0612 | 0.8268 | 0.85 | 0.8382 | 0.9806 |
|
70 |
+
| 0.0987 | 2.0 | 680 | 0.0604 | 0.8397 | 0.8848 | 0.8616 | 0.9829 |
|
71 |
+
| 0.0272 | 3.0 | 1020 | 0.0657 | 0.8338 | 0.8933 | 0.8625 | 0.9827 |
|
72 |
|
73 |
|
74 |
### Framework versions
|
75 |
|
76 |
+
- Transformers 4.8.1
|
77 |
- Pytorch 1.9.0
|
78 |
- Datasets 1.6.2
|
79 |
- Tokenizers 0.10.3
|
config.json
CHANGED
@@ -27,7 +27,7 @@
|
|
27 |
"num_hidden_layers": 12,
|
28 |
"pad_token_id": 0,
|
29 |
"position_embedding_type": "absolute",
|
30 |
-
"transformers_version": "4.8.
|
31 |
"type_vocab_size": 2,
|
32 |
"use_cache": true,
|
33 |
"vocab_size": 28996
|
|
|
27 |
"num_hidden_layers": 12,
|
28 |
"pad_token_id": 0,
|
29 |
"position_embedding_type": "absolute",
|
30 |
+
"transformers_version": "4.8.1",
|
31 |
"type_vocab_size": 2,
|
32 |
"use_cache": true,
|
33 |
"vocab_size": 28996
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 430968561
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fb97943e0ea7c821994c417883540bc7628b0585a1237f483d7da42194bc8b7a
|
3 |
size 430968561
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2671
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:68033417b0213b00f1511d37bcca2e514c6c17c0759ef523f7f17e67ce4160c7
|
3 |
size 2671
|