Commit
·
a436780
1
Parent(s):
2f923d3
update model card README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
datasets:
|
| 6 |
+
- bc2gm_corpus
|
| 7 |
+
metrics:
|
| 8 |
+
- precision
|
| 9 |
+
- recall
|
| 10 |
+
- f1
|
| 11 |
+
- accuracy
|
| 12 |
+
model-index:
|
| 13 |
+
- name: bc2gm_corpus-Bio_ClinicalBERT-finetuned-ner
|
| 14 |
+
results:
|
| 15 |
+
- task:
|
| 16 |
+
name: Token Classification
|
| 17 |
+
type: token-classification
|
| 18 |
+
dataset:
|
| 19 |
+
name: bc2gm_corpus
|
| 20 |
+
type: bc2gm_corpus
|
| 21 |
+
args: bc2gm_corpus
|
| 22 |
+
metrics:
|
| 23 |
+
- name: Precision
|
| 24 |
+
type: precision
|
| 25 |
+
value: 0.7853881278538812
|
| 26 |
+
- name: Recall
|
| 27 |
+
type: recall
|
| 28 |
+
value: 0.8158102766798419
|
| 29 |
+
- name: F1
|
| 30 |
+
type: f1
|
| 31 |
+
value: 0.8003101977510663
|
| 32 |
+
- name: Accuracy
|
| 33 |
+
type: accuracy
|
| 34 |
+
value: 0.9758965601366187
|
| 35 |
+
---
|
| 36 |
+
|
| 37 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 38 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 39 |
+
|
| 40 |
+
# bc2gm_corpus-Bio_ClinicalBERT-finetuned-ner
|
| 41 |
+
|
| 42 |
+
This model is a fine-tuned version of [emilyalsentzer/Bio_ClinicalBERT](https://huggingface.co/emilyalsentzer/Bio_ClinicalBERT) on the bc2gm_corpus dataset.
|
| 43 |
+
It achieves the following results on the evaluation set:
|
| 44 |
+
- Loss: 0.1505
|
| 45 |
+
- Precision: 0.7854
|
| 46 |
+
- Recall: 0.8158
|
| 47 |
+
- F1: 0.8003
|
| 48 |
+
- Accuracy: 0.9759
|
| 49 |
+
|
| 50 |
+
## Model description
|
| 51 |
+
|
| 52 |
+
More information needed
|
| 53 |
+
|
| 54 |
+
## Intended uses & limitations
|
| 55 |
+
|
| 56 |
+
More information needed
|
| 57 |
+
|
| 58 |
+
## Training and evaluation data
|
| 59 |
+
|
| 60 |
+
More information needed
|
| 61 |
+
|
| 62 |
+
## Training procedure
|
| 63 |
+
|
| 64 |
+
### Training hyperparameters
|
| 65 |
+
|
| 66 |
+
The following hyperparameters were used during training:
|
| 67 |
+
- learning_rate: 2e-05
|
| 68 |
+
- train_batch_size: 16
|
| 69 |
+
- eval_batch_size: 16
|
| 70 |
+
- seed: 42
|
| 71 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 72 |
+
- lr_scheduler_type: linear
|
| 73 |
+
- num_epochs: 10
|
| 74 |
+
|
| 75 |
+
### Training results
|
| 76 |
+
|
| 77 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 78 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 79 |
+
| 0.0981 | 1.0 | 782 | 0.0712 | 0.7228 | 0.7948 | 0.7571 | 0.9724 |
|
| 80 |
+
| 0.0509 | 2.0 | 1564 | 0.0687 | 0.7472 | 0.8199 | 0.7818 | 0.9746 |
|
| 81 |
+
| 0.0121 | 3.0 | 2346 | 0.0740 | 0.7725 | 0.8011 | 0.7866 | 0.9747 |
|
| 82 |
+
| 0.0001 | 4.0 | 3128 | 0.1009 | 0.7618 | 0.8251 | 0.7922 | 0.9741 |
|
| 83 |
+
| 0.0042 | 5.0 | 3910 | 0.1106 | 0.7757 | 0.8185 | 0.7965 | 0.9754 |
|
| 84 |
+
| 0.0015 | 6.0 | 4692 | 0.1182 | 0.7812 | 0.8111 | 0.7958 | 0.9758 |
|
| 85 |
+
| 0.0001 | 7.0 | 5474 | 0.1283 | 0.7693 | 0.8275 | 0.7973 | 0.9753 |
|
| 86 |
+
| 0.0072 | 8.0 | 6256 | 0.1376 | 0.7863 | 0.8158 | 0.8008 | 0.9762 |
|
| 87 |
+
| 0.0045 | 9.0 | 7038 | 0.1468 | 0.7856 | 0.8180 | 0.8015 | 0.9761 |
|
| 88 |
+
| 0.0 | 10.0 | 7820 | 0.1505 | 0.7854 | 0.8158 | 0.8003 | 0.9759 |
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
### Framework versions
|
| 92 |
+
|
| 93 |
+
- Transformers 4.20.1
|
| 94 |
+
- Pytorch 1.12.0+cu113
|
| 95 |
+
- Datasets 2.3.2
|
| 96 |
+
- Tokenizers 0.12.1
|