Salmamoori commited on
Commit
a75f770
1 Parent(s): 85580ef

End of training

Browse files
Files changed (2) hide show
  1. README.md +82 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: bert-base-uncased
4
+ tags:
5
+ - Language
6
+ - toxic-comment
7
+ - Bert
8
+ - PyTorch
9
+ - Trainer
10
+ - F1Score
11
+ - HuggingFaceHub
12
+ - generated_from_trainer
13
+ metrics:
14
+ - accuracy
15
+ - recall
16
+ - precision
17
+ - f1
18
+ model-index:
19
+ - name: Bert-finetuned-toxic-comment-classification-v2
20
+ results: []
21
+ ---
22
+
23
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
24
+ should probably proofread and complete it, then remove this comment. -->
25
+
26
+ # Bert-finetuned-toxic-comment-classification-v2
27
+
28
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the toxic-comment-classification dataset.
29
+ It achieves the following results on the evaluation set:
30
+ - Loss: 0.1438
31
+ - Accuracy: 0.965
32
+ - Recall: 0.7143
33
+ - Precision: 0.9375
34
+ - F1: 0.8108
35
+
36
+ ## Model description
37
+
38
+ More information needed
39
+
40
+ ## Intended uses & limitations
41
+
42
+ More information needed
43
+
44
+ ## Training and evaluation data
45
+
46
+ More information needed
47
+
48
+ ## Training procedure
49
+
50
+ ### Training hyperparameters
51
+
52
+ The following hyperparameters were used during training:
53
+ - learning_rate: 6e-05
54
+ - train_batch_size: 8
55
+ - eval_batch_size: 8
56
+ - seed: 42
57
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
58
+ - lr_scheduler_type: linear
59
+ - num_epochs: 10
60
+
61
+ ### Training results
62
+
63
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Recall | Precision | F1 |
64
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
65
+ | 0.2792 | 1.0 | 100 | 0.2226 | 0.96 | 0.6190 | 1.0 | 0.7647 |
66
+ | 0.154 | 2.0 | 200 | 0.1438 | 0.965 | 0.7143 | 0.9375 | 0.8108 |
67
+ | 0.0488 | 3.0 | 300 | 0.2012 | 0.965 | 0.9524 | 0.7692 | 0.8511 |
68
+ | 0.015 | 4.0 | 400 | 0.2588 | 0.955 | 0.7143 | 0.8333 | 0.7692 |
69
+ | 0.0035 | 5.0 | 500 | 0.2444 | 0.965 | 0.7619 | 0.8889 | 0.8205 |
70
+ | 0.0001 | 6.0 | 600 | 0.2524 | 0.965 | 0.7619 | 0.8889 | 0.8205 |
71
+ | 0.0001 | 7.0 | 700 | 0.2580 | 0.965 | 0.7619 | 0.8889 | 0.8205 |
72
+ | 0.0001 | 8.0 | 800 | 0.2621 | 0.965 | 0.7619 | 0.8889 | 0.8205 |
73
+ | 0.0001 | 9.0 | 900 | 0.2646 | 0.965 | 0.7619 | 0.8889 | 0.8205 |
74
+ | 0.0001 | 10.0 | 1000 | 0.2654 | 0.965 | 0.7619 | 0.8889 | 0.8205 |
75
+
76
+
77
+ ### Framework versions
78
+
79
+ - Transformers 4.41.2
80
+ - Pytorch 2.3.1+cu121
81
+ - Datasets 2.20.0
82
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c64c2d85cb4e8a271a9d929e178ed2814cdfcfe6bfd17c7ec7160ce74e552271
3
  size 437958648
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50ac543ecbeb0be98bed15a79b4f09f8fc1e627009758d4c5dcb7eb5daa5dac5
3
  size 437958648