Adding ONNX file of this model
#2
by
egeorcun
- opened
- onnx/config.json +21 -0
- onnx/model.onnx +3 -0
- onnx/special_tokens_map.json +7 -0
- onnx/tokenizer.json +0 -0
- onnx/tokenizer_config.json +15 -0
- onnx/vocab.txt +0 -0
onnx/config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "prajjwal1/bert-mini",
|
3 |
+
"attention_probs_dropout_prob": 0.1,
|
4 |
+
"classifier_dropout": null,
|
5 |
+
"hidden_act": "gelu",
|
6 |
+
"hidden_dropout_prob": 0.1,
|
7 |
+
"hidden_size": 256,
|
8 |
+
"initializer_range": 0.02,
|
9 |
+
"intermediate_size": 1024,
|
10 |
+
"layer_norm_eps": 1e-12,
|
11 |
+
"max_position_embeddings": 512,
|
12 |
+
"model_type": "bert",
|
13 |
+
"num_attention_heads": 4,
|
14 |
+
"num_hidden_layers": 4,
|
15 |
+
"pad_token_id": 0,
|
16 |
+
"position_embedding_type": "absolute",
|
17 |
+
"transformers_version": "4.30.2",
|
18 |
+
"type_vocab_size": 2,
|
19 |
+
"use_cache": true,
|
20 |
+
"vocab_size": 30522
|
21 |
+
}
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ded98cd772fae79d56e4b22e2640792fb2761e2e81c4053a032af54392d0efc5
|
3 |
+
size 44505856
|
onnx/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 |
+
}
|
onnx/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
onnx/tokenizer_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"clean_up_tokenization_spaces": true,
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"do_basic_tokenize": true,
|
5 |
+
"do_lower_case": true,
|
6 |
+
"mask_token": "[MASK]",
|
7 |
+
"model_max_length": 1000000000000000019884624838656,
|
8 |
+
"never_split": null,
|
9 |
+
"pad_token": "[PAD]",
|
10 |
+
"sep_token": "[SEP]",
|
11 |
+
"strip_accents": null,
|
12 |
+
"tokenize_chinese_chars": true,
|
13 |
+
"tokenizer_class": "BertTokenizer",
|
14 |
+
"unk_token": "[UNK]"
|
15 |
+
}
|
onnx/vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|