End of training
Browse files
README.md
CHANGED
@@ -1,24 +1,84 @@
|
|
1 |
---
|
2 |
-
|
3 |
-
base_model: FacebookAI/roberta-large
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
-
|
|
|
|
|
|
|
|
|
7 |
model-index:
|
8 |
-
- name:
|
9 |
results: []
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
library_name: transformers
|
|
|
3 |
tags:
|
4 |
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- precision
|
7 |
+
- recall
|
8 |
+
- f1
|
9 |
+
- accuracy
|
10 |
model-index:
|
11 |
+
- name: medical-ner-roberta
|
12 |
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# medical-ner-roberta
|
19 |
+
|
20 |
+
This model was trained from scratch on an unknown dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.1293
|
23 |
+
- Precision: 0.9306
|
24 |
+
- Recall: 0.9431
|
25 |
+
- F1: 0.9368
|
26 |
+
- Accuracy: 0.9792
|
27 |
+
|
28 |
+
## Model description
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Intended uses & limitations
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training and evaluation data
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training procedure
|
41 |
+
|
42 |
+
### Training hyperparameters
|
43 |
+
|
44 |
+
The following hyperparameters were used during training:
|
45 |
+
- learning_rate: 2e-05
|
46 |
+
- train_batch_size: 4
|
47 |
+
- eval_batch_size: 4
|
48 |
+
- seed: 42
|
49 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
50 |
+
- lr_scheduler_type: cosine
|
51 |
+
- num_epochs: 20
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
56 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
57 |
+
| No log | 1.0 | 90 | 0.6883 | 0.4376 | 0.4556 | 0.4464 | 0.7834 |
|
58 |
+
| No log | 2.0 | 180 | 0.4971 | 0.5779 | 0.6286 | 0.6022 | 0.8343 |
|
59 |
+
| No log | 3.0 | 270 | 0.4184 | 0.5892 | 0.7451 | 0.6581 | 0.8569 |
|
60 |
+
| No log | 4.0 | 360 | 0.3410 | 0.6474 | 0.8062 | 0.7182 | 0.8893 |
|
61 |
+
| No log | 5.0 | 450 | 0.2515 | 0.7554 | 0.8181 | 0.7855 | 0.9270 |
|
62 |
+
| 0.5383 | 6.0 | 540 | 0.2256 | 0.7738 | 0.8577 | 0.8136 | 0.9338 |
|
63 |
+
| 0.5383 | 7.0 | 630 | 0.1782 | 0.8270 | 0.8824 | 0.8538 | 0.9488 |
|
64 |
+
| 0.5383 | 8.0 | 720 | 0.1734 | 0.8271 | 0.8977 | 0.8610 | 0.9554 |
|
65 |
+
| 0.5383 | 9.0 | 810 | 0.1474 | 0.8702 | 0.9123 | 0.8908 | 0.9661 |
|
66 |
+
| 0.5383 | 10.0 | 900 | 0.1476 | 0.8806 | 0.9216 | 0.9006 | 0.9685 |
|
67 |
+
| 0.5383 | 11.0 | 990 | 0.1404 | 0.8913 | 0.9304 | 0.9105 | 0.9722 |
|
68 |
+
| 0.0733 | 12.0 | 1080 | 0.1354 | 0.9085 | 0.9273 | 0.9178 | 0.9741 |
|
69 |
+
| 0.0733 | 13.0 | 1170 | 0.1332 | 0.9112 | 0.9266 | 0.9188 | 0.9739 |
|
70 |
+
| 0.0733 | 14.0 | 1260 | 0.1337 | 0.9072 | 0.9396 | 0.9231 | 0.9755 |
|
71 |
+
| 0.0733 | 15.0 | 1350 | 0.1332 | 0.9283 | 0.9362 | 0.9322 | 0.9776 |
|
72 |
+
| 0.0733 | 16.0 | 1440 | 0.1293 | 0.9321 | 0.9389 | 0.9355 | 0.9783 |
|
73 |
+
| 0.0236 | 17.0 | 1530 | 0.1307 | 0.9253 | 0.9431 | 0.9341 | 0.9786 |
|
74 |
+
| 0.0236 | 18.0 | 1620 | 0.1293 | 0.9278 | 0.9439 | 0.9358 | 0.9788 |
|
75 |
+
| 0.0236 | 19.0 | 1710 | 0.1294 | 0.9306 | 0.9431 | 0.9368 | 0.9792 |
|
76 |
+
| 0.0236 | 20.0 | 1800 | 0.1293 | 0.9306 | 0.9431 | 0.9368 | 0.9792 |
|
77 |
+
|
78 |
+
|
79 |
+
### Framework versions
|
80 |
+
|
81 |
+
- Transformers 4.46.2
|
82 |
+
- Pytorch 2.5.1+cu121
|
83 |
+
- Datasets 3.1.0
|
84 |
+
- Tokenizers 0.20.3
|
runs/Nov17_19-06-42_46bb810912a7/events.out.tfevents.1731873114.46bb810912a7.361.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:491096235459f33625b238f8808d02e6d7488776e3a55d24211ef0b16a0f715e
|
3 |
+
size 560
|