DunnBC22 commited on
Commit
bbbab74
1 Parent(s): 461e48b

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +66 -0
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - token-classification
5
+ - generated_from_trainer
6
+ datasets:
7
+ - ncbi_disease
8
+ model-index:
9
+ - name: bert-base-cased-finetuned-ner-NCBI_Disease
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # bert-base-cased-finetuned-ner-NCBI_Disease
17
+
18
+ This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on the ncbi_disease dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.0614
21
+ - Disease: {'precision': 0.8063891577928364, 'recall': 0.8677083333333333, 'f1': 0.8359257400903161, 'number': 960}
22
+ - Overall Precision: 0.8064
23
+ - Overall Recall: 0.8677
24
+ - Overall F1: 0.8359
25
+ - Overall Accuracy: 0.9825
26
+
27
+ ## Model description
28
+
29
+ More information needed
30
+
31
+ ## Intended uses & limitations
32
+
33
+ More information needed
34
+
35
+ ## Training and evaluation data
36
+
37
+ More information needed
38
+
39
+ ## Training procedure
40
+
41
+ ### Training hyperparameters
42
+
43
+ The following hyperparameters were used during training:
44
+ - learning_rate: 2e-05
45
+ - train_batch_size: 16
46
+ - eval_batch_size: 16
47
+ - seed: 42
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: linear
50
+ - num_epochs: 3
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Disease | Overall Precision | Overall Recall | Overall F1 | Overall Accuracy |
55
+ |:-------------:|:-----:|:----:|:---------------:|:--------------------------------------------------------------------------------------------------------:|:-----------------:|:--------------:|:----------:|:----------------:|
56
+ | 0.0525 | 1.0 | 340 | 0.0617 | {'precision': 0.7813471502590673, 'recall': 0.7854166666666667, 'f1': 0.7833766233766233, 'number': 960} | 0.7813 | 0.7854 | 0.7834 | 0.9796 |
57
+ | 0.022 | 2.0 | 680 | 0.0551 | {'precision': 0.7897240723120837, 'recall': 0.8645833333333334, 'f1': 0.8254599701640976, 'number': 960} | 0.7897 | 0.8646 | 0.8255 | 0.9819 |
58
+ | 0.0154 | 3.0 | 1020 | 0.0614 | {'precision': 0.8063891577928364, 'recall': 0.8677083333333333, 'f1': 0.8359257400903161, 'number': 960} | 0.8064 | 0.8677 | 0.8359 | 0.9825 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - Transformers 4.28.1
64
+ - Pytorch 2.0.0
65
+ - Datasets 2.11.0
66
+ - Tokenizers 0.13.3