Upload folder using huggingface_hub
Browse files- config.json +10 -22
- id2label.json +39 -0
- label2id.json +35 -60
- pytorch_model.bin +2 -2
- tokenizer.json +0 -0
- tokenizer_config.json +56 -1
- wordlingua_statistics.json +0 -0
config.json
CHANGED
|
@@ -1,23 +1,11 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
"
|
| 6 |
-
"
|
| 7 |
-
"
|
| 8 |
-
"
|
| 9 |
-
"
|
| 10 |
-
"
|
| 11 |
-
|
| 12 |
-
"layer_norm_eps": 1e-12,
|
| 13 |
-
"max_position_embeddings": 512,
|
| 14 |
-
"model_type": "bert",
|
| 15 |
-
"num_attention_heads": 12,
|
| 16 |
-
"num_hidden_layers": 12,
|
| 17 |
-
"pad_token_id": 0,
|
| 18 |
-
"position_embedding_type": "absolute",
|
| 19 |
-
"transformers_version": "4.6.0.dev0",
|
| 20 |
-
"type_vocab_size": 2,
|
| 21 |
-
"use_cache": true,
|
| 22 |
-
"vocab_size": 28996
|
| 23 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"bert_model_name": "bert-base-cased",
|
| 3 |
+
"bert_hidden_size": 768,
|
| 4 |
+
"label_num": 37,
|
| 5 |
+
"arc_hidden_size": 512,
|
| 6 |
+
"rel_hidden_size": 256,
|
| 7 |
+
"node_hidden_size": 256,
|
| 8 |
+
"dropout": 0.1,
|
| 9 |
+
"word_pooling": "mean",
|
| 10 |
+
"num_node_types": 15
|
| 11 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
id2label.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"0": "UNK",
|
| 3 |
+
"1": "as:punctuation",
|
| 4 |
+
"2": "pred.arg.1",
|
| 5 |
+
"3": "variable",
|
| 6 |
+
"4": "body",
|
| 7 |
+
"5": "as:modification",
|
| 8 |
+
"6": "@modification_of",
|
| 9 |
+
"7": "func.arg",
|
| 10 |
+
"8": "@expression",
|
| 11 |
+
"9": "next_word",
|
| 12 |
+
"10": "@list",
|
| 13 |
+
"11": "pred.arg.2",
|
| 14 |
+
"12": "pred.arg.3",
|
| 15 |
+
"13": "pred.arg.4",
|
| 16 |
+
"14": "@lower",
|
| 17 |
+
"15": "@discourse_of",
|
| 18 |
+
"16": "@ref_of",
|
| 19 |
+
"17": "@modification_of+pred.arg.1",
|
| 20 |
+
"18": "@attribute_of",
|
| 21 |
+
"19": "as:discourse",
|
| 22 |
+
"20": "punctuation",
|
| 23 |
+
"21": "@modification_of+pred.arg.2",
|
| 24 |
+
"22": "@parataxis",
|
| 25 |
+
"23": "func.arg+func.arg",
|
| 26 |
+
"24": "@appositive_of",
|
| 27 |
+
"25": "as:vocative",
|
| 28 |
+
"26": "@upper+pred.arg.1",
|
| 29 |
+
"27": "@copula",
|
| 30 |
+
"28": "@modification_of+body",
|
| 31 |
+
"29": "discourse",
|
| 32 |
+
"30": "@vocative_of",
|
| 33 |
+
"31": "@modification_of+pred.arg.3",
|
| 34 |
+
"32": "@upper",
|
| 35 |
+
"33": "@upper+pred.arg.2",
|
| 36 |
+
"34": "repeat",
|
| 37 |
+
"35": "@list+pred.arg.1",
|
| 38 |
+
"36": "nonsense"
|
| 39 |
+
}
|
label2id.json
CHANGED
|
@@ -1,64 +1,39 @@
|
|
| 1 |
{
|
| 2 |
"UNK": 0,
|
| 3 |
-
"
|
| 4 |
-
"
|
| 5 |
-
"
|
| 6 |
-
"
|
| 7 |
-
"
|
| 8 |
-
"
|
| 9 |
-
"
|
| 10 |
-
"
|
| 11 |
-
"
|
| 12 |
-
"@
|
| 13 |
-
"
|
| 14 |
-
"
|
| 15 |
-
"
|
| 16 |
-
"
|
| 17 |
-
"@
|
| 18 |
-
"
|
| 19 |
-
"
|
| 20 |
-
"
|
| 21 |
-
"as:
|
| 22 |
-
"
|
| 23 |
-
"pred.arg.
|
| 24 |
-
"@
|
| 25 |
-
"
|
| 26 |
-
"
|
| 27 |
-
"
|
| 28 |
-
"@
|
| 29 |
"@copula": 27,
|
| 30 |
-
"
|
| 31 |
-
"
|
| 32 |
-
"@
|
| 33 |
-
"@
|
| 34 |
-
"
|
| 35 |
-
"
|
| 36 |
-
"
|
| 37 |
-
"@
|
| 38 |
-
"
|
| 39 |
-
"@appositive+pred.arg.2": 37,
|
| 40 |
-
"as:func.arg": 38,
|
| 41 |
-
"@discourse": 39,
|
| 42 |
-
"@@ref": 40,
|
| 43 |
-
"@@@list": 41,
|
| 44 |
-
"@@@modification": 42,
|
| 45 |
-
"as:@@modification+pred.arg.2": 43,
|
| 46 |
-
"as:@@ref": 44,
|
| 47 |
-
"@modification+pred.arg.2": 45,
|
| 48 |
-
"@@appositive": 46,
|
| 49 |
-
"as:pred.arg.2": 47,
|
| 50 |
-
"as:pred.arg.1": 48,
|
| 51 |
-
"as:repeat": 49,
|
| 52 |
-
"@vocative+pred.arg.1": 50,
|
| 53 |
-
"as:@appositive": 51,
|
| 54 |
-
"as:@attribute": 52,
|
| 55 |
-
"@modification+pred.arg.1": 53,
|
| 56 |
-
"@@@modification+@@modification": 54,
|
| 57 |
-
"@ref+pred.arg.2": 55,
|
| 58 |
-
"@@@appositive": 56,
|
| 59 |
-
"@@modification+pred.arg.2": 57,
|
| 60 |
-
"as:@@@ref": 58,
|
| 61 |
-
"as:@@@@modification": 59,
|
| 62 |
-
"as:@@modification+@modification": 60,
|
| 63 |
-
"@@ref+pred.arg.1": 61
|
| 64 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"UNK": 0,
|
| 3 |
+
"as:punctuation": 1,
|
| 4 |
+
"pred.arg.1": 2,
|
| 5 |
+
"variable": 3,
|
| 6 |
+
"body": 4,
|
| 7 |
+
"as:modification": 5,
|
| 8 |
+
"@modification_of": 6,
|
| 9 |
+
"func.arg": 7,
|
| 10 |
+
"@expression": 8,
|
| 11 |
+
"next_word": 9,
|
| 12 |
+
"@list": 10,
|
| 13 |
+
"pred.arg.2": 11,
|
| 14 |
+
"pred.arg.3": 12,
|
| 15 |
+
"pred.arg.4": 13,
|
| 16 |
+
"@lower": 14,
|
| 17 |
+
"@discourse_of": 15,
|
| 18 |
+
"@ref_of": 16,
|
| 19 |
+
"@modification_of+pred.arg.1": 17,
|
| 20 |
+
"@attribute_of": 18,
|
| 21 |
+
"as:discourse": 19,
|
| 22 |
+
"punctuation": 20,
|
| 23 |
+
"@modification_of+pred.arg.2": 21,
|
| 24 |
+
"@parataxis": 22,
|
| 25 |
+
"func.arg+func.arg": 23,
|
| 26 |
+
"@appositive_of": 24,
|
| 27 |
+
"as:vocative": 25,
|
| 28 |
+
"@upper+pred.arg.1": 26,
|
| 29 |
"@copula": 27,
|
| 30 |
+
"@modification_of+body": 28,
|
| 31 |
+
"discourse": 29,
|
| 32 |
+
"@vocative_of": 30,
|
| 33 |
+
"@modification_of+pred.arg.3": 31,
|
| 34 |
+
"@upper": 32,
|
| 35 |
+
"@upper+pred.arg.2": 33,
|
| 36 |
+
"repeat": 34,
|
| 37 |
+
"@list+pred.arg.1": 35,
|
| 38 |
+
"nonsense": 36
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
}
|
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:6fde42a1471d4b3a7f218572eb0e01615c36be280f50fde34ab20c404a36e942
|
| 3 |
+
size 451264190
|
tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
CHANGED
|
@@ -1 +1,56 @@
|
|
| 1 |
-
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": false,
|
| 45 |
+
"cls_token": "[CLS]",
|
| 46 |
+
"do_lower_case": false,
|
| 47 |
+
"extra_special_tokens": {},
|
| 48 |
+
"mask_token": "[MASK]",
|
| 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 |
+
}
|
wordlingua_statistics.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|