KoichiYasuoka
commited on
Commit
•
89aa265
1
Parent(s):
80907a9
model improved
Browse files- config.json +97 -100
- pytorch_model.bin +2 -2
- supar.model +2 -2
- tokenizer.json +0 -0
- tokenizer_config.json +1 -1
config.json
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "KoichiYasuoka/roberta-large-japanese-aozora-char",
|
3 |
"architectures": [
|
4 |
"RobertaForTokenClassification"
|
5 |
],
|
@@ -11,110 +10,108 @@
|
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 1024,
|
13 |
"id2label": {
|
14 |
-
"0": "
|
15 |
-
"1": "
|
16 |
-
"2": "
|
17 |
-
"3": "
|
18 |
-
"4": "ADJ",
|
19 |
-
"5": "
|
20 |
-
"6": "B-
|
21 |
-
"7": "AUX",
|
22 |
-
"8": "
|
23 |
-
"9": "
|
24 |
-
"10": "
|
25 |
-
"11": "
|
26 |
-
"12": "
|
27 |
-
"13": "B-
|
28 |
-
"14": "B-
|
29 |
-
"15": "B-
|
30 |
-
"16": "B-
|
31 |
-
"17": "B-
|
32 |
"18": "B-SYM",
|
33 |
-
"19": "
|
34 |
-
"20": "
|
35 |
-
"21": "
|
36 |
-
"22": "I-
|
37 |
-
"23": "I-
|
38 |
-
"24": "
|
39 |
-
"25": "I-
|
40 |
-
"26": "I-
|
41 |
-
"27": "
|
42 |
-
"28": "I-
|
43 |
-
"29": "I-
|
44 |
-
"30": "NUM",
|
45 |
-
"31": "
|
46 |
-
"32": "I-
|
47 |
-
"33": "I-
|
48 |
-
"34": "
|
49 |
-
"35": "
|
50 |
-
"36": "I-
|
51 |
-
"37": "
|
52 |
-
"38": "X",
|
53 |
-
"39": "
|
54 |
-
"40": "
|
55 |
-
"41": "
|
56 |
-
"42": "
|
57 |
-
"43": "
|
58 |
-
"44": "
|
59 |
-
"45": "
|
60 |
-
"46": "
|
61 |
-
"47": "
|
62 |
-
"48": "
|
63 |
-
"49": "ADV"
|
64 |
},
|
65 |
"initializer_range": 0.02,
|
66 |
"intermediate_size": 4096,
|
67 |
"label2id": {
|
68 |
-
"ADJ":
|
69 |
-
"ADP":
|
70 |
-
"ADV":
|
71 |
-
"AUX":
|
72 |
-
"B-ADJ":
|
73 |
-
"B-ADP":
|
74 |
-
"B-ADV":
|
75 |
-
"B-AUX":
|
76 |
-
"B-CCONJ":
|
77 |
-
"B-DET":
|
78 |
-
"B-INTJ":
|
79 |
-
"B-NOUN":
|
80 |
-
"B-NUM":
|
81 |
-
"B-PART":
|
82 |
-
"B-PRON":
|
83 |
-
"B-PROPN":
|
84 |
-
"B-PUNCT":
|
85 |
-
"B-SCONJ":
|
86 |
"B-SYM": 18,
|
87 |
-
"B-VERB":
|
88 |
-
"B-X":
|
89 |
-
"CCONJ":
|
90 |
-
"I-ADJ":
|
91 |
-
"I-ADP":
|
92 |
-
"I-ADV":
|
93 |
-
"I-AUX":
|
94 |
-
"I-CCONJ":
|
95 |
-
"I-DET":
|
96 |
-
"I-INTJ":
|
97 |
-
"I-NOUN":
|
98 |
-
"I-NUM":
|
99 |
-
"I-PART":
|
100 |
-
"I-PRON":
|
101 |
-
"I-PROPN":
|
102 |
-
"I-PUNCT":
|
103 |
-
"I-SCONJ":
|
104 |
-
"I-SYM":
|
105 |
-
"I-VERB":
|
106 |
-
"I-X":
|
107 |
-
"
|
108 |
-
"
|
109 |
-
"
|
110 |
-
"
|
111 |
-
"
|
112 |
-
"
|
113 |
-
"
|
114 |
-
"
|
115 |
-
"
|
116 |
-
"
|
117 |
-
"X": 38
|
118 |
},
|
119 |
"layer_norm_eps": 1e-12,
|
120 |
"max_position_embeddings": 512,
|
@@ -125,7 +122,7 @@
|
|
125 |
"position_embedding_type": "absolute",
|
126 |
"tokenizer_class": "BertTokenizerFast",
|
127 |
"torch_dtype": "float32",
|
128 |
-
"transformers_version": "4.
|
129 |
"type_vocab_size": 2,
|
130 |
"use_cache": true,
|
131 |
"vocab_size": 9415
|
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"RobertaForTokenClassification"
|
4 |
],
|
|
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 1024,
|
12 |
"id2label": {
|
13 |
+
"0": "ADJ",
|
14 |
+
"1": "ADP",
|
15 |
+
"2": "ADV",
|
16 |
+
"3": "AUX",
|
17 |
+
"4": "B-ADJ",
|
18 |
+
"5": "B-ADP",
|
19 |
+
"6": "B-ADV",
|
20 |
+
"7": "B-AUX",
|
21 |
+
"8": "B-CCONJ",
|
22 |
+
"9": "B-DET",
|
23 |
+
"10": "B-INTJ",
|
24 |
+
"11": "B-NOUN",
|
25 |
+
"12": "B-NUM",
|
26 |
+
"13": "B-PART",
|
27 |
+
"14": "B-PRON",
|
28 |
+
"15": "B-PROPN",
|
29 |
+
"16": "B-PUNCT",
|
30 |
+
"17": "B-SCONJ",
|
31 |
"18": "B-SYM",
|
32 |
+
"19": "B-VERB",
|
33 |
+
"20": "B-X",
|
34 |
+
"21": "CCONJ",
|
35 |
+
"22": "I-ADJ",
|
36 |
+
"23": "I-ADP",
|
37 |
+
"24": "I-ADV",
|
38 |
+
"25": "I-AUX",
|
39 |
+
"26": "I-CCONJ",
|
40 |
+
"27": "I-DET",
|
41 |
+
"28": "I-INTJ",
|
42 |
+
"29": "I-NOUN",
|
43 |
+
"30": "I-NUM",
|
44 |
+
"31": "I-PART",
|
45 |
+
"32": "I-PRON",
|
46 |
+
"33": "I-PROPN",
|
47 |
+
"34": "I-PUNCT",
|
48 |
+
"35": "I-SCONJ",
|
49 |
+
"36": "I-SYM",
|
50 |
+
"37": "I-VERB",
|
51 |
+
"38": "I-X",
|
52 |
+
"39": "NOUN",
|
53 |
+
"40": "NUM",
|
54 |
+
"41": "PART",
|
55 |
+
"42": "PRON",
|
56 |
+
"43": "PROPN",
|
57 |
+
"44": "PUNCT",
|
58 |
+
"45": "SCONJ",
|
59 |
+
"46": "SYM",
|
60 |
+
"47": "VERB",
|
61 |
+
"48": "X"
|
|
|
62 |
},
|
63 |
"initializer_range": 0.02,
|
64 |
"intermediate_size": 4096,
|
65 |
"label2id": {
|
66 |
+
"ADJ": 0,
|
67 |
+
"ADP": 1,
|
68 |
+
"ADV": 2,
|
69 |
+
"AUX": 3,
|
70 |
+
"B-ADJ": 4,
|
71 |
+
"B-ADP": 5,
|
72 |
+
"B-ADV": 6,
|
73 |
+
"B-AUX": 7,
|
74 |
+
"B-CCONJ": 8,
|
75 |
+
"B-DET": 9,
|
76 |
+
"B-INTJ": 10,
|
77 |
+
"B-NOUN": 11,
|
78 |
+
"B-NUM": 12,
|
79 |
+
"B-PART": 13,
|
80 |
+
"B-PRON": 14,
|
81 |
+
"B-PROPN": 15,
|
82 |
+
"B-PUNCT": 16,
|
83 |
+
"B-SCONJ": 17,
|
84 |
"B-SYM": 18,
|
85 |
+
"B-VERB": 19,
|
86 |
+
"B-X": 20,
|
87 |
+
"CCONJ": 21,
|
88 |
+
"I-ADJ": 22,
|
89 |
+
"I-ADP": 23,
|
90 |
+
"I-ADV": 24,
|
91 |
+
"I-AUX": 25,
|
92 |
+
"I-CCONJ": 26,
|
93 |
+
"I-DET": 27,
|
94 |
+
"I-INTJ": 28,
|
95 |
+
"I-NOUN": 29,
|
96 |
+
"I-NUM": 30,
|
97 |
+
"I-PART": 31,
|
98 |
+
"I-PRON": 32,
|
99 |
+
"I-PROPN": 33,
|
100 |
+
"I-PUNCT": 34,
|
101 |
+
"I-SCONJ": 35,
|
102 |
+
"I-SYM": 36,
|
103 |
+
"I-VERB": 37,
|
104 |
+
"I-X": 38,
|
105 |
+
"NOUN": 39,
|
106 |
+
"NUM": 40,
|
107 |
+
"PART": 41,
|
108 |
+
"PRON": 42,
|
109 |
+
"PROPN": 43,
|
110 |
+
"PUNCT": 44,
|
111 |
+
"SCONJ": 45,
|
112 |
+
"SYM": 46,
|
113 |
+
"VERB": 47,
|
114 |
+
"X": 48
|
|
|
115 |
},
|
116 |
"layer_norm_eps": 1e-12,
|
117 |
"max_position_embeddings": 512,
|
|
|
122 |
"position_embedding_type": "absolute",
|
123 |
"tokenizer_class": "BertTokenizerFast",
|
124 |
"torch_dtype": "float32",
|
125 |
+
"transformers_version": "4.19.2",
|
126 |
"type_vocab_size": 2,
|
127 |
"use_cache": true,
|
128 |
"vocab_size": 9415
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:72a82baa53d0f94a7ae47b5933238aa15c369913006dc75dedec8e75c55bb7c8
|
3 |
+
size 1250252273
|
supar.model
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:836d88dbb4f11fd2abfe580f94809b656a335f544a17ca15ba4ef6107577240d
|
3 |
+
size 1302635621
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"do_lower_case": false, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": false, "never_split": ["[PAD]", "[UNK]", "[CLS]", "[SEP]", "[MASK]"], "model_max_length": 512, "do_basic_tokenize": true, "
|
|
|
1 |
+
{"do_lower_case": false, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": false, "never_split": ["[PAD]", "[UNK]", "[CLS]", "[SEP]", "[MASK]"], "model_max_length": 512, "do_basic_tokenize": true, "tokenizer_class": "BertTokenizerFast"}
|