Upload TFDistilBertForSequenceClassification
Browse files- README.md +12 -11
- config.json +1 -1
- tf_model.h5 +1 -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: 0.
|
18 |
-
- Validation Loss: 0.
|
19 |
-
- Train Accuracy: 0.
|
20 |
- Epoch: 2
|
21 |
|
22 |
## Model description
|
@@ -36,21 +37,21 @@ More information needed
|
|
36 |
### Training hyperparameters
|
37 |
|
38 |
The following hyperparameters were used during training:
|
39 |
-
- 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': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 625, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, '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.
|
47 |
-
| 0.
|
48 |
-
| 0.
|
49 |
|
50 |
|
51 |
### Framework versions
|
52 |
|
53 |
-
- Transformers 4.
|
54 |
-
- TensorFlow 2.
|
55 |
-
- Datasets 2.
|
56 |
-
- 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: 0.0997
|
19 |
+
- Validation Loss: 0.0472
|
20 |
+
- Train Accuracy: 0.99
|
21 |
- Epoch: 2
|
22 |
|
23 |
## Model description
|
|
|
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': 625, '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.4132 | 0.2321 | 0.906 | 0 |
|
48 |
+
| 0.1900 | 0.1016 | 0.976 | 1 |
|
49 |
+
| 0.0997 | 0.0472 | 0.99 | 2 |
|
50 |
|
51 |
|
52 |
### Framework versions
|
53 |
|
54 |
+
- Transformers 4.38.2
|
55 |
+
- TensorFlow 2.15.0
|
56 |
+
- Datasets 2.18.0
|
57 |
+
- Tokenizers 0.15.2
|
config.json
CHANGED
@@ -26,6 +26,6 @@
|
|
26 |
"seq_classif_dropout": 0.2,
|
27 |
"sinusoidal_pos_embds": false,
|
28 |
"tie_weights_": true,
|
29 |
-
"transformers_version": "4.
|
30 |
"vocab_size": 30522
|
31 |
}
|
|
|
26 |
"seq_classif_dropout": 0.2,
|
27 |
"sinusoidal_pos_embds": false,
|
28 |
"tie_weights_": true,
|
29 |
+
"transformers_version": "4.38.2",
|
30 |
"vocab_size": 30522
|
31 |
}
|
tf_model.h5
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 267951808
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:73d542f09f4846281b6c23974e8c2d013f5717d8ca8c489dbf08fa7431de6b6a
|
3 |
size 267951808
|