End of training
Browse files
README.md
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: google-bert/bert-base-uncased
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
datasets:
|
8 |
+
- biobert_json
|
9 |
+
metrics:
|
10 |
+
- precision
|
11 |
+
- recall
|
12 |
+
- f1
|
13 |
+
- accuracy
|
14 |
+
model-index:
|
15 |
+
- name: bert-base-uncased-finetuned-ner
|
16 |
+
results:
|
17 |
+
- task:
|
18 |
+
name: Token Classification
|
19 |
+
type: token-classification
|
20 |
+
dataset:
|
21 |
+
name: biobert_json
|
22 |
+
type: biobert_json
|
23 |
+
config: Biobert_json
|
24 |
+
split: validation
|
25 |
+
args: Biobert_json
|
26 |
+
metrics:
|
27 |
+
- name: Precision
|
28 |
+
type: precision
|
29 |
+
value: 0.9437070282658518
|
30 |
+
- name: Recall
|
31 |
+
type: recall
|
32 |
+
value: 0.9691575953711876
|
33 |
+
- name: F1
|
34 |
+
type: f1
|
35 |
+
value: 0.9562630025642267
|
36 |
+
- name: Accuracy
|
37 |
+
type: accuracy
|
38 |
+
value: 0.977555086732302
|
39 |
+
---
|
40 |
+
|
41 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
42 |
+
should probably proofread and complete it, then remove this comment. -->
|
43 |
+
|
44 |
+
# bert-base-uncased-finetuned-ner
|
45 |
+
|
46 |
+
This model is a fine-tuned version of [google-bert/bert-base-uncased](https://huggingface.co/google-bert/bert-base-uncased) on the biobert_json dataset.
|
47 |
+
It achieves the following results on the evaluation set:
|
48 |
+
- Loss: 0.1107
|
49 |
+
- Precision: 0.9437
|
50 |
+
- Recall: 0.9692
|
51 |
+
- F1: 0.9563
|
52 |
+
- Accuracy: 0.9776
|
53 |
+
|
54 |
+
## Model description
|
55 |
+
|
56 |
+
More information needed
|
57 |
+
|
58 |
+
## Intended uses & limitations
|
59 |
+
|
60 |
+
More information needed
|
61 |
+
|
62 |
+
## Training and evaluation data
|
63 |
+
|
64 |
+
More information needed
|
65 |
+
|
66 |
+
## Training procedure
|
67 |
+
|
68 |
+
### Training hyperparameters
|
69 |
+
|
70 |
+
The following hyperparameters were used during training:
|
71 |
+
- learning_rate: 2e-05
|
72 |
+
- train_batch_size: 16
|
73 |
+
- eval_batch_size: 16
|
74 |
+
- seed: 42
|
75 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
76 |
+
- lr_scheduler_type: linear
|
77 |
+
- num_epochs: 10
|
78 |
+
|
79 |
+
### Training results
|
80 |
+
|
81 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
82 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
83 |
+
| 0.4381 | 1.0 | 612 | 0.1172 | 0.9235 | 0.9536 | 0.9383 | 0.9689 |
|
84 |
+
| 0.1389 | 2.0 | 1224 | 0.1117 | 0.9247 | 0.9731 | 0.9483 | 0.9717 |
|
85 |
+
| 0.0935 | 3.0 | 1836 | 0.0962 | 0.9433 | 0.9662 | 0.9546 | 0.9769 |
|
86 |
+
| 0.0758 | 4.0 | 2448 | 0.0926 | 0.9408 | 0.9736 | 0.9569 | 0.9771 |
|
87 |
+
| 0.0536 | 5.0 | 3060 | 0.0958 | 0.9404 | 0.9722 | 0.9561 | 0.9769 |
|
88 |
+
| 0.0476 | 6.0 | 3672 | 0.1029 | 0.9418 | 0.9681 | 0.9548 | 0.9761 |
|
89 |
+
| 0.0395 | 7.0 | 4284 | 0.1023 | 0.9425 | 0.9720 | 0.9570 | 0.9769 |
|
90 |
+
| 0.0375 | 8.0 | 4896 | 0.1091 | 0.9426 | 0.9695 | 0.9559 | 0.9771 |
|
91 |
+
| 0.0299 | 9.0 | 5508 | 0.1080 | 0.9451 | 0.9693 | 0.9570 | 0.9778 |
|
92 |
+
| 0.0266 | 10.0 | 6120 | 0.1107 | 0.9437 | 0.9692 | 0.9563 | 0.9776 |
|
93 |
+
|
94 |
+
|
95 |
+
### Framework versions
|
96 |
+
|
97 |
+
- Transformers 4.46.3
|
98 |
+
- Pytorch 2.5.1+cu121
|
99 |
+
- Datasets 3.1.0
|
100 |
+
- Tokenizers 0.20.3
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 435682216
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:817c67a3d090e4a7e948e9d742b3d3fab58d4ccc45dd8bcc16220429512e5dbc
|
3 |
size 435682216
|
runs/Dec05_17-47-39_b4a005ede56c/events.out.tfevents.1733420870.b4a005ede56c.1626.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:581efe029a9a301b0af027fc330cb40ac0aa65490253edb568908ee531709809
|
3 |
+
size 13971
|
runs/Dec05_17-47-39_b4a005ede56c/events.out.tfevents.1733421435.b4a005ede56c.1626.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0dd3cab50bb0024f716914b00c426eb0e81cd255fea72ae37d36316192c02699
|
3 |
+
size 560
|