DrishtiSharma
commited on
Commit
•
9e2effa
1
Parent(s):
28edfe3
Model save
Browse files- README.md +73 -0
- pytorch_model.bin +1 -1
README.md
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: bert-large-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: bert-large-uncased-hate-offensive-normal-speech-lr-1e-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 |
+
# bert-large-uncased-hate-offensive-normal-speech-lr-1e-05
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [bert-large-uncased](https://huggingface.co/bert-large-uncased) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.1013
|
21 |
+
- Accuracy: 0.9739
|
22 |
+
- Weighted f1: 0.9740
|
23 |
+
- Weighted recall: 0.9739
|
24 |
+
- Weighted precision: 0.9741
|
25 |
+
- Micro f1: 0.9739
|
26 |
+
- Micro recall: 0.9739
|
27 |
+
- Micro precision: 0.9739
|
28 |
+
- Macro f1: 0.9720
|
29 |
+
- Macro recall: 0.9719
|
30 |
+
- Macro precision: 0.9723
|
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: 1e-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.9139 | 1.0 | 153 | 0.4854 | 0.8111 | 0.8086 | 0.8111 | 0.8125 | 0.8111 | 0.8111 | 0.8111 | 0.7947 | 0.7932 | 0.8030 |
|
62 |
+
| 0.2278 | 2.0 | 306 | 0.0775 | 0.9674 | 0.9675 | 0.9674 | 0.9683 | 0.9674 | 0.9674 | 0.9674 | 0.9652 | 0.9657 | 0.9655 |
|
63 |
+
| 0.0582 | 3.0 | 459 | 0.1007 | 0.9772 | 0.9773 | 0.9772 | 0.9782 | 0.9772 | 0.9772 | 0.9772 | 0.9757 | 0.9754 | 0.9769 |
|
64 |
+
| 0.0228 | 4.0 | 612 | 0.0727 | 0.9772 | 0.9772 | 0.9772 | 0.9773 | 0.9772 | 0.9772 | 0.9772 | 0.9756 | 0.9755 | 0.9757 |
|
65 |
+
| 0.0159 | 5.0 | 765 | 0.1013 | 0.9739 | 0.9740 | 0.9739 | 0.9741 | 0.9739 | 0.9739 | 0.9739 | 0.9720 | 0.9719 | 0.9723 |
|
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 1340714289
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ad53d750cbd615389c557b67bb35a11c56b06b812d957b576caf67eec09ab3fb
|
3 |
size 1340714289
|