Arvnd03 commited on
Commit
72eac62
1 Parent(s): 56ecf14

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +73 -0
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ - f1
8
+ model-index:
9
+ - name: Hate-Speech-Detection-mpnet-basev2
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
+ # Hate-Speech-Detection-mpnet-basev2
17
+
18
+ This model is a fine-tuned version of [sentence-transformers/all-mpnet-base-v2](https://huggingface.co/sentence-transformers/all-mpnet-base-v2) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.1518
21
+ - Accuracy: 0.9809
22
+ - F1: 0.9778
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 2e-05
42
+ - train_batch_size: 16
43
+ - eval_batch_size: 16
44
+ - seed: 42
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: linear
47
+ - num_epochs: 15
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
52
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|
53
+ | 0.0866 | 1.0 | 2558 | 0.0748 | 0.9778 | 0.9742 |
54
+ | 0.0634 | 2.0 | 5116 | 0.1144 | 0.9751 | 0.9704 |
55
+ | 0.031 | 3.0 | 7674 | 0.1222 | 0.9799 | 0.9765 |
56
+ | 0.0301 | 4.0 | 10232 | 0.1427 | 0.9735 | 0.9696 |
57
+ | 0.01 | 5.0 | 12790 | 0.1413 | 0.9806 | 0.9773 |
58
+ | 0.0133 | 6.0 | 15348 | 0.1543 | 0.9801 | 0.9767 |
59
+ | 0.0086 | 7.0 | 17906 | 0.1672 | 0.9798 | 0.9766 |
60
+ | 0.0059 | 8.0 | 20464 | 0.1518 | 0.9809 | 0.9778 |
61
+ | 0.002 | 9.0 | 23022 | 0.1726 | 0.9782 | 0.9747 |
62
+ | 0.0034 | 10.0 | 25580 | 0.1799 | 0.9798 | 0.9764 |
63
+ | 0.001 | 11.0 | 28138 | 0.2018 | 0.9785 | 0.9750 |
64
+ | 0.0004 | 12.0 | 30696 | 0.1957 | 0.9794 | 0.9759 |
65
+ | 0.0008 | 13.0 | 33254 | 0.2166 | 0.9788 | 0.9754 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - Transformers 4.26.1
71
+ - Pytorch 2.0.1
72
+ - Datasets 2.10.1
73
+ - Tokenizers 0.13.3