gualti commited on
Commit
b2a13aa
1 Parent(s): 87e96d6

Upload TFDistilBertForSequenceClassification

Browse files
Files changed (3) hide show
  1. README.md +12 -10
  2. config.json +1 -1
  3. 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.4690
18
- - Validation Loss: 0.2538
19
- - Train Accuracy: 0.904
20
- - Epoch: 0
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}}, 'decay': 0.0, '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.4690 | 0.2538 | 0.904 | 0 |
 
 
47
 
48
 
49
  ### Framework versions
50
 
51
- - Transformers 4.25.1
52
- - TensorFlow 2.9.2
53
- - Datasets 2.8.0
54
- - Tokenizers 0.13.2
 
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.25.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.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:2f963c3a04876fca5762e45f2a9d9466184722c0e8fd7ff17db6d573c7b65d72
3
- size 267956392
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a231c09b71dcfe975f7ddd9e7c074dab5d8b597bbe5043b3a811d39529bab45
3
+ size 267951808