Zynab commited on
Commit
1eecc6a
1 Parent(s): 97f42a1

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +82 -0
README.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: bert-base-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - glue
8
+ metrics:
9
+ - accuracy
10
+ - f1
11
+ model-index:
12
+ - name: finetuned-bert-mrpc
13
+ results:
14
+ - task:
15
+ name: Text Classification
16
+ type: text-classification
17
+ dataset:
18
+ name: glue
19
+ type: glue
20
+ config: mrpc
21
+ split: validation
22
+ args: mrpc
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.8676470588235294
27
+ - name: F1
28
+ type: f1
29
+ value: 0.9065743944636677
30
+ ---
31
+
32
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
33
+ should probably proofread and complete it, then remove this comment. -->
34
+
35
+ # finetuned-bert-mrpc
36
+
37
+ This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on the glue dataset.
38
+ It achieves the following results on the evaluation set:
39
+ - Loss: 0.3874
40
+ - Accuracy: 0.8676
41
+ - F1: 0.9066
42
+
43
+ ## Model description
44
+
45
+ More information needed
46
+
47
+ ## Intended uses & limitations
48
+
49
+ More information needed
50
+
51
+ ## Training and evaluation data
52
+
53
+ More information needed
54
+
55
+ ## Training procedure
56
+
57
+ ### Training hyperparameters
58
+
59
+ The following hyperparameters were used during training:
60
+ - learning_rate: 2e-05
61
+ - train_batch_size: 16
62
+ - eval_batch_size: 16
63
+ - seed: 42
64
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
65
+ - lr_scheduler_type: linear
66
+ - num_epochs: 3.0
67
+
68
+ ### Training results
69
+
70
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
71
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
72
+ | 0.5751 | 1.0 | 230 | 0.3812 | 0.8284 | 0.8768 |
73
+ | 0.327 | 2.0 | 460 | 0.4207 | 0.8505 | 0.8992 |
74
+ | 0.176 | 3.0 | 690 | 0.3874 | 0.8676 | 0.9066 |
75
+
76
+
77
+ ### Framework versions
78
+
79
+ - Transformers 4.31.0
80
+ - Pytorch 2.1.0+cu118
81
+ - Datasets 2.14.6
82
+ - Tokenizers 0.13.3