End of training
Browse files
README.md
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: google-bert/bert-base-multilingual-cased
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
datasets:
|
8 |
+
- told-br
|
9 |
+
metrics:
|
10 |
+
- precision
|
11 |
+
- recall
|
12 |
+
- accuracy
|
13 |
+
- f1
|
14 |
+
model-index:
|
15 |
+
- name: bert-base-multilingual-cased-finetuned-hate-speech-ptbr
|
16 |
+
results:
|
17 |
+
- task:
|
18 |
+
name: Text Classification
|
19 |
+
type: text-classification
|
20 |
+
dataset:
|
21 |
+
name: told-br
|
22 |
+
type: told-br
|
23 |
+
config: binary
|
24 |
+
split: validation
|
25 |
+
args: binary
|
26 |
+
metrics:
|
27 |
+
- name: Precision
|
28 |
+
type: precision
|
29 |
+
value: 0.702020202020202
|
30 |
+
- name: Recall
|
31 |
+
type: recall
|
32 |
+
value: 0.7654185022026432
|
33 |
+
- name: Accuracy
|
34 |
+
type: accuracy
|
35 |
+
value: 0.758095238095238
|
36 |
+
- name: F1
|
37 |
+
type: f1
|
38 |
+
value: 0.7590123199739615
|
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-multilingual-cased-finetuned-hate-speech-ptbr
|
45 |
+
|
46 |
+
This model is a fine-tuned version of [google-bert/bert-base-multilingual-cased](https://huggingface.co/google-bert/bert-base-multilingual-cased) on the told-br dataset.
|
47 |
+
It achieves the following results on the evaluation set:
|
48 |
+
- Loss: 0.6224
|
49 |
+
- Precision: 0.7020
|
50 |
+
- Recall: 0.7654
|
51 |
+
- Accuracy: 0.7581
|
52 |
+
- F1: 0.7590
|
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: 5
|
78 |
+
|
79 |
+
### Training results
|
80 |
+
|
81 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | Accuracy | F1 |
|
82 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:--------:|:------:|
|
83 |
+
| 0.5127 | 1.0 | 1050 | 0.4978 | 0.6500 | 0.8756 | 0.7424 | 0.7418 |
|
84 |
+
| 0.4415 | 2.0 | 2100 | 0.5206 | 0.7143 | 0.7104 | 0.7519 | 0.7518 |
|
85 |
+
| 0.3623 | 3.0 | 3150 | 0.6204 | 0.6747 | 0.8293 | 0.7533 | 0.7542 |
|
86 |
+
| 0.283 | 4.0 | 4200 | 0.6224 | 0.7020 | 0.7654 | 0.7581 | 0.7590 |
|
87 |
+
| 0.2196 | 5.0 | 5250 | 0.7572 | 0.6954 | 0.7742 | 0.7557 | 0.7568 |
|
88 |
+
|
89 |
+
|
90 |
+
### Framework versions
|
91 |
+
|
92 |
+
- Transformers 4.46.3
|
93 |
+
- Pytorch 2.5.1+cu121
|
94 |
+
- Datasets 3.1.0
|
95 |
+
- 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 711443456
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:495bcbc9463929cf0b70ef7b1dda8ca43e233a4e5b5da14eab7a5f31746c122c
|
3 |
size 711443456
|
runs/Dec10_02-42-38_1644957f1651/events.out.tfevents.1733798572.1644957f1651.72393.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:9d4c98e65933e7790d6d0f74b459c45c7247fa0ac9b9d81c9e0bc4a44f3a7d58
|
3 |
+
size 10206
|
runs/Dec10_02-42-38_1644957f1651/events.out.tfevents.1733799759.1644957f1651.72393.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:72a7c6b468d34c36b2b3f60e8d7c3c729979096dd1d0b243f6fef325f7806908
|
3 |
+
size 560
|