Commit ·
b15821f
1
Parent(s): a4eba9f
update model card README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- generated_from_trainer
|
| 4 |
+
datasets:
|
| 5 |
+
- ncbi_disease
|
| 6 |
+
metrics:
|
| 7 |
+
- precision
|
| 8 |
+
- recall
|
| 9 |
+
- f1
|
| 10 |
+
- accuracy
|
| 11 |
+
model-index:
|
| 12 |
+
- name: electramed-small-NCBI-ner
|
| 13 |
+
results:
|
| 14 |
+
- task:
|
| 15 |
+
name: Token Classification
|
| 16 |
+
type: token-classification
|
| 17 |
+
dataset:
|
| 18 |
+
name: ncbi_disease
|
| 19 |
+
type: ncbi_disease
|
| 20 |
+
config: ncbi_disease
|
| 21 |
+
split: train
|
| 22 |
+
args: ncbi_disease
|
| 23 |
+
metrics:
|
| 24 |
+
- name: Precision
|
| 25 |
+
type: precision
|
| 26 |
+
value: 0.8083491461100569
|
| 27 |
+
- name: Recall
|
| 28 |
+
type: recall
|
| 29 |
+
value: 0.8875
|
| 30 |
+
- name: F1
|
| 31 |
+
type: f1
|
| 32 |
+
value: 0.846077457795432
|
| 33 |
+
- name: Accuracy
|
| 34 |
+
type: accuracy
|
| 35 |
+
value: 0.9820794382985671
|
| 36 |
+
---
|
| 37 |
+
|
| 38 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 39 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 40 |
+
|
| 41 |
+
# electramed-small-NCBI-ner
|
| 42 |
+
|
| 43 |
+
This model is a fine-tuned version of [giacomomiolo/electramed_small_scivocab](https://huggingface.co/giacomomiolo/electramed_small_scivocab) on the ncbi_disease dataset.
|
| 44 |
+
It achieves the following results on the evaluation set:
|
| 45 |
+
- Loss: 0.0664
|
| 46 |
+
- Precision: 0.8083
|
| 47 |
+
- Recall: 0.8875
|
| 48 |
+
- F1: 0.8461
|
| 49 |
+
- Accuracy: 0.9821
|
| 50 |
+
|
| 51 |
+
## Model description
|
| 52 |
+
|
| 53 |
+
More information needed
|
| 54 |
+
|
| 55 |
+
## Intended uses & limitations
|
| 56 |
+
|
| 57 |
+
More information needed
|
| 58 |
+
|
| 59 |
+
## Training and evaluation data
|
| 60 |
+
|
| 61 |
+
More information needed
|
| 62 |
+
|
| 63 |
+
## Training procedure
|
| 64 |
+
|
| 65 |
+
### Training hyperparameters
|
| 66 |
+
|
| 67 |
+
The following hyperparameters were used during training:
|
| 68 |
+
- learning_rate: 2e-05
|
| 69 |
+
- train_batch_size: 16
|
| 70 |
+
- eval_batch_size: 16
|
| 71 |
+
- seed: 42
|
| 72 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 73 |
+
- lr_scheduler_type: linear
|
| 74 |
+
- num_epochs: 10
|
| 75 |
+
|
| 76 |
+
### Training results
|
| 77 |
+
|
| 78 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
| 79 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
| 80 |
+
| 0.4787 | 1.0 | 340 | 0.5090 | 0.6090 | 0.5062 | 0.5529 | 0.9608 |
|
| 81 |
+
| 0.2029 | 2.0 | 680 | 0.1890 | 0.7643 | 0.8208 | 0.7916 | 0.9774 |
|
| 82 |
+
| 0.1402 | 3.0 | 1020 | 0.1106 | 0.7839 | 0.8802 | 0.8292 | 0.9807 |
|
| 83 |
+
| 0.075 | 4.0 | 1360 | 0.0876 | 0.8162 | 0.8698 | 0.8422 | 0.9817 |
|
| 84 |
+
| 0.0408 | 5.0 | 1700 | 0.0776 | 0.8090 | 0.8781 | 0.8422 | 0.9818 |
|
| 85 |
+
| 0.0308 | 6.0 | 2040 | 0.0697 | 0.8044 | 0.8823 | 0.8415 | 0.9825 |
|
| 86 |
+
| 0.0405 | 7.0 | 2380 | 0.0680 | 0.8118 | 0.8854 | 0.8470 | 0.9830 |
|
| 87 |
+
| 0.0138 | 8.0 | 2720 | 0.0665 | 0.8111 | 0.8854 | 0.8466 | 0.9826 |
|
| 88 |
+
| 0.0223 | 9.0 | 3060 | 0.0675 | 0.8064 | 0.8896 | 0.8460 | 0.9821 |
|
| 89 |
+
| 0.0395 | 10.0 | 3400 | 0.0664 | 0.8083 | 0.8875 | 0.8461 | 0.9821 |
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
### Framework versions
|
| 93 |
+
|
| 94 |
+
- Transformers 4.21.1
|
| 95 |
+
- Pytorch 1.12.1+cu113
|
| 96 |
+
- Datasets 2.4.0
|
| 97 |
+
- Tokenizers 0.12.1
|