rwang5688 commited on
Commit
262a530
1 Parent(s): a820a29

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +41 -20
README.md CHANGED
@@ -1,23 +1,36 @@
1
  ---
2
  license: apache-2.0
3
  tags:
4
- - generated_from_keras_callback
 
 
 
 
5
  model-index:
6
- - name: rwang5688/distilbert-base-uncased-finetuned-cola
7
- results: []
 
 
 
 
 
 
 
 
 
 
 
8
  ---
9
 
10
- <!-- This model card has been generated automatically according to the information Keras had access to. You should
11
- probably proofread and complete it, then remove this comment. -->
12
 
13
- # rwang5688/distilbert-base-uncased-finetuned-cola
14
 
15
- This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
16
  It achieves the following results on the evaluation set:
17
- - Train Loss: 0.3233
18
- - Validation Loss: 0.4903
19
- - Train Matthews Correlation: 0.5321
20
- - Epoch: 1
21
 
22
  ## Model description
23
 
@@ -36,20 +49,28 @@ More information needed
36
  ### Training hyperparameters
37
 
38
  The following hyperparameters were used during training:
39
- - optimizer: {'name': 'Adam', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 2670, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False}
40
- - training_precision: float32
 
 
 
 
 
41
 
42
  ### Training results
43
 
44
- | Train Loss | Validation Loss | Train Matthews Correlation | Epoch |
45
- |:----------:|:---------------:|:--------------------------:|:-----:|
46
- | 0.5111 | 0.4731 | 0.4440 | 0 |
47
- | 0.3233 | 0.4903 | 0.5321 | 1 |
 
 
 
48
 
49
 
50
  ### Framework versions
51
 
52
- - Transformers 4.21.0
53
- - TensorFlow 2.9.1
54
  - Datasets 2.4.0
55
- - Tokenizers 0.12.1
 
1
  ---
2
  license: apache-2.0
3
  tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - glue
7
+ metrics:
8
+ - matthews_correlation
9
  model-index:
10
+ - name: distilbert-base-uncased-finetuned-cola
11
+ results:
12
+ - task:
13
+ name: Text Classification
14
+ type: text-classification
15
+ dataset:
16
+ name: glue
17
+ type: glue
18
+ args: cola
19
+ metrics:
20
+ - name: Matthews Correlation
21
+ type: matthews_correlation
22
+ value: 0.542244787638552
23
  ---
24
 
25
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
26
+ should probably proofread and complete it, then remove this comment. -->
27
 
28
+ # distilbert-base-uncased-finetuned-cola
29
 
30
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the glue dataset.
31
  It achieves the following results on the evaluation set:
32
+ - Loss: 0.7166
33
+ - Matthews Correlation: 0.5422
 
 
34
 
35
  ## Model description
36
 
 
49
  ### Training hyperparameters
50
 
51
  The following hyperparameters were used during training:
52
+ - learning_rate: 2e-05
53
+ - train_batch_size: 16
54
+ - eval_batch_size: 16
55
+ - seed: 42
56
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
57
+ - lr_scheduler_type: linear
58
+ - num_epochs: 5
59
 
60
  ### Training results
61
 
62
+ | Training Loss | Epoch | Step | Validation Loss | Matthews Correlation |
63
+ |:-------------:|:-----:|:----:|:---------------:|:--------------------:|
64
+ | 0.5239 | 1.0 | 535 | 0.5124 | 0.4240 |
65
+ | 0.3472 | 2.0 | 1070 | 0.4966 | 0.5180 |
66
+ | 0.2359 | 3.0 | 1605 | 0.6474 | 0.5174 |
67
+ | 0.1723 | 4.0 | 2140 | 0.7166 | 0.5422 |
68
+ | 0.1285 | 5.0 | 2675 | 0.8366 | 0.5367 |
69
 
70
 
71
  ### Framework versions
72
 
73
+ - Transformers 4.12.0
74
+ - Pytorch 1.8.1+cpu
75
  - Datasets 2.4.0
76
+ - Tokenizers 0.10.3