Upload 7 files
Browse files- .gitattributes +1 -0
- config.json +91 -0
- model.safetensors +3 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +37 -0
- tokenizer.json +0 -0
- tokenizer_config.json +63 -0
- vocab.txt +3 -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 |
+
vocab.txt filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "dicta-il/dictabert",
|
3 |
+
"architectures": [
|
4 |
+
"BertForJointParsing"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"do_lex": true,
|
9 |
+
"do_morph": true,
|
10 |
+
"do_ner": true,
|
11 |
+
"do_prefix": true,
|
12 |
+
"do_syntax": true,
|
13 |
+
"gradient_checkpointing": false,
|
14 |
+
"hidden_act": "gelu",
|
15 |
+
"hidden_dropout_prob": 0.1,
|
16 |
+
"hidden_size": 768,
|
17 |
+
"id2label": {
|
18 |
+
"0": "B-ANG",
|
19 |
+
"1": "B-DUC",
|
20 |
+
"2": "B-EVE",
|
21 |
+
"3": "B-FAC",
|
22 |
+
"4": "B-GPE",
|
23 |
+
"5": "B-LOC",
|
24 |
+
"6": "B-ORG",
|
25 |
+
"7": "B-PER",
|
26 |
+
"8": "B-WOA",
|
27 |
+
"9": "B-INFORMAL",
|
28 |
+
"10": "B-MISC",
|
29 |
+
"11": "B-TIMEX",
|
30 |
+
"12": "B-TTL",
|
31 |
+
"13": "I-DUC",
|
32 |
+
"14": "I-EVE",
|
33 |
+
"15": "I-FAC",
|
34 |
+
"16": "I-GPE",
|
35 |
+
"17": "I-LOC",
|
36 |
+
"18": "I-ORG",
|
37 |
+
"19": "I-PER",
|
38 |
+
"20": "I-WOA",
|
39 |
+
"21": "I-ANG",
|
40 |
+
"22": "I-INFORMAL",
|
41 |
+
"23": "I-MISC",
|
42 |
+
"24": "I-TIMEX",
|
43 |
+
"25": "I-TTL",
|
44 |
+
"26": "O"
|
45 |
+
},
|
46 |
+
"initializer_range": 0.02,
|
47 |
+
"intermediate_size": 3072,
|
48 |
+
"label2id": {
|
49 |
+
"B-ANG": 0,
|
50 |
+
"B-DUC": 1,
|
51 |
+
"B-EVE": 2,
|
52 |
+
"B-FAC": 3,
|
53 |
+
"B-GPE": 4,
|
54 |
+
"B-INFORMAL": 9,
|
55 |
+
"B-LOC": 5,
|
56 |
+
"B-MISC": 10,
|
57 |
+
"B-ORG": 6,
|
58 |
+
"B-PER": 7,
|
59 |
+
"B-TIMEX": 11,
|
60 |
+
"B-TTL": 12,
|
61 |
+
"B-WOA": 8,
|
62 |
+
"I-ANG": 21,
|
63 |
+
"I-DUC": 13,
|
64 |
+
"I-EVE": 14,
|
65 |
+
"I-FAC": 15,
|
66 |
+
"I-GPE": 16,
|
67 |
+
"I-INFORMAL": 22,
|
68 |
+
"I-LOC": 17,
|
69 |
+
"I-MISC": 23,
|
70 |
+
"I-ORG": 18,
|
71 |
+
"I-PER": 19,
|
72 |
+
"I-TIMEX": 24,
|
73 |
+
"I-TTL": 25,
|
74 |
+
"I-WOA": 20,
|
75 |
+
"O": 26
|
76 |
+
},
|
77 |
+
"layer_norm_eps": 1e-12,
|
78 |
+
"max_position_embeddings": 512,
|
79 |
+
"model_type": "bert",
|
80 |
+
"newmodern": true,
|
81 |
+
"num_attention_heads": 12,
|
82 |
+
"num_hidden_layers": 12,
|
83 |
+
"pad_token_id": 0,
|
84 |
+
"position_embedding_type": "absolute",
|
85 |
+
"syntax_head_size": 128,
|
86 |
+
"torch_dtype": "float32",
|
87 |
+
"transformers_version": "4.36.2",
|
88 |
+
"type_vocab_size": 2,
|
89 |
+
"use_cache": true,
|
90 |
+
"vocab_size": 128000
|
91 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:567156cdc5011b7ae8cfdce995c7771eb074f326ab2e30222bd6ec91e640c2c0
|
3 |
+
size 744055504
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c044cfbef55940700248d15c10f48a79640605e756a19601b310ea8c92827e73
|
3 |
+
size 744123513
|
special_tokens_map.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": {
|
3 |
+
"content": "[CLS]",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"mask_token": {
|
10 |
+
"content": "[MASK]",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "[PAD]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"sep_token": {
|
24 |
+
"content": "[SEP]",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"unk_token": {
|
31 |
+
"content": "[UNK]",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
}
|
37 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[UNK]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "[CLS]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "[SEP]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "[PAD]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"4": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
},
|
43 |
+
"5": {
|
44 |
+
"content": "[BLANK]",
|
45 |
+
"lstrip": false,
|
46 |
+
"normalized": false,
|
47 |
+
"rstrip": false,
|
48 |
+
"single_word": false,
|
49 |
+
"special": true
|
50 |
+
}
|
51 |
+
},
|
52 |
+
"clean_up_tokenization_spaces": true,
|
53 |
+
"cls_token": "[CLS]",
|
54 |
+
"do_lower_case": true,
|
55 |
+
"mask_token": "[MASK]",
|
56 |
+
"model_max_length": 512,
|
57 |
+
"pad_token": "[PAD]",
|
58 |
+
"sep_token": "[SEP]",
|
59 |
+
"strip_accents": null,
|
60 |
+
"tokenize_chinese_chars": true,
|
61 |
+
"tokenizer_class": "BertTokenizer",
|
62 |
+
"unk_token": "[UNK]"
|
63 |
+
}
|
vocab.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0fb90bfa35244d26f0065d1fcd0b5becc3da3d44d616a7e2aacaf6320b9fa2d0
|
3 |
+
size 1500244
|