DrishtiSharma commited on
Commit
87a0484
1 Parent(s): 4d82aad

Model save

Browse files
Files changed (2) hide show
  1. README.md +73 -0
  2. pytorch_model.bin +1 -1
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: bert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: bert-base-uncased-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
+ # bert-base-uncased-hate-offensive-normal-speech-lr-2e-05
17
+
18
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.0164
21
+ - Accuracy: 0.9935
22
+ - Weighted f1: 0.9935
23
+ - Weighted recall: 0.9935
24
+ - Weighted precision: 0.9935
25
+ - Micro f1: 0.9935
26
+ - Micro recall: 0.9935
27
+ - Micro precision: 0.9935
28
+ - Macro f1: 0.9933
29
+ - Macro recall: 0.9931
30
+ - Macro precision: 0.9936
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.6115 | 1.0 | 153 | 0.0883 | 0.9739 | 0.9742 | 0.9739 | 0.9753 | 0.9739 | 0.9739 | 0.9739 | 0.9729 | 0.9749 | 0.9719 |
62
+ | 0.0759 | 2.0 | 306 | 0.0295 | 0.9935 | 0.9935 | 0.9935 | 0.9936 | 0.9935 | 0.9935 | 0.9935 | 0.9932 | 0.9938 | 0.9927 |
63
+ | 0.0279 | 3.0 | 459 | 0.0277 | 0.9870 | 0.9870 | 0.9870 | 0.9875 | 0.9870 | 0.9870 | 0.9870 | 0.9860 | 0.9869 | 0.9857 |
64
+ | 0.0207 | 4.0 | 612 | 0.0266 | 0.9935 | 0.9935 | 0.9935 | 0.9935 | 0.9935 | 0.9935 | 0.9935 | 0.9933 | 0.9931 | 0.9936 |
65
+ | 0.0099 | 5.0 | 765 | 0.0164 | 0.9935 | 0.9935 | 0.9935 | 0.9935 | 0.9935 | 0.9935 | 0.9935 | 0.9933 | 0.9931 | 0.9936 |
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:0a17ed73026bbab2b15f8a80571a0a331ef3d9fa955ba2d7bdacbe24fbd9d111
3
  size 438006577
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e51e26a83ad4edbb86c35f3f10bcd94d100c2d5bc0666ef8f135a45bd0400ef
3
  size 438006577