Training in progress epoch 0
Browse files- README.md +19 -41
- config.json +1 -3
- logs/train/events.out.tfevents.1659891609.datascience-1-0-ml-g4dn-16xlarge-0857614900e4015bb2bd851cec87.13488.0.v2 +3 -0
- logs/validation/events.out.tfevents.1659892589.datascience-1-0-ml-g4dn-16xlarge-0857614900e4015bb2bd851cec87.13488.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 |
-
- accuracy
|
9 |
model-index:
|
10 |
-
- name: distilbert-base-uncased-finetuned-sst2
|
11 |
-
results:
|
12 |
-
- task:
|
13 |
-
name: Text Classification
|
14 |
-
type: text-classification
|
15 |
-
dataset:
|
16 |
-
name: glue
|
17 |
-
type: glue
|
18 |
-
args: sst2
|
19 |
-
metrics:
|
20 |
-
- name: Accuracy
|
21 |
-
type: accuracy
|
22 |
-
value: 0.908256880733945
|
23 |
---
|
24 |
|
25 |
-
<!-- This model card has been generated automatically according to the information
|
26 |
-
|
27 |
|
28 |
-
# distilbert-base-uncased-finetuned-sst2
|
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.1253 | 2.0 | 8420 | 0.3577 | 0.8968 |
|
66 |
-
| 0.0818 | 3.0 | 12630 | 0.4101 | 0.9083 |
|
67 |
-
| 0.0676 | 4.0 | 16840 | 0.4326 | 0.8991 |
|
68 |
-
| 0.0455 | 5.0 | 21050 | 0.5258 | 0.9002 |
|
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-sst2
|
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-sst2
|
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.2133
|
18 |
+
- Validation Loss: 0.2615
|
19 |
+
- Train Accuracy: 0.9083
|
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': 21045, '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 Accuracy | Epoch |
|
45 |
+
|:----------:|:---------------:|:--------------:|:-----:|
|
46 |
+
| 0.2133 | 0.2615 | 0.9083 | 0 |
|
|
|
|
|
|
|
|
|
47 |
|
48 |
|
49 |
### Framework versions
|
50 |
|
51 |
+
- Transformers 4.21.1
|
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.1",
|
|
|
22 |
"vocab_size": 30522
|
23 |
}
|
logs/train/events.out.tfevents.1659891609.datascience-1-0-ml-g4dn-16xlarge-0857614900e4015bb2bd851cec87.13488.0.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7b68bc7247babfc3bb848d7090e73bdd57237a2903031fc5fb00b4024c8b4567
|
3 |
+
size 1590491
|
logs/validation/events.out.tfevents.1659892589.datascience-1-0-ml-g4dn-16xlarge-0857614900e4015bb2bd851cec87.13488.1.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1a7e28aa655fc1b8bd5cb96b04d5ed0c1d86b51fba2955e4836325f705b865bc
|
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:4f5d6c3d809cfd8b63f09c7dd921b70b3335faa8c09a93127385af5ae3d0f0c8
|
3 |
+
size 267952512
|
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 |
+
}
|