Upload TFDistilBertForSequenceClassification
Browse files- README.md +12 -10
- config.json +1 -1
- tf_model.h5 +2 -2
README.md
CHANGED
|
@@ -14,10 +14,10 @@ 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:
|
| 21 |
|
| 22 |
## Model description
|
| 23 |
|
|
@@ -36,19 +36,21 @@ 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': 625, '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 |
|
| 48 |
|
| 49 |
### Framework versions
|
| 50 |
|
| 51 |
-
- Transformers 4.
|
| 52 |
-
- TensorFlow 2.
|
| 53 |
-
- Datasets 2.
|
| 54 |
-
- Tokenizers 0.13.
|
|
|
|
| 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.0961
|
| 18 |
+
- Validation Loss: 0.0434
|
| 19 |
+
- Train Accuracy: 0.988
|
| 20 |
+
- Epoch: 2
|
| 21 |
|
| 22 |
## Model description
|
| 23 |
|
|
|
|
| 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.4616 | 0.2106 | 0.94 | 0 |
|
| 47 |
+
| 0.1978 | 0.0958 | 0.968 | 1 |
|
| 48 |
+
| 0.0961 | 0.0434 | 0.988 | 2 |
|
| 49 |
|
| 50 |
|
| 51 |
### Framework versions
|
| 52 |
|
| 53 |
+
- Transformers 4.29.1
|
| 54 |
+
- TensorFlow 2.12.0
|
| 55 |
+
- Datasets 2.12.0
|
| 56 |
+
- Tokenizers 0.13.3
|
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.29.1",
|
| 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
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a231c09b71dcfe975f7ddd9e7c074dab5d8b597bbe5043b3a811d39529bab45
|
| 3 |
+
size 267951808
|