aaronayitey commited on
Commit
027932f
1 Parent(s): e2436db

aaronayitey/Sentiment-classfication-distilBERT-model

Browse files
README.md ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: bert-base-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: Sentiment-classfication-distilBERT-model
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
+ # Sentiment-classfication-distilBERT-model
17
+
18
+ This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.3217
21
+ - Accuracy: 0.9301
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 5e-05
41
+ - train_batch_size: 8
42
+ - eval_batch_size: 8
43
+ - seed: 42
44
+ - gradient_accumulation_steps: 2
45
+ - total_train_batch_size: 16
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - lr_scheduler_warmup_steps: 500
49
+ - num_epochs: 4
50
+ - mixed_precision_training: Native AMP
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
55
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
56
+ | 1.11 | 0.14 | 100 | 1.0458 | 0.4603 |
57
+ | 0.9647 | 0.27 | 200 | 0.9241 | 0.5743 |
58
+ | 0.8498 | 0.41 | 300 | 0.7957 | 0.6365 |
59
+ | 0.7436 | 0.54 | 400 | 0.7044 | 0.7043 |
60
+ | 0.683 | 0.68 | 500 | 0.7109 | 0.7040 |
61
+ | 0.6407 | 0.81 | 600 | 0.5602 | 0.7872 |
62
+ | 0.5388 | 0.95 | 700 | 0.5073 | 0.8031 |
63
+ | 0.449 | 1.09 | 800 | 0.4736 | 0.8316 |
64
+ | 0.4136 | 1.22 | 900 | 0.5387 | 0.8147 |
65
+ | 0.3329 | 1.36 | 1000 | 0.4277 | 0.8615 |
66
+ | 0.3405 | 1.49 | 1100 | 0.3667 | 0.8730 |
67
+ | 0.2806 | 1.63 | 1200 | 0.3420 | 0.8832 |
68
+ | 0.2648 | 1.77 | 1300 | 0.3437 | 0.8975 |
69
+ | 0.2912 | 1.9 | 1400 | 0.3503 | 0.8914 |
70
+ | 0.2109 | 2.04 | 1500 | 0.3268 | 0.9182 |
71
+ | 0.1267 | 2.17 | 1600 | 0.3676 | 0.9182 |
72
+ | 0.0931 | 2.31 | 1700 | 0.3635 | 0.9250 |
73
+ | 0.1447 | 2.44 | 1800 | 0.3144 | 0.9233 |
74
+ | 0.0979 | 2.58 | 1900 | 0.3197 | 0.9301 |
75
+ | 0.1156 | 2.72 | 2000 | 0.3217 | 0.9301 |
76
+ | 0.0922 | 2.85 | 2100 | 0.3323 | 0.9294 |
77
+ | 0.1094 | 2.99 | 2200 | 0.2976 | 0.9304 |
78
+ | 0.0667 | 3.12 | 2300 | 0.3554 | 0.9318 |
79
+ | 0.0479 | 3.26 | 2400 | 0.3648 | 0.9318 |
80
+ | 0.0427 | 3.39 | 2500 | 0.3615 | 0.9331 |
81
+ | 0.0499 | 3.53 | 2600 | 0.3251 | 0.9389 |
82
+ | 0.0381 | 3.67 | 2700 | 0.3391 | 0.9362 |
83
+ | 0.0498 | 3.8 | 2800 | 0.3350 | 0.9365 |
84
+ | 0.0565 | 3.94 | 2900 | 0.3331 | 0.9375 |
85
+
86
+
87
+ ### Framework versions
88
+
89
+ - Transformers 4.35.0
90
+ - Pytorch 2.1.0+cu118
91
+ - Datasets 2.14.6
92
+ - Tokenizers 0.14.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1e99f60e3b6c2dc3ecf95d8df88b869d4a786d6851201d97bc4d498aa8d0edc9
3
  size 433273844
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91dc12a9fc27cbdf4d0c37bada690527f40de07fb2ae63fdd35540a61cea4128
3
  size 433273844
runs/Nov11_14-24-10_3ba031132519/events.out.tfevents.1699712703.3ba031132519.312.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a8c067eeafc3ec9ba1d5a27def6ff8d106c7dd1a2ad7af17fe213685cb3a82e0
3
- size 16375
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a2767bddd1044bcfc4415e00f5cba4fd7dc476dd9e76c7dd5a0e0ff39fde4fc
3
+ size 18649
runs/Nov11_14-24-10_3ba031132519/events.out.tfevents.1699715598.3ba031132519.312.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d54d8f8ca5f37ecb4f3dbd23d3e741b98d5215eab26a93e67d97b7d4268f7b7
3
+ size 411