jap2 commited on
Commit
04bfa97
·
1 Parent(s): 4753268

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +89 -0
README.md CHANGED
@@ -1,3 +1,92 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - glue
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ - precision
11
+ - recall
12
+ model-index:
13
+ - name: bert-base-sst-2
14
+ results:
15
+ - task:
16
+ name: Text Classification
17
+ type: text-classification
18
+ dataset:
19
+ name: glue
20
+ type: glue
21
+ config: sst2
22
+ split: validation
23
+ args: sst2
24
+ metrics:
25
+ - name: Accuracy
26
+ type: accuracy
27
+ value: 0.9185779816513762
28
+ - name: F1
29
+ type: f1
30
+ value: 0.9184998453245223
31
+ - name: Precision
32
+ type: precision
33
+ value: 0.9189738319234722
34
+ - name: Recall
35
+ type: recall
36
+ value: 0.9183190199545339
37
  ---
38
+
39
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
40
+ should probably proofread and complete it, then remove this comment. -->
41
+
42
+ # bert-base-sst-2
43
+
44
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the glue dataset.
45
+ It achieves the following results on the evaluation set:
46
+ - Loss: 0.2150
47
+ - Accuracy: 0.9186
48
+ - F1: 0.9185
49
+ - Precision: 0.9190
50
+ - Recall: 0.9183
51
+
52
+ ## Model description
53
+
54
+ More information needed
55
+
56
+ ## Intended uses & limitations
57
+
58
+ More information needed
59
+
60
+ ## Training and evaluation data
61
+
62
+ More information needed
63
+
64
+ ## Training procedure
65
+
66
+ ### Training hyperparameters
67
+
68
+ The following hyperparameters were used during training:
69
+ - learning_rate: 0.0001
70
+ - train_batch_size: 160
71
+ - eval_batch_size: 160
72
+ - seed: 42
73
+ - gradient_accumulation_steps: 4
74
+ - total_train_batch_size: 640
75
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
76
+ - lr_scheduler_type: linear
77
+ - num_epochs: 1
78
+ - mixed_precision_training: Native AMP
79
+
80
+ ### Training results
81
+
82
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
83
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
84
+ | 0.2397 | 1.0 | 105 | 0.2150 | 0.9186 | 0.9185 | 0.9190 | 0.9183 |
85
+
86
+
87
+ ### Framework versions
88
+
89
+ - Transformers 4.28.1
90
+ - Pytorch 2.0.0+cu118
91
+ - Datasets 2.11.0
92
+ - Tokenizers 0.13.3