update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- harem
|
7 |
+
metrics:
|
8 |
+
- precision
|
9 |
+
- recall
|
10 |
+
- f1
|
11 |
+
- accuracy
|
12 |
+
model-index:
|
13 |
+
- name: bert-base-portuguese-cased_harem-selective-lowC-sm-first-ner
|
14 |
+
results:
|
15 |
+
- task:
|
16 |
+
name: Token Classification
|
17 |
+
type: token-classification
|
18 |
+
dataset:
|
19 |
+
name: harem
|
20 |
+
type: harem
|
21 |
+
args: selective
|
22 |
+
metrics:
|
23 |
+
- name: Precision
|
24 |
+
type: precision
|
25 |
+
value: 0.8
|
26 |
+
- name: Recall
|
27 |
+
type: recall
|
28 |
+
value: 0.8764044943820225
|
29 |
+
- name: F1
|
30 |
+
type: f1
|
31 |
+
value: 0.8364611260053619
|
32 |
+
- name: Accuracy
|
33 |
+
type: accuracy
|
34 |
+
value: 0.9764089121887287
|
35 |
+
---
|
36 |
+
|
37 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
38 |
+
should probably proofread and complete it, then remove this comment. -->
|
39 |
+
|
40 |
+
# bert-base-portuguese-cased_harem-selective-lowC-sm-first-ner
|
41 |
+
|
42 |
+
This model is a fine-tuned version of [neuralmind/bert-base-portuguese-cased](https://huggingface.co/neuralmind/bert-base-portuguese-cased) on the harem dataset.
|
43 |
+
It achieves the following results on the evaluation set:
|
44 |
+
- Loss: 0.1160
|
45 |
+
- Precision: 0.8
|
46 |
+
- Recall: 0.8764
|
47 |
+
- F1: 0.8365
|
48 |
+
- Accuracy: 0.9764
|
49 |
+
|
50 |
+
## Model description
|
51 |
+
|
52 |
+
More information needed
|
53 |
+
|
54 |
+
## Intended uses & limitations
|
55 |
+
|
56 |
+
More information needed
|
57 |
+
|
58 |
+
## Training and evaluation data
|
59 |
+
|
60 |
+
More information needed
|
61 |
+
|
62 |
+
## Training procedure
|
63 |
+
|
64 |
+
### Training hyperparameters
|
65 |
+
|
66 |
+
The following hyperparameters were used during training:
|
67 |
+
- learning_rate: 2e-05
|
68 |
+
- train_batch_size: 2
|
69 |
+
- eval_batch_size: 2
|
70 |
+
- seed: 42
|
71 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
72 |
+
- lr_scheduler_type: linear
|
73 |
+
- lr_scheduler_warmup_ratio: 0.1
|
74 |
+
- num_epochs: 3
|
75 |
+
|
76 |
+
### Training results
|
77 |
+
|
78 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
79 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
80 |
+
| 0.055 | 1.0 | 2517 | 0.0934 | 0.81 | 0.9101 | 0.8571 | 0.9699 |
|
81 |
+
| 0.0236 | 2.0 | 5034 | 0.0883 | 0.8307 | 0.8820 | 0.8556 | 0.9751 |
|
82 |
+
| 0.0129 | 3.0 | 7551 | 0.1160 | 0.8 | 0.8764 | 0.8365 | 0.9764 |
|
83 |
+
|
84 |
+
|
85 |
+
### Framework versions
|
86 |
+
|
87 |
+
- Transformers 4.18.0
|
88 |
+
- Pytorch 1.10.2+cu102
|
89 |
+
- Datasets 2.2.2
|
90 |
+
- Tokenizers 0.12.1
|