gualti commited on
Commit
017cff4
·
verified ·
1 Parent(s): 218b118

Upload TFDistilBertForSequenceClassification

Browse files
Files changed (3) hide show
  1. README.md +12 -11
  2. config.json +1 -1
  3. 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.0961
18
- - Validation Loss: 0.0434
19
- - Train Accuracy: 0.988
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.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
 
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.29.1",
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:9a231c09b71dcfe975f7ddd9e7c074dab5d8b597bbe5043b3a811d39529bab45
3
  size 267951808
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73d542f09f4846281b6c23974e8c2d013f5717d8ca8c489dbf08fa7431de6b6a
3
  size 267951808