theguru666
commited on
Commit
•
322fc02
1
Parent(s):
a5a2efb
Upload 6 files
Browse files- config.json +29 -0
- quantize_config.json +32 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +17 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "deutsche-telekom/electra-base-de-squad2",
|
3 |
+
"architectures": [
|
4 |
+
"ElectraForQuestionAnswering"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"embedding_size": 768,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 3072,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "electra",
|
17 |
+
"num_attention_heads": 12,
|
18 |
+
"num_hidden_layers": 12,
|
19 |
+
"pad_token_id": 0,
|
20 |
+
"position_embedding_type": "absolute",
|
21 |
+
"summary_activation": "gelu",
|
22 |
+
"summary_last_dropout": 0.1,
|
23 |
+
"summary_type": "first",
|
24 |
+
"summary_use_proj": true,
|
25 |
+
"transformers_version": "4.33.2",
|
26 |
+
"type_vocab_size": 2,
|
27 |
+
"use_cache": true,
|
28 |
+
"vocab_size": 32767
|
29 |
+
}
|
quantize_config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"per_channel": true,
|
3 |
+
"reduce_range": true,
|
4 |
+
"per_model_config": {
|
5 |
+
"model": {
|
6 |
+
"op_types": [
|
7 |
+
"Softmax",
|
8 |
+
"ReduceMean",
|
9 |
+
"Sqrt",
|
10 |
+
"Cast",
|
11 |
+
"Slice",
|
12 |
+
"MatMul",
|
13 |
+
"Mul",
|
14 |
+
"Transpose",
|
15 |
+
"Reshape",
|
16 |
+
"Sub",
|
17 |
+
"Unsqueeze",
|
18 |
+
"Constant",
|
19 |
+
"Gather",
|
20 |
+
"Div",
|
21 |
+
"Add",
|
22 |
+
"Erf",
|
23 |
+
"Pow",
|
24 |
+
"Concat",
|
25 |
+
"Shape",
|
26 |
+
"Squeeze",
|
27 |
+
"Split"
|
28 |
+
],
|
29 |
+
"weight_type": "QInt8"
|
30 |
+
}
|
31 |
+
}
|
32 |
+
}
|
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,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"clean_up_tokenization_spaces": true,
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"do_basic_tokenize": true,
|
5 |
+
"do_lower_case": true,
|
6 |
+
"full_tokenizer_file": null,
|
7 |
+
"mask_token": "[MASK]",
|
8 |
+
"max_len": 512,
|
9 |
+
"model_max_length": 512,
|
10 |
+
"never_split": null,
|
11 |
+
"pad_token": "[PAD]",
|
12 |
+
"sep_token": "[SEP]",
|
13 |
+
"strip_accents": false,
|
14 |
+
"tokenize_chinese_chars": true,
|
15 |
+
"tokenizer_class": "ElectraTokenizer",
|
16 |
+
"unk_token": "[UNK]"
|
17 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|