Commit
·
a716277
1
Parent(s):
0210d7c
Model save
Browse files- README.md +72 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: BSC-LT/roberta-base-bne
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: fine-tunning-roberta-bne-hate-offensive
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# fine-tunning-roberta-bne-hate-offensive
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [BSC-LT/roberta-base-bne](https://huggingface.co/BSC-LT/roberta-base-bne) on the None dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.6211
|
19 |
+
- Hate/offensive F1: 0.8958
|
20 |
+
- Hate/offensive Precision: 0.9421
|
21 |
+
- Hate/offensive Recall: 0.8539
|
22 |
+
- Normal F1: 0.9519
|
23 |
+
- Normal Precision: 0.9308
|
24 |
+
- Normal Recall: 0.9740
|
25 |
+
- Micro F1: 0.9342
|
26 |
+
- Acc: 0.9342
|
27 |
+
- Macro F1: 0.9239
|
28 |
+
- Macro Precision: 0.9364
|
29 |
+
- Macro Recall: 0.9139
|
30 |
+
|
31 |
+
## Model description
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Intended uses & limitations
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training and evaluation data
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Training procedure
|
44 |
+
|
45 |
+
### Training hyperparameters
|
46 |
+
|
47 |
+
The following hyperparameters were used during training:
|
48 |
+
- learning_rate: 2e-05
|
49 |
+
- train_batch_size: 8
|
50 |
+
- eval_batch_size: 8
|
51 |
+
- seed: 42
|
52 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
53 |
+
- lr_scheduler_type: linear
|
54 |
+
- num_epochs: 5
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss | Hate/offensive F1 | Hate/offensive Precision | Hate/offensive Recall | Normal F1 | Normal Precision | Normal Recall | Micro F1 | Acc | Macro F1 | Macro Precision | Macro Recall |
|
59 |
+
|:-------------:|:-----:|:----:|:---------------:|:-----------------:|:------------------------:|:---------------------:|:---------:|:----------------:|:-------------:|:--------:|:------:|:--------:|:---------------:|:------------:|
|
60 |
+
| 0.2865 | 1.0 | 1064 | 0.3398 | 0.8953 | 0.9324 | 0.8610 | 0.9510 | 0.9336 | 0.9691 | 0.9332 | 0.9332 | 0.9231 | 0.9330 | 0.9150 |
|
61 |
+
| 0.1527 | 2.0 | 2128 | 0.3417 | 0.8942 | 0.9204 | 0.8695 | 0.9497 | 0.9370 | 0.9627 | 0.9318 | 0.9318 | 0.9220 | 0.9287 | 0.9161 |
|
62 |
+
| 0.047 | 3.0 | 3192 | 0.5626 | 0.8914 | 0.9668 | 0.8270 | 0.9518 | 0.9199 | 0.9859 | 0.9332 | 0.9332 | 0.9216 | 0.9434 | 0.9064 |
|
63 |
+
| 0.0145 | 4.0 | 4256 | 0.5874 | 0.8986 | 0.9396 | 0.8610 | 0.9528 | 0.9338 | 0.9726 | 0.9356 | 0.9356 | 0.9257 | 0.9367 | 0.9168 |
|
64 |
+
| 0.0029 | 5.0 | 5320 | 0.6211 | 0.8958 | 0.9421 | 0.8539 | 0.9519 | 0.9308 | 0.9740 | 0.9342 | 0.9342 | 0.9239 | 0.9364 | 0.9139 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- Transformers 4.35.2
|
70 |
+
- Pytorch 2.1.0+cu118
|
71 |
+
- Datasets 2.15.0
|
72 |
+
- Tokenizers 0.15.0
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 498603608
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:618b7663d304c8ffbda94ead2f613c0fa66dd9d2fed86f67b97e57ef75610a5b
|
3 |
size 498603608
|