Commit
·
a2a1e93
1
Parent(s):
c9e668b
update model card README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- generated_from_trainer
|
| 4 |
+
datasets:
|
| 5 |
+
- ade_drug_dosage_ner
|
| 6 |
+
metrics:
|
| 7 |
+
- precision
|
| 8 |
+
- recall
|
| 9 |
+
- f1
|
| 10 |
+
- accuracy
|
| 11 |
+
model-index:
|
| 12 |
+
- name: electramed-small-ADE-DRUG-DOSAGE-ner
|
| 13 |
+
results:
|
| 14 |
+
- task:
|
| 15 |
+
name: Token Classification
|
| 16 |
+
type: token-classification
|
| 17 |
+
dataset:
|
| 18 |
+
name: ade_drug_dosage_ner
|
| 19 |
+
type: ade_drug_dosage_ner
|
| 20 |
+
config: ade
|
| 21 |
+
split: train
|
| 22 |
+
args: ade
|
| 23 |
+
metrics:
|
| 24 |
+
- name: Precision
|
| 25 |
+
type: precision
|
| 26 |
+
value: 0.0
|
| 27 |
+
- name: Recall
|
| 28 |
+
type: recall
|
| 29 |
+
value: 0.0
|
| 30 |
+
- name: F1
|
| 31 |
+
type: f1
|
| 32 |
+
value: 0.0
|
| 33 |
+
- name: Accuracy
|
| 34 |
+
type: accuracy
|
| 35 |
+
value: 0.8697318007662835
|
| 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-ADE-DRUG-DOSAGE-ner
|
| 42 |
+
|
| 43 |
+
This model is a fine-tuned version of [giacomomiolo/electramed_small_scivocab](https://huggingface.co/giacomomiolo/electramed_small_scivocab) on the ade_drug_dosage_ner dataset.
|
| 44 |
+
It achieves the following results on the evaluation set:
|
| 45 |
+
- Loss: 0.6064
|
| 46 |
+
- Precision: 0.0
|
| 47 |
+
- Recall: 0.0
|
| 48 |
+
- F1: 0.0
|
| 49 |
+
- Accuracy: 0.8697
|
| 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 |
+
| 1.4165 | 1.0 | 14 | 1.3965 | 0.0255 | 0.0636 | 0.0365 | 0.7471 |
|
| 81 |
+
| 1.2063 | 2.0 | 28 | 1.1702 | 0.0 | 0.0 | 0.0 | 0.8697 |
|
| 82 |
+
| 0.9527 | 3.0 | 42 | 0.9342 | 0.0 | 0.0 | 0.0 | 0.8697 |
|
| 83 |
+
| 0.8238 | 4.0 | 56 | 0.7775 | 0.0 | 0.0 | 0.0 | 0.8697 |
|
| 84 |
+
| 0.7452 | 5.0 | 70 | 0.6945 | 0.0 | 0.0 | 0.0 | 0.8697 |
|
| 85 |
+
| 0.6386 | 6.0 | 84 | 0.6519 | 0.0 | 0.0 | 0.0 | 0.8697 |
|
| 86 |
+
| 0.6742 | 7.0 | 98 | 0.6294 | 0.0 | 0.0 | 0.0 | 0.8697 |
|
| 87 |
+
| 0.6669 | 8.0 | 112 | 0.6162 | 0.0 | 0.0 | 0.0 | 0.8697 |
|
| 88 |
+
| 0.6595 | 9.0 | 126 | 0.6090 | 0.0 | 0.0 | 0.0 | 0.8697 |
|
| 89 |
+
| 0.6122 | 10.0 | 140 | 0.6064 | 0.0 | 0.0 | 0.0 | 0.8697 |
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
### Framework versions
|
| 93 |
+
|
| 94 |
+
- Transformers 4.22.1
|
| 95 |
+
- Pytorch 1.12.1+cu113
|
| 96 |
+
- Datasets 2.4.0
|
| 97 |
+
- Tokenizers 0.12.1
|