Update tiny models for SplinterForQuestionAnswering
Browse files- config.json +25 -0
- model.safetensors +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +19 -0
config.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"SplinterForQuestionAnswering"
|
| 4 |
+
],
|
| 5 |
+
"attention_probs_dropout_prob": 0.1,
|
| 6 |
+
"bos_token_id": null,
|
| 7 |
+
"dtype": "float32",
|
| 8 |
+
"eos_token_id": null,
|
| 9 |
+
"hidden_act": "gelu",
|
| 10 |
+
"hidden_dropout_prob": 0.1,
|
| 11 |
+
"hidden_size": 32,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"intermediate_size": 37,
|
| 14 |
+
"is_decoder": false,
|
| 15 |
+
"layer_norm_eps": 1e-12,
|
| 16 |
+
"max_position_embeddings": 512,
|
| 17 |
+
"model_type": "splinter",
|
| 18 |
+
"num_attention_heads": 4,
|
| 19 |
+
"num_hidden_layers": 2,
|
| 20 |
+
"pad_token_id": 0,
|
| 21 |
+
"question_token_id": 104,
|
| 22 |
+
"transformers_version": "5.16.0.dev0",
|
| 23 |
+
"type_vocab_size": 16,
|
| 24 |
+
"vocab_size": 28996
|
| 25 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0e04db2448e7f1ff6ab5dab3fb713e261cda152f6d638fb9f415749975df54d6
|
| 3 |
+
size 3866008
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"cls_token": "[CLS]",
|
| 4 |
+
"do_lower_case": false,
|
| 5 |
+
"is_local": true,
|
| 6 |
+
"local_files_only": false,
|
| 7 |
+
"mask_token": "[MASK]",
|
| 8 |
+
"model_max_length": 512,
|
| 9 |
+
"model_specific_special_tokens": {
|
| 10 |
+
"question_token": "[QUESTION]"
|
| 11 |
+
},
|
| 12 |
+
"pad_token": "[PAD]",
|
| 13 |
+
"question_token": "[QUESTION]",
|
| 14 |
+
"sep_token": "[SEP]",
|
| 15 |
+
"strip_accents": null,
|
| 16 |
+
"tokenize_chinese_chars": true,
|
| 17 |
+
"tokenizer_class": "SplinterTokenizer",
|
| 18 |
+
"unk_token": "[UNK]"
|
| 19 |
+
}
|