CMacD12 commited on
Commit
2d4c10f
·
1 Parent(s): da9f249

Training in progress epoch 0

Browse files
README.md CHANGED
@@ -1,38 +1,23 @@
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
- config: cola
19
- split: validation
20
- args: cola
21
- metrics:
22
- - name: Matthews Correlation
23
- type: matthews_correlation
24
- value: 0.5468655257933821
25
  ---
26
 
27
- <!-- This model card has been generated automatically according to the information the Trainer had access to. You
28
- should probably proofread and complete it, then remove this comment. -->
29
 
30
- # distilbert-base-uncased-finetuned-cola
31
 
32
- This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the glue dataset.
33
  It achieves the following results on the evaluation set:
34
- - Loss: 0.8215
35
- - Matthews Correlation: 0.5469
 
 
36
 
37
  ## Model description
38
 
@@ -51,28 +36,19 @@ More information needed
51
  ### Training hyperparameters
52
 
53
  The following hyperparameters were used during training:
54
- - learning_rate: 2e-05
55
- - train_batch_size: 16
56
- - eval_batch_size: 16
57
- - seed: 42
58
- - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
59
- - lr_scheduler_type: linear
60
- - num_epochs: 5
61
 
62
  ### Training results
63
 
64
- | Training Loss | Epoch | Step | Validation Loss | Matthews Correlation |
65
- |:-------------:|:-----:|:----:|:---------------:|:--------------------:|
66
- | 0.5219 | 1.0 | 535 | 0.5513 | 0.3860 |
67
- | 0.3434 | 2.0 | 1070 | 0.4889 | 0.5060 |
68
- | 0.232 | 3.0 | 1605 | 0.5794 | 0.5309 |
69
- | 0.1692 | 4.0 | 2140 | 0.7830 | 0.5380 |
70
- | 0.1266 | 5.0 | 2675 | 0.8215 | 0.5469 |
71
 
72
 
73
  ### Framework versions
74
 
75
  - Transformers 4.29.2
76
- - Pytorch 2.0.1
77
  - Datasets 2.12.0
78
  - Tokenizers 0.13.3
 
1
  ---
2
  license: apache-2.0
3
  tags:
4
+ - generated_from_keras_callback
 
 
 
 
5
  model-index:
6
+ - name: CMacD12/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
+ # CMacD12/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.5145
18
+ - Validation Loss: 0.4719
19
+ - Train Matthews Correlation: 0.4496
20
+ - Epoch: 0
21
 
22
  ## Model description
23
 
 
36
  ### Training hyperparameters
37
 
38
  The following hyperparameters were used during training:
39
+ - optimizer: {'name': 'Adam', 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 1602, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_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.5145 | 0.4719 | 0.4496 | 0 |
 
 
 
 
47
 
48
 
49
  ### Framework versions
50
 
51
  - Transformers 4.29.2
52
+ - TensorFlow 2.13.0-rc1
53
  - Datasets 2.12.0
54
  - Tokenizers 0.13.3
config.json CHANGED
@@ -8,18 +8,24 @@
8
  "dim": 768,
9
  "dropout": 0.1,
10
  "hidden_dim": 3072,
 
 
 
 
11
  "initializer_range": 0.02,
 
 
 
 
12
  "max_position_embeddings": 512,
13
  "model_type": "distilbert",
14
  "n_heads": 12,
15
  "n_layers": 6,
16
  "pad_token_id": 0,
17
- "problem_type": "single_label_classification",
18
  "qa_dropout": 0.1,
19
  "seq_classif_dropout": 0.2,
20
  "sinusoidal_pos_embds": false,
21
  "tie_weights_": true,
22
- "torch_dtype": "float32",
23
  "transformers_version": "4.29.2",
24
  "vocab_size": 30522
25
  }
 
8
  "dim": 768,
9
  "dropout": 0.1,
10
  "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "Invalid",
13
+ "1": "Valid"
14
+ },
15
  "initializer_range": 0.02,
16
+ "label2id": {
17
+ "Invalid": 0,
18
+ "Valid": 1
19
+ },
20
  "max_position_embeddings": 512,
21
  "model_type": "distilbert",
22
  "n_heads": 12,
23
  "n_layers": 6,
24
  "pad_token_id": 0,
 
25
  "qa_dropout": 0.1,
26
  "seq_classif_dropout": 0.2,
27
  "sinusoidal_pos_embds": false,
28
  "tie_weights_": true,
 
29
  "transformers_version": "4.29.2",
30
  "vocab_size": 30522
31
  }
logs/train/events.out.tfevents.1687472656.Coles-MBP.ad.stfx.ca.18611.0.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55e3dd9677ee5f873b1343dadc25efcc35ae450ef274b4668d5c4bb6ce26e3dd
3
+ size 1559149
logs/validation/events.out.tfevents.1687472819.Coles-MBP.ad.stfx.ca.18611.1.v2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3887924ea8e485e724367ab4a1ca20767dd2b54ee92e9d88361bee8baedac57b
3
+ size 232
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ba08dadfec1ed9e0a26db297cbfeded383311eda31cec85da9208a719a29e06
3
+ size 267951808
tokenizer.json CHANGED
@@ -1,12 +1,14 @@
1
  {
2
  "version": "1.0",
3
- "truncation": {
 
 
4
  "direction": "Right",
5
- "max_length": 512,
6
- "strategy": "LongestFirst",
7
- "stride": 0
 
8
  },
9
- "padding": null,
10
  "added_tokens": [
11
  {
12
  "id": 0,
 
1
  {
2
  "version": "1.0",
3
+ "truncation": null,
4
+ "padding": {
5
+ "strategy": "BatchLongest",
6
  "direction": "Right",
7
+ "pad_to_multiple_of": null,
8
+ "pad_id": 0,
9
+ "pad_type_id": 0,
10
+ "pad_token": "[PAD]"
11
  },
 
12
  "added_tokens": [
13
  {
14
  "id": 0,