Training in progress epoch 0
Browse files- README.md +19 -41
- config.json +1 -3
- logs/train/events.out.tfevents.1659593174.ip-10-1-10-216.5733.0.v2 +3 -0
- logs/validation/events.out.tfevents.1659593293.ip-10-1-10-216.5733.1.v2 +3 -0
- special_tokens_map.json +7 -1
- tf_model.h5 +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +14 -1
README.md
CHANGED
@@ -1,36 +1,23 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
tags:
|
4 |
-
-
|
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.5518326707011334
|
23 |
---
|
24 |
|
25 |
-
<!-- This model card has been generated automatically according to the information
|
26 |
-
|
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
|
31 |
It achieves the following results on the evaluation set:
|
32 |
-
- Loss: 0.
|
33 |
-
-
|
|
|
|
|
34 |
|
35 |
## Model description
|
36 |
|
@@ -49,28 +36,19 @@ More information needed
|
|
49 |
### Training hyperparameters
|
50 |
|
51 |
The following hyperparameters were used during training:
|
52 |
-
- learning_rate: 2e-05
|
53 |
-
-
|
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 |
-
|
|
63 |
-
|
64 |
-
| 0.
|
65 |
-
| 0.3479 | 2.0 | 1070 | 0.5064 | 0.5235 |
|
66 |
-
| 0.2337 | 3.0 | 1605 | 0.6480 | 0.5022 |
|
67 |
-
| 0.1721 | 4.0 | 2140 | 0.7528 | 0.5518 |
|
68 |
-
| 0.1292 | 5.0 | 2675 | 0.8475 | 0.5485 |
|
69 |
|
70 |
|
71 |
### Framework versions
|
72 |
|
73 |
-
- Transformers 4.
|
74 |
-
-
|
75 |
- Datasets 2.4.0
|
76 |
-
- Tokenizers 0.
|
|
|
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.5111
|
18 |
+
- Validation Loss: 0.4731
|
19 |
+
- Train Matthews Correlation: 0.4440
|
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': {'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 |
|
48 |
|
49 |
### Framework versions
|
50 |
|
51 |
+
- Transformers 4.21.0
|
52 |
+
- TensorFlow 2.9.1
|
53 |
- Datasets 2.4.0
|
54 |
+
- Tokenizers 0.12.1
|
config.json
CHANGED
@@ -14,12 +14,10 @@
|
|
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 |
-
"
|
23 |
-
"transformers_version": "4.12.0",
|
24 |
"vocab_size": 30522
|
25 |
}
|
|
|
14 |
"n_heads": 12,
|
15 |
"n_layers": 6,
|
16 |
"pad_token_id": 0,
|
|
|
17 |
"qa_dropout": 0.1,
|
18 |
"seq_classif_dropout": 0.2,
|
19 |
"sinusoidal_pos_embds": false,
|
20 |
"tie_weights_": true,
|
21 |
+
"transformers_version": "4.21.0",
|
|
|
22 |
"vocab_size": 30522
|
23 |
}
|
logs/train/events.out.tfevents.1659593174.ip-10-1-10-216.5733.0.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b69cf08d228c99d8c52715f5a42ee644f44b6eae2c611739ac5cdf441cef114c
|
3 |
+
size 1590502
|
logs/validation/events.out.tfevents.1659593293.ip-10-1-10-216.5733.1.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:170ca64bbe76b09c674c8d8172c7aa923f9346dd0283e0e4b5f277a74f87b257
|
3 |
+
size 194
|
special_tokens_map.json
CHANGED
@@ -1 +1,7 @@
|
|
1 |
-
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a134addd69b7fb6fa5d984b9893b9cee6646c241943de31bd7419b28b0c01c5c
|
3 |
+
size 267951896
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -1 +1,14 @@
|
|
1 |
-
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"do_lower_case": true,
|
4 |
+
"mask_token": "[MASK]",
|
5 |
+
"model_max_length": 512,
|
6 |
+
"name_or_path": "distilbert-base-uncased",
|
7 |
+
"pad_token": "[PAD]",
|
8 |
+
"sep_token": "[SEP]",
|
9 |
+
"special_tokens_map_file": null,
|
10 |
+
"strip_accents": null,
|
11 |
+
"tokenize_chinese_chars": true,
|
12 |
+
"tokenizer_class": "DistilBertTokenizer",
|
13 |
+
"unk_token": "[UNK]"
|
14 |
+
}
|