Okyx commited on
Commit
ebe3562
·
1 Parent(s): 9b491f5

Upload TFBertForTokenClassification

Browse files
Files changed (3) hide show
  1. README.md +14 -17
  2. config.json +2 -2
  3. tf_model.h5 +1 -1
README.md CHANGED
@@ -14,9 +14,9 @@ probably proofread and complete it, then remove this comment. -->
14
 
15
  This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on an unknown dataset.
16
  It achieves the following results on the evaluation set:
17
- - Train Loss: 0.0080
18
- - Validation Loss: 0.2646
19
- - Epoch: 12
20
 
21
  ## Model description
22
 
@@ -35,26 +35,23 @@ More information needed
35
  ### Training hyperparameters
36
 
37
  The following hyperparameters were used during training:
38
- - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 28900, '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, 'weight_decay_rate': 0.01}
39
  - training_precision: mixed_float16
40
 
41
  ### Training results
42
 
43
  | Train Loss | Validation Loss | Epoch |
44
  |:----------:|:---------------:|:-----:|
45
- | 0.4750 | 0.1843 | 0 |
46
- | 0.1754 | 0.2091 | 1 |
47
- | 0.1081 | 0.1819 | 2 |
48
- | 0.0658 | 0.2115 | 3 |
49
- | 0.0463 | 0.2220 | 4 |
50
- | 0.0281 | 0.1990 | 5 |
51
- | 0.0268 | 0.2807 | 6 |
52
- | 0.0249 | 0.3543 | 7 |
53
- | 0.0178 | 0.2623 | 8 |
54
- | 0.0122 | 0.3002 | 9 |
55
- | 0.0137 | 0.2659 | 10 |
56
- | 0.0111 | 0.2615 | 11 |
57
- | 0.0080 | 0.2646 | 12 |
58
 
59
 
60
  ### Framework versions
 
14
 
15
  This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on an unknown dataset.
16
  It achieves the following results on the evaluation set:
17
+ - Train Loss: 0.0087
18
+ - Validation Loss: 0.2588
19
+ - Epoch: 9
20
 
21
  ## Model description
22
 
 
35
  ### Training hyperparameters
36
 
37
  The following hyperparameters were used during training:
38
+ - optimizer: {'inner_optimizer': {'class_name': 'AdamWeightDecay', 'config': {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 2890, '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, 'weight_decay_rate': 0.01}}, 'dynamic': True, 'initial_scale': 32768.0, 'dynamic_growth_steps': 2000}
39
  - training_precision: mixed_float16
40
 
41
  ### Training results
42
 
43
  | Train Loss | Validation Loss | Epoch |
44
  |:----------:|:---------------:|:-----:|
45
+ | 0.5009 | 0.2286 | 0 |
46
+ | 0.1843 | 0.1930 | 1 |
47
+ | 0.1116 | 0.1836 | 2 |
48
+ | 0.0686 | 0.1865 | 3 |
49
+ | 0.0430 | 0.2524 | 4 |
50
+ | 0.0311 | 0.2881 | 5 |
51
+ | 0.0186 | 0.2460 | 6 |
52
+ | 0.0156 | 0.2437 | 7 |
53
+ | 0.0127 | 0.2700 | 8 |
54
+ | 0.0087 | 0.2588 | 9 |
 
 
 
55
 
56
 
57
  ### Framework versions
config.json CHANGED
@@ -13,7 +13,7 @@
13
  "0": "O",
14
  "1": "B-Brand",
15
  "10": "I-TM",
16
- "2": "I-brand",
17
  "3": "B-Model",
18
  "4": "I-Model",
19
  "5": "B-Tipe",
@@ -30,11 +30,11 @@
30
  "B-Model": "3",
31
  "B-TM": "9",
32
  "B-Tipe": "5",
 
33
  "I-CC": "8",
34
  "I-Model": "4",
35
  "I-TM": "10",
36
  "I-Tipe": "6",
37
- "I-brand": "2",
38
  "O": "0"
39
  },
40
  "layer_norm_eps": 1e-12,
 
13
  "0": "O",
14
  "1": "B-Brand",
15
  "10": "I-TM",
16
+ "2": "I-Brand",
17
  "3": "B-Model",
18
  "4": "I-Model",
19
  "5": "B-Tipe",
 
30
  "B-Model": "3",
31
  "B-TM": "9",
32
  "B-Tipe": "5",
33
+ "I-Brand": "2",
34
  "I-CC": "8",
35
  "I-Model": "4",
36
  "I-TM": "10",
37
  "I-Tipe": "6",
 
38
  "O": "0"
39
  },
40
  "layer_norm_eps": 1e-12,
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2c4bb67c4c70e979989717ab5ab5df35b00b3eb7cfad26f3f4b8930e72e4fe83
3
  size 431198260
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7dd0afd67966a8f4adf4668b57b2e0e8307a7843264002c1965f82b94115b55
3
  size 431198260