Poojithpoosa
commited on
Commit
•
8762394
1
Parent(s):
0ab0bd5
Training in progress epoch 0
Browse files- README.md +10 -10
- config.json +1 -1
- tf_model.h5 +1 -1
- tokenizer.json +10 -10
- tokenizer_config.json +44 -2
README.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
|
|
3 |
tags:
|
4 |
- generated_from_keras_callback
|
5 |
model-index:
|
@@ -14,10 +15,10 @@ probably proofread and complete it, then remove this comment. -->
|
|
14 |
|
15 |
This model is a fine-tuned version of [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on an unknown dataset.
|
16 |
It achieves the following results on the evaluation set:
|
17 |
-
- Train Loss: 0.
|
18 |
-
- Validation Loss: 0.
|
19 |
-
- Train Accuracy: 0.
|
20 |
-
- Epoch:
|
21 |
|
22 |
## Model description
|
23 |
|
@@ -36,20 +37,19 @@ More information needed
|
|
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': 150000, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}
|
40 |
- training_precision: float32
|
41 |
|
42 |
### Training results
|
43 |
|
44 |
| Train Loss | Validation Loss | Train Accuracy | Epoch |
|
45 |
|:----------:|:---------------:|:--------------:|:-----:|
|
46 |
-
| 0.
|
47 |
-
| 0.1827 | 0.0973 | 0.9701 | 1 |
|
48 |
|
49 |
|
50 |
### Framework versions
|
51 |
|
52 |
-
- Transformers 4.
|
53 |
-
- TensorFlow 2.
|
54 |
- Datasets 2.19.0
|
55 |
-
- Tokenizers 0.
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
base_model: distilbert/distilbert-base-uncased
|
4 |
tags:
|
5 |
- generated_from_keras_callback
|
6 |
model-index:
|
|
|
15 |
|
16 |
This model is a fine-tuned version of [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on an unknown dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
+
- Train Loss: 0.3790
|
19 |
+
- Validation Loss: 0.2007
|
20 |
+
- Train Accuracy: 0.9411
|
21 |
+
- Epoch: 0
|
22 |
|
23 |
## Model description
|
24 |
|
|
|
37 |
### Training hyperparameters
|
38 |
|
39 |
The following hyperparameters were used during training:
|
40 |
+
- optimizer: {'name': 'Adam', 'weight_decay': None, 'clipnorm': None, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile': True, 'is_legacy_optimizer': False, 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 150000, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False}
|
41 |
- training_precision: float32
|
42 |
|
43 |
### Training results
|
44 |
|
45 |
| Train Loss | Validation Loss | Train Accuracy | Epoch |
|
46 |
|:----------:|:---------------:|:--------------:|:-----:|
|
47 |
+
| 0.3790 | 0.2007 | 0.9411 | 0 |
|
|
|
48 |
|
49 |
|
50 |
### Framework versions
|
51 |
|
52 |
+
- Transformers 4.40.1
|
53 |
+
- TensorFlow 2.15.0
|
54 |
- Datasets 2.19.0
|
55 |
+
- Tokenizers 0.19.1
|
config.json
CHANGED
@@ -30,6 +30,6 @@
|
|
30 |
"seq_classif_dropout": 0.2,
|
31 |
"sinusoidal_pos_embds": false,
|
32 |
"tie_weights_": true,
|
33 |
-
"transformers_version": "4.
|
34 |
"vocab_size": 30522
|
35 |
}
|
|
|
30 |
"seq_classif_dropout": 0.2,
|
31 |
"sinusoidal_pos_embds": false,
|
32 |
"tie_weights_": true,
|
33 |
+
"transformers_version": "4.40.1",
|
34 |
"vocab_size": 30522
|
35 |
}
|
tf_model.h5
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 267957952
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6c0016a762206cf3d9b864eff885a23d59450813344dbd043c2db4d9d44a8217
|
3 |
size 267957952
|
tokenizer.json
CHANGED
@@ -5,48 +5,48 @@
|
|
5 |
"added_tokens": [
|
6 |
{
|
7 |
"id": 0,
|
8 |
-
"special": true,
|
9 |
"content": "[PAD]",
|
10 |
"single_word": false,
|
11 |
"lstrip": false,
|
12 |
"rstrip": false,
|
13 |
-
"normalized": false
|
|
|
14 |
},
|
15 |
{
|
16 |
"id": 100,
|
17 |
-
"special": true,
|
18 |
"content": "[UNK]",
|
19 |
"single_word": false,
|
20 |
"lstrip": false,
|
21 |
"rstrip": false,
|
22 |
-
"normalized": false
|
|
|
23 |
},
|
24 |
{
|
25 |
"id": 101,
|
26 |
-
"special": true,
|
27 |
"content": "[CLS]",
|
28 |
"single_word": false,
|
29 |
"lstrip": false,
|
30 |
"rstrip": false,
|
31 |
-
"normalized": false
|
|
|
32 |
},
|
33 |
{
|
34 |
"id": 102,
|
35 |
-
"special": true,
|
36 |
"content": "[SEP]",
|
37 |
"single_word": false,
|
38 |
"lstrip": false,
|
39 |
"rstrip": false,
|
40 |
-
"normalized": false
|
|
|
41 |
},
|
42 |
{
|
43 |
"id": 103,
|
44 |
-
"special": true,
|
45 |
"content": "[MASK]",
|
46 |
"single_word": false,
|
47 |
"lstrip": false,
|
48 |
"rstrip": false,
|
49 |
-
"normalized": false
|
|
|
50 |
}
|
51 |
],
|
52 |
"normalizer": {
|
|
|
5 |
"added_tokens": [
|
6 |
{
|
7 |
"id": 0,
|
|
|
8 |
"content": "[PAD]",
|
9 |
"single_word": false,
|
10 |
"lstrip": false,
|
11 |
"rstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"special": true
|
14 |
},
|
15 |
{
|
16 |
"id": 100,
|
|
|
17 |
"content": "[UNK]",
|
18 |
"single_word": false,
|
19 |
"lstrip": false,
|
20 |
"rstrip": false,
|
21 |
+
"normalized": false,
|
22 |
+
"special": true
|
23 |
},
|
24 |
{
|
25 |
"id": 101,
|
|
|
26 |
"content": "[CLS]",
|
27 |
"single_word": false,
|
28 |
"lstrip": false,
|
29 |
"rstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"special": true
|
32 |
},
|
33 |
{
|
34 |
"id": 102,
|
|
|
35 |
"content": "[SEP]",
|
36 |
"single_word": false,
|
37 |
"lstrip": false,
|
38 |
"rstrip": false,
|
39 |
+
"normalized": false,
|
40 |
+
"special": true
|
41 |
},
|
42 |
{
|
43 |
"id": 103,
|
|
|
44 |
"content": "[MASK]",
|
45 |
"single_word": false,
|
46 |
"lstrip": false,
|
47 |
"rstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"special": true
|
50 |
}
|
51 |
],
|
52 |
"normalizer": {
|
tokenizer_config.json
CHANGED
@@ -1,11 +1,53 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"cls_token": "[CLS]",
|
3 |
"do_lower_case": true,
|
4 |
"mask_token": "[MASK]",
|
5 |
-
"
|
6 |
"pad_token": "[PAD]",
|
7 |
"sep_token": "[SEP]",
|
8 |
-
"special_tokens_map_file": null,
|
9 |
"strip_accents": null,
|
10 |
"tokenize_chinese_chars": true,
|
11 |
"tokenizer_class": "DistilBertTokenizer",
|
|
|
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": 1000000000000000019884624838656,
|
49 |
"pad_token": "[PAD]",
|
50 |
"sep_token": "[SEP]",
|
|
|
51 |
"strip_accents": null,
|
52 |
"tokenize_chinese_chars": true,
|
53 |
"tokenizer_class": "DistilBertTokenizer",
|