rudaoshi commited on
Commit
975e186
·
verified ·
1 Parent(s): 874b611

Upload folder using huggingface_hub

Browse files
config.json CHANGED
@@ -1,23 +1,11 @@
1
  {
2
- "architectures": [
3
- "BertForMaskedLM"
4
- ],
5
- "attention_probs_dropout_prob": 0.1,
6
- "gradient_checkpointing": false,
7
- "hidden_act": "gelu",
8
- "hidden_dropout_prob": 0.1,
9
- "hidden_size": 768,
10
- "initializer_range": 0.02,
11
- "intermediate_size": 3072,
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
- "variable": 1,
4
- "body": 2,
5
- "as:modification": 3,
6
- "as:punctuation": 4,
7
- "next_word": 5,
8
- "func.arg": 6,
9
- "pred.arg.1": 7,
10
- "pred.arg.2": 8,
11
- "@modification": 9,
12
- "@expression": 10,
13
- "@attribute": 11,
14
- "as:@modification": 12,
15
- "@parataxis": 13,
16
- "pred.arg.4": 14,
17
- "@@modification": 15,
18
- "as:discourse": 16,
19
- "punctuation": 17,
20
- "as:@modification+pred.arg.2": 18,
21
- "as:@modification+pred.arg.3": 19,
22
- "@ref+pred.arg.1": 20,
23
- "pred.arg.3": 21,
24
- "@ref": 22,
25
- "as:@modification+body": 23,
26
- "as:@modification+pred.arg.1": 24,
27
- "@vocative": 25,
28
- "@@attribute": 26,
29
  "@copula": 27,
30
- "as:vocative": 28,
31
- "@appositive": 29,
32
- "@@expression": 30,
33
- "@list": 31,
34
- "as:@@modification+pred.arg.1": 32,
35
- "as:@@modification": 33,
36
- "as:@ref": 34,
37
- "@@list": 35,
38
- "@@parataxis": 36,
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:082a40d1d913e768bdcfe274a513e9fe07ae93802f27388ac6dcc1b38fc376fa
3
- size 457869463
 
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
- {"do_lower_case": false, "model_max_length": 512}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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