betoNer-biobert
Browse files
README.md
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
base_model: dccuchile/bert-base-spanish-wwm-cased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- precision
|
8 |
+
- recall
|
9 |
+
- f1
|
10 |
+
- accuracy
|
11 |
+
model-index:
|
12 |
+
- name: betoNer-biobert
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# betoNer-biobert
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [dccuchile/bert-base-spanish-wwm-cased](https://huggingface.co/dccuchile/bert-base-spanish-wwm-cased) on an unknown dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.1179
|
24 |
+
- Precision: 0.9511
|
25 |
+
- Recall: 0.9644
|
26 |
+
- F1: 0.9577
|
27 |
+
- Accuracy: 0.9773
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 2e-05
|
47 |
+
- train_batch_size: 32
|
48 |
+
- eval_batch_size: 32
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 10
|
53 |
+
- mixed_precision_training: Native AMP
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
58 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
59 |
+
| No log | 1.0 | 306 | 0.1159 | 0.9263 | 0.9509 | 0.9384 | 0.9686 |
|
60 |
+
| 0.3168 | 2.0 | 612 | 0.1014 | 0.9358 | 0.9642 | 0.9498 | 0.9742 |
|
61 |
+
| 0.3168 | 3.0 | 918 | 0.0959 | 0.9462 | 0.9656 | 0.9558 | 0.9767 |
|
62 |
+
| 0.0777 | 4.0 | 1224 | 0.1011 | 0.9451 | 0.9661 | 0.9555 | 0.9767 |
|
63 |
+
| 0.0541 | 5.0 | 1530 | 0.1073 | 0.9512 | 0.9643 | 0.9577 | 0.9772 |
|
64 |
+
| 0.0541 | 6.0 | 1836 | 0.1083 | 0.9441 | 0.9611 | 0.9525 | 0.9751 |
|
65 |
+
| 0.0385 | 7.0 | 2142 | 0.1100 | 0.9515 | 0.9632 | 0.9573 | 0.9776 |
|
66 |
+
| 0.0385 | 8.0 | 2448 | 0.1153 | 0.9477 | 0.9658 | 0.9567 | 0.9770 |
|
67 |
+
| 0.0325 | 9.0 | 2754 | 0.1161 | 0.9495 | 0.9633 | 0.9564 | 0.9769 |
|
68 |
+
| 0.0255 | 10.0 | 3060 | 0.1179 | 0.9511 | 0.9644 | 0.9577 | 0.9773 |
|
69 |
+
|
70 |
+
|
71 |
+
### Framework versions
|
72 |
+
|
73 |
+
- Transformers 4.45.1
|
74 |
+
- Pytorch 2.4.0
|
75 |
+
- Datasets 3.0.1
|
76 |
+
- Tokenizers 0.20.0
|
config.json
CHANGED
@@ -83,7 +83,7 @@
|
|
83 |
"output_past": true,
|
84 |
"pad_token_id": 1,
|
85 |
"position_embedding_type": "absolute",
|
86 |
-
"torch_dtype": "
|
87 |
"transformers_version": "4.45.1",
|
88 |
"type_vocab_size": 2,
|
89 |
"use_cache": true,
|
|
|
83 |
"output_past": true,
|
84 |
"pad_token_id": 1,
|
85 |
"position_embedding_type": "absolute",
|
86 |
+
"torch_dtype": "float16",
|
87 |
"transformers_version": "4.45.1",
|
88 |
"type_vocab_size": 2,
|
89 |
"use_cache": true,
|
model.safetensors
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:1acf3303387f5a48047c7ffb677f03f8bfefd2cc8df235dee6de4a1066b03bc9
|
3 |
+
size 218589948
|
runs/Nov20_16-48-49_cb4c53c587ac/events.out.tfevents.1732126742.cb4c53c587ac.30.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c3f93c13445ca848546dc66a66e19197f20dd212962ead2274de83a8b1741cc4
|
3 |
+
size 560
|