AIYIYA commited on
Commit
c1bbfe1
1 Parent(s): ddc7181

Training in progress epoch 0

Browse files
Files changed (7) hide show
  1. README.md +54 -0
  2. config.json +106 -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_wr
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_wr
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.5847
18
+ - Validation Loss: 3.3465
19
+ - Train Accuracy: 0.0270
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': 120, '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.5847 | 3.3465 | 0.0270 | 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,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "\u6027\u522b",
19
+ "6": "\u804c\u4f4d",
20
+ "7": "\u51fa\u751f\u65e5\u671f",
21
+ "8": "\u90ae\u7bb1",
22
+ "9": "\u804c\u4e1a",
23
+ "10": "\u5f00\u6237\u884c",
24
+ "11": "QQ",
25
+ "12": "\u5de5\u4f5c\u5355\u4f4d",
26
+ "13": "\u82f1\u6587\u59d3",
27
+ "14": "\u82f1\u6587\u540d",
28
+ "15": "\u516c\u53f8\u540d\u79f0",
29
+ "16": "\u516c\u53f8\u5730\u5740",
30
+ "17": "\u8054\u7cfb\u4eba\u59d3\u540d",
31
+ "18": "\u6cd5\u4eba",
32
+ "19": "\u7edf\u4e00\u793e\u4f1a\u4fe1\u7528\u4ee3\u7801",
33
+ "20": "\u6ce8\u518c\u65f6\u95f4",
34
+ "21": "\u7ecf\u8425\u8303\u56f4",
35
+ "22": "\u90ae\u7f16",
36
+ "23": "\u6570\u5b57",
37
+ "24": "\u5b57\u6bcd",
38
+ "25": "\u6c49\u5b57",
39
+ "26": "\u786e\u8ba4\u5bc6\u7801",
40
+ "27": "\u7528\u6237\u540d",
41
+ "28": "\u5bc6\u7801",
42
+ "29": "\u524d\u7aef\u9a8c\u8bc1\u7801",
43
+ "30": "\u52a8\u6001\u9a8c\u8bc1\u7801",
44
+ "31": "\u7f51\u5740",
45
+ "32": "\u57df\u540d",
46
+ "33": "\u4f20\u771f",
47
+ "34": "\u8d26\u53f7",
48
+ "35": "\u6635\u79f0"
49
+ },
50
+ "initializer_range": 0.02,
51
+ "intermediate_size": 3072,
52
+ "label2id": {
53
+ "QQ": 11,
54
+ "\u4f20\u771f": 33,
55
+ "\u516c\u53f8\u540d\u79f0": 15,
56
+ "\u516c\u53f8\u5730\u5740": 16,
57
+ "\u5176\u4ed6": 0,
58
+ "\u51fa\u751f\u65e5\u671f": 7,
59
+ "\u524d\u7aef\u9a8c\u8bc1\u7801": 29,
60
+ "\u52a8\u6001\u9a8c\u8bc1\u7801": 30,
61
+ "\u5730\u5740": 4,
62
+ "\u57df\u540d": 32,
63
+ "\u59d3\u540d": 1,
64
+ "\u5b57\u6bcd": 24,
65
+ "\u5bc6\u7801": 28,
66
+ "\u5de5\u4f5c\u5355\u4f4d": 12,
67
+ "\u5f00\u6237\u884c": 10,
68
+ "\u6027\u522b": 5,
69
+ "\u624b\u673a\u53f7": 3,
70
+ "\u6570\u5b57": 23,
71
+ "\u6635\u79f0": 35,
72
+ "\u6c49\u5b57": 25,
73
+ "\u6cd5\u4eba": 18,
74
+ "\u6ce8\u518c\u65f6\u95f4": 20,
75
+ "\u7528\u6237\u540d": 27,
76
+ "\u786e\u8ba4\u5bc6\u7801": 26,
77
+ "\u7ecf\u8425\u8303\u56f4": 21,
78
+ "\u7edf\u4e00\u793e\u4f1a\u4fe1\u7528\u4ee3\u7801": 19,
79
+ "\u7f51\u5740": 31,
80
+ "\u804c\u4e1a": 9,
81
+ "\u804c\u4f4d": 6,
82
+ "\u8054\u7cfb\u4eba\u59d3\u540d": 17,
83
+ "\u82f1\u6587\u540d": 14,
84
+ "\u82f1\u6587\u59d3": 13,
85
+ "\u8d26\u53f7": 34,
86
+ "\u8eab\u4efd\u8bc1\u53f7": 2,
87
+ "\u90ae\u7bb1": 8,
88
+ "\u90ae\u7f16": 22
89
+ },
90
+ "layer_norm_eps": 1e-12,
91
+ "max_position_embeddings": 512,
92
+ "model_type": "bert",
93
+ "num_attention_heads": 12,
94
+ "num_hidden_layers": 12,
95
+ "pad_token_id": 0,
96
+ "pooler_fc_size": 768,
97
+ "pooler_num_attention_heads": 12,
98
+ "pooler_num_fc_layers": 3,
99
+ "pooler_size_per_head": 128,
100
+ "pooler_type": "first_token_transform",
101
+ "position_embedding_type": "absolute",
102
+ "transformers_version": "4.31.0",
103
+ "type_vocab_size": 2,
104
+ "use_cache": true,
105
+ "vocab_size": 21128
106
+ }
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:9be34ceccffa71ff114eb3ed5267fedc4710e2a658e156476c6cedc6719223aa
3
+ size 409469344
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