felixshier commited on
Commit
3e8525e
1 Parent(s): 8b0ddce

Upload TFBertForSequenceClassification

Browse files
Files changed (2) hide show
  1. README.md +10 -12
  2. tf_model.h5 +1 -1
README.md CHANGED
@@ -15,10 +15,10 @@ probably proofread and complete it, then remove this comment. -->
15
 
16
  This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
- - Train Loss: 0.0687
19
- - Validation Loss: 0.5956
20
- - Train F1: 0.8247
21
- - Epoch: 6
22
 
23
  ## Model description
24
 
@@ -37,20 +37,18 @@ More information needed
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': 1990, '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 F1 | Epoch |
46
  |:----------:|:---------------:|:--------:|:-----:|
47
- | 0.6120 | 0.5211 | 0.7665 | 0 |
48
- | 0.4732 | 0.4611 | 0.8015 | 1 |
49
- | 0.3831 | 0.4360 | 0.8128 | 2 |
50
- | 0.2778 | 0.4354 | 0.8184 | 3 |
51
- | 0.1777 | 0.5129 | 0.8066 | 4 |
52
- | 0.1121 | 0.6392 | 0.7998 | 5 |
53
- | 0.0687 | 0.5956 | 0.8247 | 6 |
54
 
55
 
56
  ### Framework versions
 
15
 
16
  This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
+ - Train Loss: 0.0519
19
+ - Validation Loss: 0.3378
20
+ - Train F1: 0.9197
21
+ - Epoch: 4
22
 
23
  ## Model description
24
 
 
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': 4790, '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 F1 | Epoch |
46
  |:----------:|:---------------:|:--------:|:-----:|
47
+ | 0.3954 | 0.2818 | 0.9063 | 0 |
48
+ | 0.2233 | 0.2334 | 0.9234 | 1 |
49
+ | 0.1267 | 0.2836 | 0.8877 | 2 |
50
+ | 0.0628 | 0.3938 | 0.8989 | 3 |
51
+ | 0.0519 | 0.3378 | 0.9197 | 4 |
 
 
52
 
53
 
54
  ### Framework versions
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:42121f9d852555534b6254aa0c176cbae7346457967efaccb31885e97ac9f0e4
3
  size 438223128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae0040a811de6cd563e6226cffc7d895090d176aa56200b0550f7f0072f9eb49
3
  size 438223128