AIYIYA commited on
Commit
5a83435
1 Parent(s): 3841e33

Training in progress epoch 0

Browse files
Files changed (7) hide show
  1. README.md +54 -0
  2. config.json +76 -0
  3. special_tokens_map.json +7 -0
  4. tf_model.h5 +3 -0
  5. tokenizer.json +0 -0
  6. tokenizer_config.json +13 -0
  7. vocab.txt +0 -0
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: bert-base-chinese
3
+ tags:
4
+ - generated_from_keras_callback
5
+ model-index:
6
+ - name: AIYIYA/my_wr3
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
11
+ probably proofread and complete it, then remove this comment. -->
12
+
13
+ # AIYIYA/my_wr3
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: 3.0206
18
+ - Validation Loss: 2.6776
19
+ - Train Accuracy: 0.2895
20
+ - Epoch: 0
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
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': 90, '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
+ | 3.0206 | 2.6776 | 0.2895 | 0 |
47
+
48
+
49
+ ### Framework versions
50
+
51
+ - Transformers 4.31.0
52
+ - TensorFlow 2.12.0
53
+ - Datasets 2.14.4
54
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-chinese",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "\u5176\u4ed6",
14
+ "1": "\u59d3\u540d",
15
+ "2": "\u8eab\u4efd\u8bc1\u53f7",
16
+ "3": "\u624b\u673a\u53f7",
17
+ "4": "\u5730\u5740",
18
+ "5": "\u90ae\u7bb1",
19
+ "6": "QQ",
20
+ "7": "\u82f1\u6587\u59d3",
21
+ "8": "\u516c\u53f8\u540d\u79f0",
22
+ "9": "\u8054\u7cfb\u4eba\u59d3\u540d",
23
+ "10": "\u7edf\u4e00\u793e\u4f1a\u4fe1\u7528\u4ee3\u7801",
24
+ "11": "\u90ae\u7f16",
25
+ "12": "\u5b57\u6bcd",
26
+ "13": "\u6c49\u5b57",
27
+ "14": "\u786e\u8ba4\u5bc6\u7801",
28
+ "15": "\u7528\u6237\u540d",
29
+ "16": "\u5bc6\u7801",
30
+ "17": "\u524d\u7aef\u9a8c\u8bc1\u7801",
31
+ "18": "\u52a8\u6001\u9a8c\u8bc1\u7801",
32
+ "19": "\u4f20\u771f",
33
+ "20": "\u6635\u79f0"
34
+ },
35
+ "initializer_range": 0.02,
36
+ "intermediate_size": 3072,
37
+ "label2id": {
38
+ "QQ": 6,
39
+ "\u4f20\u771f": 19,
40
+ "\u516c\u53f8\u540d\u79f0": 8,
41
+ "\u5176\u4ed6": 0,
42
+ "\u524d\u7aef\u9a8c\u8bc1\u7801": 17,
43
+ "\u52a8\u6001\u9a8c\u8bc1\u7801": 18,
44
+ "\u5730\u5740": 4,
45
+ "\u59d3\u540d": 1,
46
+ "\u5b57\u6bcd": 12,
47
+ "\u5bc6\u7801": 16,
48
+ "\u624b\u673a\u53f7": 3,
49
+ "\u6635\u79f0": 20,
50
+ "\u6c49\u5b57": 13,
51
+ "\u7528\u6237\u540d": 15,
52
+ "\u786e\u8ba4\u5bc6\u7801": 14,
53
+ "\u7edf\u4e00\u793e\u4f1a\u4fe1\u7528\u4ee3\u7801": 10,
54
+ "\u8054\u7cfb\u4eba\u59d3\u540d": 9,
55
+ "\u82f1\u6587\u59d3": 7,
56
+ "\u8eab\u4efd\u8bc1\u53f7": 2,
57
+ "\u90ae\u7bb1": 5,
58
+ "\u90ae\u7f16": 11
59
+ },
60
+ "layer_norm_eps": 1e-12,
61
+ "max_position_embeddings": 512,
62
+ "model_type": "bert",
63
+ "num_attention_heads": 12,
64
+ "num_hidden_layers": 12,
65
+ "pad_token_id": 0,
66
+ "pooler_fc_size": 768,
67
+ "pooler_num_attention_heads": 12,
68
+ "pooler_num_fc_layers": 3,
69
+ "pooler_size_per_head": 128,
70
+ "pooler_type": "first_token_transform",
71
+ "position_embedding_type": "absolute",
72
+ "transformers_version": "4.31.0",
73
+ "type_vocab_size": 2,
74
+ "use_cache": true,
75
+ "vocab_size": 21128
76
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ffda4b4b96afd391926eb281f753e6cc89db1ce5772c54afaad6bffdbcee23f
3
+ size 409423204
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
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
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff