AIYIYA commited on
Commit
c1b22ec
·
1 Parent(s): 9a2937f

Training in progress epoch 0

Browse files
Files changed (4) hide show
  1. README.md +11 -14
  2. config.json +1 -1
  3. tf_model.h5 +1 -1
  4. tokenizer_config.json +4 -0
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- base_model: bert-base-chinese
3
  tags:
4
  - generated_from_keras_callback
5
  model-index:
@@ -12,12 +12,13 @@ probably proofread and complete it, then remove this comment. -->
12
 
13
  # AIYIYA/my_html
14
 
15
- This model is a fine-tuned version of [bert-base-chinese](https://huggingface.co/bert-base-chinese) on an unknown dataset.
16
  It achieves the following results on the evaluation set:
17
- - Train Loss: 0.4622
18
- - Validation Loss: 0.4601
19
- - Train Accuracy: 0.9375
20
- - Epoch: 4
 
21
 
22
  ## Model description
23
 
@@ -36,18 +37,14 @@ 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': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 10, '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}
40
  - training_precision: float32
41
 
42
  ### Training results
43
 
44
- | Train Loss | Validation Loss | Train Accuracy | Epoch |
45
- |:----------:|:---------------:|:--------------:|:-----:|
46
- | 0.6787 | 0.5949 | 0.75 | 0 |
47
- | 0.5836 | 0.5508 | 0.8125 | 1 |
48
- | 0.6074 | 0.5035 | 0.9375 | 2 |
49
- | 0.5222 | 0.4738 | 0.9375 | 3 |
50
- | 0.4622 | 0.4601 | 0.9375 | 4 |
51
 
52
 
53
  ### Framework versions
 
1
  ---
2
+ base_model: AIYIYA/my_html
3
  tags:
4
  - generated_from_keras_callback
5
  model-index:
 
12
 
13
  # AIYIYA/my_html
14
 
15
+ This model is a fine-tuned version of [AIYIYA/my_html](https://huggingface.co/AIYIYA/my_html) on an unknown dataset.
16
  It achieves the following results on the evaluation set:
17
+ - Train Loss: 0.0899
18
+ - Train Accuracy: 0.9755
19
+ - Validation Loss: 0.0023
20
+ - Validation Accuracy: 1.0
21
+ - Epoch: 0
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': False, 'is_legacy_optimizer': False, 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 5e-05, 'decay_steps': 102, '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-07, 'amsgrad': False}
41
  - training_precision: float32
42
 
43
  ### Training results
44
 
45
+ | Train Loss | Train Accuracy | Validation Loss | Validation Accuracy | Epoch |
46
+ |:----------:|:--------------:|:---------------:|:-------------------:|:-----:|
47
+ | 0.0899 | 0.9755 | 0.0023 | 1.0 | 0 |
 
 
 
 
48
 
49
 
50
  ### Framework versions
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "bert-base-chinese",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
 
1
  {
2
+ "_name_or_path": "AIYIYA/my_html",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:651ae3f7e89531b0d5c8ae2d137180177b383f500ebcd244542248cb1864acbb
3
  size 409364760
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b150242f3d2e1c965382592a778f78e04ab2bcc70fd01b56b487fbe6a70ee95
3
  size 409364760
tokenizer_config.json CHANGED
@@ -3,11 +3,15 @@
3
  "cls_token": "[CLS]",
4
  "do_lower_case": false,
5
  "mask_token": "[MASK]",
 
6
  "model_max_length": 512,
7
  "pad_token": "[PAD]",
8
  "sep_token": "[SEP]",
 
9
  "strip_accents": null,
10
  "tokenize_chinese_chars": true,
11
  "tokenizer_class": "BertTokenizer",
 
 
12
  "unk_token": "[UNK]"
13
  }
 
3
  "cls_token": "[CLS]",
4
  "do_lower_case": false,
5
  "mask_token": "[MASK]",
6
+ "max_length": 512,
7
  "model_max_length": 512,
8
  "pad_token": "[PAD]",
9
  "sep_token": "[SEP]",
10
+ "stride": 0,
11
  "strip_accents": null,
12
  "tokenize_chinese_chars": true,
13
  "tokenizer_class": "BertTokenizer",
14
+ "truncation_side": "right",
15
+ "truncation_strategy": "longest_first",
16
  "unk_token": "[UNK]"
17
  }