update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
datasets:
|
5 |
+
- nerde
|
6 |
+
metrics:
|
7 |
+
- precision
|
8 |
+
- recall
|
9 |
+
- f1
|
10 |
+
- accuracy
|
11 |
+
model-index:
|
12 |
+
- name: NERDE-base
|
13 |
+
results:
|
14 |
+
- task:
|
15 |
+
name: Token Classification
|
16 |
+
type: token-classification
|
17 |
+
dataset:
|
18 |
+
name: nerde
|
19 |
+
type: nerde
|
20 |
+
args: NERDE
|
21 |
+
metrics:
|
22 |
+
- name: Precision
|
23 |
+
type: precision
|
24 |
+
value: 0.9118601747815231
|
25 |
+
- name: Recall
|
26 |
+
type: recall
|
27 |
+
value: 0.9152882205513785
|
28 |
+
- name: F1
|
29 |
+
type: f1
|
30 |
+
value: 0.9135709818636648
|
31 |
+
- name: Accuracy
|
32 |
+
type: accuracy
|
33 |
+
value: 0.9841962132484992
|
34 |
+
---
|
35 |
+
|
36 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
37 |
+
should probably proofread and complete it, then remove this comment. -->
|
38 |
+
|
39 |
+
# NERDE-base
|
40 |
+
|
41 |
+
This model is a fine-tuned version of [pierreguillou/bert-base-cased-pt-lenerbr](https://huggingface.co/pierreguillou/bert-base-cased-pt-lenerbr) on the nerde dataset.
|
42 |
+
It achieves the following results on the evaluation set:
|
43 |
+
- Loss: 0.1246
|
44 |
+
- Precision: 0.9119
|
45 |
+
- Recall: 0.9153
|
46 |
+
- F1: 0.9136
|
47 |
+
- Accuracy: 0.9842
|
48 |
+
|
49 |
+
## Model description
|
50 |
+
|
51 |
+
More information needed
|
52 |
+
|
53 |
+
## Intended uses & limitations
|
54 |
+
|
55 |
+
More information needed
|
56 |
+
|
57 |
+
## Training and evaluation data
|
58 |
+
|
59 |
+
More information needed
|
60 |
+
|
61 |
+
## Training procedure
|
62 |
+
|
63 |
+
### Training hyperparameters
|
64 |
+
|
65 |
+
The following hyperparameters were used during training:
|
66 |
+
- learning_rate: 2e-05
|
67 |
+
- train_batch_size: 16
|
68 |
+
- eval_batch_size: 16
|
69 |
+
- seed: 42
|
70 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
71 |
+
- lr_scheduler_type: linear
|
72 |
+
- num_epochs: 10
|
73 |
+
|
74 |
+
### Training results
|
75 |
+
|
76 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
77 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
78 |
+
| 0.2466 | 1.0 | 541 | 0.1003 | 0.8515 | 0.8822 | 0.8666 | 0.9782 |
|
79 |
+
| 0.0608 | 2.0 | 1082 | 0.0855 | 0.8990 | 0.9083 | 0.9036 | 0.9837 |
|
80 |
+
| 0.0411 | 3.0 | 1623 | 0.1006 | 0.9078 | 0.9103 | 0.9090 | 0.9837 |
|
81 |
+
| 0.0266 | 4.0 | 2164 | 0.1052 | 0.9023 | 0.9163 | 0.9092 | 0.9828 |
|
82 |
+
| 0.0191 | 5.0 | 2705 | 0.1060 | 0.9112 | 0.9183 | 0.9147 | 0.9847 |
|
83 |
+
| 0.0153 | 6.0 | 3246 | 0.1152 | 0.9052 | 0.9098 | 0.9075 | 0.9831 |
|
84 |
+
| 0.0124 | 7.0 | 3787 | 0.1209 | 0.9029 | 0.9185 | 0.9107 | 0.9835 |
|
85 |
+
| 0.0083 | 8.0 | 4328 | 0.1176 | 0.9072 | 0.9163 | 0.9117 | 0.9844 |
|
86 |
+
| 0.0077 | 9.0 | 4869 | 0.1240 | 0.9080 | 0.9201 | 0.9140 | 0.9844 |
|
87 |
+
| 0.0051 | 10.0 | 5410 | 0.1246 | 0.9119 | 0.9153 | 0.9136 | 0.9842 |
|
88 |
+
|
89 |
+
|
90 |
+
### Framework versions
|
91 |
+
|
92 |
+
- Transformers 4.20.1
|
93 |
+
- Pytorch 1.12.0+cu113
|
94 |
+
- Datasets 2.3.2
|
95 |
+
- Tokenizers 0.12.1
|