Upload TFDistilBertForSequenceClassification
Browse files- README.md +9 -9
- config.json +1 -2
- tf_model.h5 +2 -2
README.md
CHANGED
|
@@ -16,9 +16,9 @@ probably proofread and complete it, then remove this comment. -->
|
|
| 16 |
|
| 17 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
| 18 |
It achieves the following results on the evaluation set:
|
| 19 |
-
- Train Loss: 0.
|
| 20 |
-
- Validation Loss: 0.
|
| 21 |
-
- Train Accuracy: 0.
|
| 22 |
- Epoch: 2
|
| 23 |
|
| 24 |
## Model description
|
|
@@ -38,21 +38,21 @@ More information needed
|
|
| 38 |
### Training hyperparameters
|
| 39 |
|
| 40 |
The following hyperparameters were used during training:
|
| 41 |
-
- 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':
|
| 42 |
- training_precision: float32
|
| 43 |
|
| 44 |
### Training results
|
| 45 |
|
| 46 |
| Train Loss | Validation Loss | Train Accuracy | Epoch |
|
| 47 |
|:----------:|:---------------:|:--------------:|:-----:|
|
| 48 |
-
| 0.
|
| 49 |
-
| 0.
|
| 50 |
-
| 0.
|
| 51 |
|
| 52 |
|
| 53 |
### Framework versions
|
| 54 |
|
| 55 |
-
- Transformers 4.
|
| 56 |
- TensorFlow 2.18.0
|
| 57 |
-
- Datasets 3.
|
| 58 |
- Tokenizers 0.21.1
|
|
|
|
| 16 |
|
| 17 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
| 18 |
It achieves the following results on the evaluation set:
|
| 19 |
+
- Train Loss: 0.1103
|
| 20 |
+
- Validation Loss: 0.0741
|
| 21 |
+
- Train Accuracy: 0.978
|
| 22 |
- Epoch: 2
|
| 23 |
|
| 24 |
## Model description
|
|
|
|
| 38 |
### Training hyperparameters
|
| 39 |
|
| 40 |
The following hyperparameters were used during training:
|
| 41 |
+
- 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': 375, '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}
|
| 42 |
- training_precision: float32
|
| 43 |
|
| 44 |
### Training results
|
| 45 |
|
| 46 |
| Train Loss | Validation Loss | Train Accuracy | Epoch |
|
| 47 |
|:----------:|:---------------:|:--------------:|:-----:|
|
| 48 |
+
| 0.4268 | 0.1951 | 0.928 | 0 |
|
| 49 |
+
| 0.1921 | 0.1166 | 0.964 | 1 |
|
| 50 |
+
| 0.1103 | 0.0741 | 0.978 | 2 |
|
| 51 |
|
| 52 |
|
| 53 |
### Framework versions
|
| 54 |
|
| 55 |
+
- Transformers 4.51.3
|
| 56 |
- TensorFlow 2.18.0
|
| 57 |
+
- Datasets 3.5.1
|
| 58 |
- Tokenizers 0.21.1
|
config.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "distilbert-base-uncased",
|
| 3 |
"activation": "gelu",
|
| 4 |
"architectures": [
|
| 5 |
"DistilBertForSequenceClassification"
|
|
@@ -26,6 +25,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 |
}
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"activation": "gelu",
|
| 3 |
"architectures": [
|
| 4 |
"DistilBertForSequenceClassification"
|
|
|
|
| 25 |
"seq_classif_dropout": 0.2,
|
| 26 |
"sinusoidal_pos_embds": false,
|
| 27 |
"tie_weights_": true,
|
| 28 |
+
"transformers_version": "4.51.3",
|
| 29 |
"vocab_size": 30522
|
| 30 |
}
|
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:d6c66b4e52dfb34629e5072d089182404dfa7586ab4dee43a3c6c15d72849a5c
|
| 3 |
+
size 267955144
|