andywedlake
commited on
Commit
•
c683599
1
Parent(s):
7a658e0
Training in progress epoch 0
Browse files- README.md +10 -18
- config.json +1 -1
- special_tokens_map.json +7 -1
- tf_model.h5 +2 -2
- tokenizer_config.json +55 -1
README.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
|
|
3 |
tags:
|
4 |
- generated_from_keras_callback
|
5 |
model-index:
|
@@ -14,9 +15,9 @@ probably proofread and complete it, then remove this comment. -->
|
|
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:
|
18 |
-
- Validation Loss:
|
19 |
-
- Epoch:
|
20 |
|
21 |
## Model description
|
22 |
|
@@ -35,28 +36,19 @@ More information needed
|
|
35 |
### Training hyperparameters
|
36 |
|
37 |
The following hyperparameters were used during training:
|
38 |
-
- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'WarmUp', 'config': {'initial_learning_rate': 0.0005, 'decay_schedule_fn': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 0.0005, 'decay_steps': 100, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, '
|
39 |
- training_precision: float32
|
40 |
|
41 |
### Training results
|
42 |
|
43 |
| Train Loss | Validation Loss | Epoch |
|
44 |
|:----------:|:---------------:|:-----:|
|
45 |
-
|
|
46 |
-
| 2.4783 | 2.6058 | 1 |
|
47 |
-
| 2.4284 | 2.5982 | 2 |
|
48 |
-
| 2.3804 | 2.5057 | 3 |
|
49 |
-
| 2.3487 | 2.6968 | 4 |
|
50 |
-
| 2.1253 | 2.1361 | 5 |
|
51 |
-
| 2.0700 | 2.2953 | 6 |
|
52 |
-
| 1.9491 | 2.3122 | 7 |
|
53 |
-
| 1.7558 | 2.5881 | 8 |
|
54 |
-
| 1.7505 | 2.0472 | 9 |
|
55 |
|
56 |
|
57 |
### Framework versions
|
58 |
|
59 |
-
- Transformers 4.
|
60 |
-
- TensorFlow 2.
|
61 |
-
- Datasets 2.
|
62 |
-
- Tokenizers 0.
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
base_model: distilbert-base-uncased
|
4 |
tags:
|
5 |
- generated_from_keras_callback
|
6 |
model-index:
|
|
|
15 |
|
16 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
+
- Train Loss: 4.6321
|
19 |
+
- Validation Loss: 4.5289
|
20 |
+
- Epoch: 0
|
21 |
|
22 |
## Model description
|
23 |
|
|
|
36 |
### Training hyperparameters
|
37 |
|
38 |
The following hyperparameters were used during training:
|
39 |
+
- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'module': 'transformers.optimization_tf', 'class_name': 'WarmUp', 'config': {'initial_learning_rate': 0.0005, 'decay_schedule_fn': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 0.0005, 'decay_steps': 100, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'warmup_steps': 100, 'power': 1.0, 'name': None}, 'registered_name': 'WarmUp'}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.0001}
|
40 |
- training_precision: float32
|
41 |
|
42 |
### Training results
|
43 |
|
44 |
| Train Loss | Validation Loss | Epoch |
|
45 |
|:----------:|:---------------:|:-----:|
|
46 |
+
| 4.6321 | 4.5289 | 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
|
48 |
|
49 |
### Framework versions
|
50 |
|
51 |
+
- Transformers 4.41.2
|
52 |
+
- TensorFlow 2.15.0
|
53 |
+
- Datasets 2.20.0
|
54 |
+
- Tokenizers 0.19.1
|
config.json
CHANGED
@@ -18,6 +18,6 @@
|
|
18 |
"seq_classif_dropout": 0.2,
|
19 |
"sinusoidal_pos_embds": false,
|
20 |
"tie_weights_": true,
|
21 |
-
"transformers_version": "4.
|
22 |
"vocab_size": 30522
|
23 |
}
|
|
|
18 |
"seq_classif_dropout": 0.2,
|
19 |
"sinusoidal_pos_embds": false,
|
20 |
"tie_weights_": true,
|
21 |
+
"transformers_version": "4.41.2",
|
22 |
"vocab_size": 30522
|
23 |
}
|
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
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bbfb8674b063173264450ad761f740a71bf5eee140b49d815ae1933bfabe8e61
|
3 |
+
size 363423648
|
tokenizer_config.json
CHANGED
@@ -1 +1,55 @@
|
|
1 |
-
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": true,
|
47 |
+
"mask_token": "[MASK]",
|
48 |
+
"model_max_length": 512,
|
49 |
+
"pad_token": "[PAD]",
|
50 |
+
"sep_token": "[SEP]",
|
51 |
+
"strip_accents": null,
|
52 |
+
"tokenize_chinese_chars": true,
|
53 |
+
"tokenizer_class": "DistilBertTokenizer",
|
54 |
+
"unk_token": "[UNK]"
|
55 |
+
}
|