alanwang8 commited on
Commit
9e1ca1b
1 Parent(s): 3d80a4b

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +75 -0
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ datasets:
5
+ - glue
6
+ metrics:
7
+ - matthews_correlation
8
+ model-index:
9
+ - name: longformer-base-4096-finetuned-cola
10
+ results:
11
+ - task:
12
+ name: Text Classification
13
+ type: text-classification
14
+ dataset:
15
+ name: glue
16
+ type: glue
17
+ args: cola
18
+ metrics:
19
+ - name: Matthews Correlation
20
+ type: matthews_correlation
21
+ value: 0.6088262979015748
22
+ ---
23
+
24
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
25
+ should probably proofread and complete it, then remove this comment. -->
26
+
27
+ # longformer-base-4096-finetuned-cola
28
+
29
+ This model is a fine-tuned version of [allenai/longformer-base-4096](https://huggingface.co/allenai/longformer-base-4096) on the glue dataset.
30
+ It achieves the following results on the evaluation set:
31
+ - Loss: 0.5601
32
+ - Matthews Correlation: 0.6088
33
+
34
+ ## Model description
35
+
36
+ More information needed
37
+
38
+ ## Intended uses & limitations
39
+
40
+ More information needed
41
+
42
+ ## Training and evaluation data
43
+
44
+ More information needed
45
+
46
+ ## Training procedure
47
+
48
+ ### Training hyperparameters
49
+
50
+ The following hyperparameters were used during training:
51
+ - learning_rate: 2e-05
52
+ - train_batch_size: 32
53
+ - eval_batch_size: 32
54
+ - seed: 42
55
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
56
+ - lr_scheduler_type: linear
57
+ - num_epochs: 5
58
+
59
+ ### Training results
60
+
61
+ | Training Loss | Epoch | Step | Validation Loss | Matthews Correlation |
62
+ |:-------------:|:-----:|:----:|:---------------:|:--------------------:|
63
+ | No log | 1.0 | 268 | 0.5854 | 0.4865 |
64
+ | 0.4087 | 2.0 | 536 | 0.4939 | 0.5495 |
65
+ | 0.4087 | 3.0 | 804 | 0.6292 | 0.5687 |
66
+ | 0.1978 | 4.0 | 1072 | 0.5601 | 0.6088 |
67
+ | 0.1978 | 5.0 | 1340 | 0.6785 | 0.5931 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - Transformers 4.20.1
73
+ - Pytorch 1.12.0+cu102
74
+ - Datasets 2.3.2
75
+ - Tokenizers 0.12.1