muhtasham commited on
Commit
ce85167
·
1 Parent(s): 0415b55

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +85 -0
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - imdb
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ model-index:
11
+ - name: finetuned-mlm_medium
12
+ results:
13
+ - task:
14
+ name: Text Classification
15
+ type: text-classification
16
+ dataset:
17
+ name: imdb
18
+ type: imdb
19
+ config: plain_text
20
+ split: train
21
+ args: plain_text
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.95416
26
+ - name: F1
27
+ type: f1
28
+ value: 0.976542350677529
29
+ ---
30
+
31
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
32
+ should probably proofread and complete it, then remove this comment. -->
33
+
34
+ # finetuned-mlm_medium
35
+
36
+ This model is a fine-tuned version of [muhtasham/bert-medium-mlm-finetuned-emotion](https://huggingface.co/muhtasham/bert-medium-mlm-finetuned-emotion) on the imdb dataset.
37
+ It achieves the following results on the evaluation set:
38
+ - Loss: 0.2805
39
+ - Accuracy: 0.9542
40
+ - F1: 0.9765
41
+
42
+ ## Model description
43
+
44
+ More information needed
45
+
46
+ ## Intended uses & limitations
47
+
48
+ More information needed
49
+
50
+ ## Training and evaluation data
51
+
52
+ More information needed
53
+
54
+ ## Training procedure
55
+
56
+ ### Training hyperparameters
57
+
58
+ The following hyperparameters were used during training:
59
+ - learning_rate: 3e-05
60
+ - train_batch_size: 128
61
+ - eval_batch_size: 128
62
+ - seed: 42
63
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
64
+ - lr_scheduler_type: constant
65
+ - num_epochs: 200
66
+
67
+ ### Training results
68
+
69
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
70
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
71
+ | 0.2318 | 2.55 | 500 | 0.1428 | 0.9512 | 0.9750 |
72
+ | 0.0777 | 5.1 | 1000 | 0.1976 | 0.9513 | 0.9750 |
73
+ | 0.0362 | 7.65 | 1500 | 0.2704 | 0.9388 | 0.9684 |
74
+ | 0.0234 | 10.2 | 2000 | 0.2245 | 0.9578 | 0.9784 |
75
+ | 0.0181 | 12.76 | 2500 | 0.3703 | 0.9310 | 0.9643 |
76
+ | 0.0158 | 15.31 | 3000 | 0.6137 | 0.9001 | 0.9474 |
77
+ | 0.013 | 17.86 | 3500 | 0.2805 | 0.9542 | 0.9765 |
78
+
79
+
80
+ ### Framework versions
81
+
82
+ - Transformers 4.25.1
83
+ - Pytorch 1.12.1+cu113
84
+ - Datasets 2.7.1
85
+ - Tokenizers 0.13.2