lindsey-chang
commited on
Commit
·
6e697dc
1
Parent(s):
f6fa8e5
first commit
Browse files- .gitattributes +1 -0
- config.json +90 -0
- model.safetensors +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +56 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
model.safetensors filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "\u5f00\u8f66\u7a97",
|
14 |
+
"1": "\u5173\u5de6\u8f66\u95e8",
|
15 |
+
"2": "\u5173\u53f3\u524d\u8f66\u7a97",
|
16 |
+
"3": "\u5173\u95ed\u5f15\u64ce",
|
17 |
+
"4": "\u5173\u5de6\u524d\u8f66\u7a97",
|
18 |
+
"5": "\u5f00\u53f3\u524d\u8f66\u7a97",
|
19 |
+
"6": "\u5173\u5de6\u540e\u8f66\u7a97",
|
20 |
+
"7": "\u5f00\u5de6\u540e\u8f66\u7a97",
|
21 |
+
"8": "\u5f00\u540e\u5907\u7bb1",
|
22 |
+
"9": "\u5173\u8f66\u95e8",
|
23 |
+
"10": "\u5173\u8f66\u7a97",
|
24 |
+
"11": "\u5f00\u5de6\u524d\u8f66\u7a97",
|
25 |
+
"12": "\u5173\u53f3\u540e\u8f66\u7a97",
|
26 |
+
"13": "\u5f00\u655e\u7bf7",
|
27 |
+
"14": "\u5f00\u5de6\u4fa7\u8f66\u7a97",
|
28 |
+
"15": "\u5173\u655e\u7bf7",
|
29 |
+
"16": "\u5587\u53ed",
|
30 |
+
"17": "\u5f00\u53f3\u540e\u8f66\u7a97",
|
31 |
+
"18": "\u5f00\u53f3\u8f66\u95e8",
|
32 |
+
"19": "\u505c\u8f66\u70b91",
|
33 |
+
"20": "\u5173\u540e\u5907\u7bb1",
|
34 |
+
"21": "\u5173\u53f3\u8f66\u95e8",
|
35 |
+
"22": "\u5f00\u5de6\u8f66\u95e8",
|
36 |
+
"23": "\u505c\u8f66\u70b92",
|
37 |
+
"24": "\u5f00\u8f66\u95e8",
|
38 |
+
"25": "\u6253\u5f00\u5f15\u64ce",
|
39 |
+
"26": "\u5173\u5de6\u4fa7\u8f66\u7a97"
|
40 |
+
},
|
41 |
+
"initializer_range": 0.02,
|
42 |
+
"intermediate_size": 3072,
|
43 |
+
"label2id": {
|
44 |
+
"\u505c\u8f66\u70b91": 19,
|
45 |
+
"\u505c\u8f66\u70b92": 23,
|
46 |
+
"\u5173\u53f3\u524d\u8f66\u7a97": 2,
|
47 |
+
"\u5173\u53f3\u540e\u8f66\u7a97": 12,
|
48 |
+
"\u5173\u53f3\u8f66\u95e8": 21,
|
49 |
+
"\u5173\u540e\u5907\u7bb1": 20,
|
50 |
+
"\u5173\u5de6\u4fa7\u8f66\u7a97": 26,
|
51 |
+
"\u5173\u5de6\u524d\u8f66\u7a97": 4,
|
52 |
+
"\u5173\u5de6\u540e\u8f66\u7a97": 6,
|
53 |
+
"\u5173\u5de6\u8f66\u95e8": 1,
|
54 |
+
"\u5173\u655e\u7bf7": 15,
|
55 |
+
"\u5173\u8f66\u7a97": 10,
|
56 |
+
"\u5173\u8f66\u95e8": 9,
|
57 |
+
"\u5173\u95ed\u5f15\u64ce": 3,
|
58 |
+
"\u5587\u53ed": 16,
|
59 |
+
"\u5f00\u53f3\u524d\u8f66\u7a97": 5,
|
60 |
+
"\u5f00\u53f3\u540e\u8f66\u7a97": 17,
|
61 |
+
"\u5f00\u53f3\u8f66\u95e8": 18,
|
62 |
+
"\u5f00\u540e\u5907\u7bb1": 8,
|
63 |
+
"\u5f00\u5de6\u4fa7\u8f66\u7a97": 14,
|
64 |
+
"\u5f00\u5de6\u524d\u8f66\u7a97": 11,
|
65 |
+
"\u5f00\u5de6\u540e\u8f66\u7a97": 7,
|
66 |
+
"\u5f00\u5de6\u8f66\u95e8": 22,
|
67 |
+
"\u5f00\u655e\u7bf7": 13,
|
68 |
+
"\u5f00\u8f66\u7a97": 0,
|
69 |
+
"\u5f00\u8f66\u95e8": 24,
|
70 |
+
"\u6253\u5f00\u5f15\u64ce": 25
|
71 |
+
},
|
72 |
+
"layer_norm_eps": 1e-12,
|
73 |
+
"max_position_embeddings": 512,
|
74 |
+
"model_type": "bert",
|
75 |
+
"num_attention_heads": 12,
|
76 |
+
"num_hidden_layers": 12,
|
77 |
+
"pad_token_id": 0,
|
78 |
+
"pooler_fc_size": 768,
|
79 |
+
"pooler_num_attention_heads": 12,
|
80 |
+
"pooler_num_fc_layers": 3,
|
81 |
+
"pooler_size_per_head": 128,
|
82 |
+
"pooler_type": "first_token_transform",
|
83 |
+
"position_embedding_type": "absolute",
|
84 |
+
"problem_type": "single_label_classification",
|
85 |
+
"torch_dtype": "float32",
|
86 |
+
"transformers_version": "4.38.2",
|
87 |
+
"type_vocab_size": 2,
|
88 |
+
"use_cache": true,
|
89 |
+
"vocab_size": 21128
|
90 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7b4bac32f94c398d0a3d18619a86e0816af18c8b16cb7ab0263e8090a6fd7719
|
3 |
+
size 409177140
|
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 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": false,
|
47 |
+
"mask_token": "[MASK]",
|
48 |
+
"max_length": 50,
|
49 |
+
"model_max_length": 512,
|
50 |
+
"pad_token": "[PAD]",
|
51 |
+
"sep_token": "[SEP]",
|
52 |
+
"strip_accents": null,
|
53 |
+
"tokenize_chinese_chars": true,
|
54 |
+
"tokenizer_class": "BertTokenizer",
|
55 |
+
"unk_token": "[UNK]"
|
56 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd8d66d2ecedd304ac24c72db9d8602ba6b08754c59b049e635b64bc61a6fb0d
|
3 |
+
size 4920
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|