filippo571 commited on
Commit
1a6e1e9
·
1 Parent(s): 07500c6

Upload TFDistilBertForSequenceClassification

Browse files
Files changed (2) hide show
  1. README.md +16 -11
  2. tf_model.h5 +1 -1
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.5381
18
- - Validation Loss: 0.6318
19
- - Train Accuracy: 0.7436
20
- - Epoch: 4
21
 
22
  ## Model description
23
 
@@ -36,23 +36,28 @@ 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': False, 'is_legacy_optimizer': False, 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 145, '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
- | 1.2425 | 1.0278 | 0.6410 | 0 |
47
- | 0.9409 | 0.8109 | 0.6923 | 1 |
48
- | 0.7370 | 0.6991 | 0.7436 | 2 |
49
- | 0.6080 | 0.6474 | 0.7436 | 3 |
50
- | 0.5381 | 0.6318 | 0.7436 | 4 |
 
 
 
 
 
51
 
52
 
53
  ### Framework versions
54
 
55
  - Transformers 4.26.1
56
- - TensorFlow 2.11.0
57
  - Datasets 2.10.1
58
  - 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.4068
18
+ - Validation Loss: 0.5871
19
+ - Train Accuracy: 0.8205
20
+ - Epoch: 9
21
 
22
  ## Model description
23
 
 
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': 140, '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
+ | 1.2952 | 1.1288 | 0.4957 | 0 |
47
+ | 1.1276 | 0.9616 | 0.6581 | 1 |
48
+ | 0.9647 | 0.8319 | 0.6838 | 2 |
49
+ | 0.8187 | 0.7676 | 0.7265 | 3 |
50
+ | 0.7088 | 0.7020 | 0.7436 | 4 |
51
+ | 0.6026 | 0.6590 | 0.7863 | 5 |
52
+ | 0.5296 | 0.6246 | 0.7949 | 6 |
53
+ | 0.4712 | 0.6000 | 0.8120 | 7 |
54
+ | 0.4359 | 0.5900 | 0.8291 | 8 |
55
+ | 0.4068 | 0.5871 | 0.8205 | 9 |
56
 
57
 
58
  ### Framework versions
59
 
60
  - Transformers 4.26.1
61
+ - TensorFlow 2.9.0
62
  - Datasets 2.10.1
63
  - Tokenizers 0.13.2
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:45518e6e803ab2c9954f8821b0b18b81518290b3db18cf94db2b26d5dee3f767
3
  size 267957952
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b961b46db25856d7cfd700c3cb5f679a1103bbaa0e7298fc69bee1e9eedc1e00
3
  size 267957952