ZZDDBBCC commited on
Commit
940d25f
1 Parent(s): e75fefe
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ checkpoint-*/
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.5410897632107913
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.8631
33
+ - Matthews Correlation: 0.5411
34
+
35
+ ## Model description
36
+
37
+ More information needed
38
+
39
+ ## Intended uses & limitations
40
+
41
+ More information needed
42
+
43
+ ## Training and evaluation data
44
+
45
+ More information needed
46
+
47
+ ## Training procedure
48
+
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.5249 | 1.0 | 535 | 0.5300 | 0.4152 |
65
+ | 0.3489 | 2.0 | 1070 | 0.5238 | 0.4940 |
66
+ | 0.2329 | 3.0 | 1605 | 0.6447 | 0.5162 |
67
+ | 0.1692 | 4.0 | 2140 | 0.7805 | 0.5332 |
68
+ | 0.1256 | 5.0 | 2675 | 0.8631 | 0.5411 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 4.10.3
74
+ - Pytorch 1.9.0+cu102
75
+ - Datasets 1.12.1
76
+ - Tokenizers 0.10.3
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-uncased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
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.10.3",
24
+ "vocab_size": 30522
25
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8bce7cdc60ac53ff3c91d7f5b0e180e3fadbf5d0b2d3977df6cf770ebd5ba71e
3
+ size 267858673
runs/Sep26_06-12-52_004eb16dd4ef/1632636784.1211133/events.out.tfevents.1632636784.004eb16dd4ef.258.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d18904073d9821e660dd295904d67ea8df37a9c2c8e7242a7c5e6a6fbad545f
3
+ size 4236
runs/Sep26_06-12-52_004eb16dd4ef/events.out.tfevents.1632636784.004eb16dd4ef.258.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25c1d6363508f0a433d6a6ccf2b25a0fcd1e7f72f75af868221b82943368e860
3
+ size 5699
runs/Sep26_06-12-52_004eb16dd4ef/events.out.tfevents.1632642809.004eb16dd4ef.258.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c4de581f7b3f29494ba7c2c0e95a8071a42a430e5b23fc67dc6a8524f6a5ed7
3
+ size 375
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "distilbert-base-uncased", "tokenizer_class": "DistilBertTokenizer"}
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfa62aab74615be4455bc0f1fee9ba192215f5278fe091ce738290d69d59876a
3
+ size 2671
vocab.txt ADDED
The diff for this file is too large to render. See raw diff