Commit
·
1dadbca
1
Parent(s):
1f36a8c
Model save
Browse files- README.md +73 -0
- pytorch_model.bin +1 -1
README.md
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: roberta-large
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: roberta-large-hate-offensive-normal-speech-lr-2e-05
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# roberta-large-hate-offensive-normal-speech-lr-2e-05
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [roberta-large](https://huggingface.co/roberta-large) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.0293
|
21 |
+
- Accuracy: 0.9837
|
22 |
+
- Weighted f1: 0.9837
|
23 |
+
- Weighted recall: 0.9837
|
24 |
+
- Weighted precision: 0.9839
|
25 |
+
- Micro f1: 0.9837
|
26 |
+
- Micro recall: 0.9837
|
27 |
+
- Micro precision: 0.9837
|
28 |
+
- Macro f1: 0.9832
|
29 |
+
- Macro recall: 0.9821
|
30 |
+
- Macro precision: 0.9845
|
31 |
+
|
32 |
+
## Model description
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Intended uses & limitations
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training and evaluation data
|
41 |
+
|
42 |
+
More information needed
|
43 |
+
|
44 |
+
## Training procedure
|
45 |
+
|
46 |
+
### Training hyperparameters
|
47 |
+
|
48 |
+
The following hyperparameters were used during training:
|
49 |
+
- learning_rate: 2e-05
|
50 |
+
- train_batch_size: 16
|
51 |
+
- eval_batch_size: 16
|
52 |
+
- seed: 42
|
53 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
54 |
+
- lr_scheduler_type: linear
|
55 |
+
- num_epochs: 5
|
56 |
+
|
57 |
+
### Training results
|
58 |
+
|
59 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Weighted f1 | Weighted recall | Weighted precision | Micro f1 | Micro recall | Micro precision | Macro f1 | Macro recall | Macro precision |
|
60 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:-----------:|:---------------:|:------------------:|:--------:|:------------:|:---------------:|:--------:|:------------:|:---------------:|
|
61 |
+
| 0.5253 | 1.0 | 153 | 0.1270 | 0.9642 | 0.9647 | 0.9642 | 0.9681 | 0.9642 | 0.9642 | 0.9642 | 0.9633 | 0.9662 | 0.9633 |
|
62 |
+
| 0.0921 | 2.0 | 306 | 0.0878 | 0.9805 | 0.9805 | 0.9805 | 0.9807 | 0.9805 | 0.9805 | 0.9805 | 0.9803 | 0.9791 | 0.9818 |
|
63 |
+
| 0.0413 | 3.0 | 459 | 0.0590 | 0.9870 | 0.9870 | 0.9870 | 0.9875 | 0.9870 | 0.9870 | 0.9870 | 0.9860 | 0.9869 | 0.9857 |
|
64 |
+
| 0.0261 | 4.0 | 612 | 0.0523 | 0.9902 | 0.9902 | 0.9902 | 0.9904 | 0.9902 | 0.9902 | 0.9902 | 0.9896 | 0.9896 | 0.9900 |
|
65 |
+
| 0.012 | 5.0 | 765 | 0.0293 | 0.9837 | 0.9837 | 0.9837 | 0.9839 | 0.9837 | 0.9837 | 0.9837 | 0.9832 | 0.9821 | 0.9845 |
|
66 |
+
|
67 |
+
|
68 |
+
### Framework versions
|
69 |
+
|
70 |
+
- Transformers 4.34.0.dev0
|
71 |
+
- Pytorch 2.0.1+cu118
|
72 |
+
- Datasets 2.14.6.dev0
|
73 |
+
- Tokenizers 0.13.3
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1421586865
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3b6213a65a72db823f5c6f917d580bd15df9f92f9c2efd9348cf3cf26b155a85
|
3 |
size 1421586865
|