tianyisun commited on
Commit
2adf8a4
·
1 Parent(s): 4d33df4

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +77 -0
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ datasets:
5
+ - glue
6
+ metrics:
7
+ - matthews_correlation
8
+ model-index:
9
+ - name: gpt2-finetuned-cola
10
+ results:
11
+ - task:
12
+ name: Text Classification
13
+ type: text-classification
14
+ dataset:
15
+ name: glue
16
+ type: glue
17
+ config: cola
18
+ split: train
19
+ args: cola
20
+ metrics:
21
+ - name: Matthews Correlation
22
+ type: matthews_correlation
23
+ value: 0.43512191500404157
24
+ ---
25
+
26
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
27
+ should probably proofread and complete it, then remove this comment. -->
28
+
29
+ # gpt2-finetuned-cola
30
+
31
+ This model is a fine-tuned version of [microsoft/DialogRPT-updown](https://huggingface.co/microsoft/DialogRPT-updown) on the glue dataset.
32
+ It achieves the following results on the evaluation set:
33
+ - Loss: 0.9720
34
+ - Matthews Correlation: 0.4351
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: 2e-05
54
+ - train_batch_size: 16
55
+ - eval_batch_size: 16
56
+ - seed: 42
57
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
58
+ - lr_scheduler_type: linear
59
+ - num_epochs: 5
60
+
61
+ ### Training results
62
+
63
+ | Training Loss | Epoch | Step | Validation Loss | Matthews Correlation |
64
+ |:-------------:|:-----:|:----:|:---------------:|:--------------------:|
65
+ | 0.5599 | 1.0 | 535 | 0.5520 | 0.3379 |
66
+ | 0.4011 | 2.0 | 1070 | 0.5644 | 0.4304 |
67
+ | 0.284 | 3.0 | 1605 | 0.6289 | 0.4232 |
68
+ | 0.2214 | 4.0 | 2140 | 0.8217 | 0.4320 |
69
+ | 0.1779 | 5.0 | 2675 | 0.9720 | 0.4351 |
70
+
71
+
72
+ ### Framework versions
73
+
74
+ - Transformers 4.22.0.dev0
75
+ - Pytorch 1.12.1
76
+ - Datasets 2.4.0
77
+ - Tokenizers 0.11.0