hf-transformers-bot
commited on
Commit
·
acf31e8
1
Parent(s):
52bcb77
Upload tiny models for SplinterModel
Browse files- config.json +23 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +10 -0
- tokenizer.json +0 -0
- tokenizer_config.json +19 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"SplinterModel"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"hidden_act": "gelu",
|
7 |
+
"hidden_dropout_prob": 0.1,
|
8 |
+
"hidden_size": 32,
|
9 |
+
"initializer_range": 0.02,
|
10 |
+
"intermediate_size": 37,
|
11 |
+
"layer_norm_eps": 1e-12,
|
12 |
+
"max_position_embeddings": 512,
|
13 |
+
"model_type": "splinter",
|
14 |
+
"num_attention_heads": 4,
|
15 |
+
"num_hidden_layers": 5,
|
16 |
+
"pad_token_id": 0,
|
17 |
+
"question_token_id": 104,
|
18 |
+
"torch_dtype": "float32",
|
19 |
+
"transformers_version": "4.28.0.dev0",
|
20 |
+
"type_vocab_size": 16,
|
21 |
+
"use_cache": true,
|
22 |
+
"vocab_size": 28996
|
23 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:453445a9d8a211fe312943d9c2bff3f4bd2f6f6ea7d503d41b54395e1f8eae83
|
3 |
+
size 3946227
|
special_tokens_map.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"[QUESTION]"
|
4 |
+
],
|
5 |
+
"cls_token": "[CLS]",
|
6 |
+
"mask_token": "[MASK]",
|
7 |
+
"pad_token": "[PAD]",
|
8 |
+
"sep_token": "[SEP]",
|
9 |
+
"unk_token": "[UNK]"
|
10 |
+
}
|
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 |
+
"additional_special_tokens": [
|
3 |
+
"[QUESTION]"
|
4 |
+
],
|
5 |
+
"clean_up_tokenization_spaces": true,
|
6 |
+
"cls_token": "[CLS]",
|
7 |
+
"do_basic_tokenize": true,
|
8 |
+
"do_lower_case": false,
|
9 |
+
"mask_token": "[MASK]",
|
10 |
+
"model_max_length": 512,
|
11 |
+
"never_split": null,
|
12 |
+
"pad_token": "[PAD]",
|
13 |
+
"sep_token": "[SEP]",
|
14 |
+
"special_tokens_map_file": "/home/runner/.cache/huggingface/hub/models--tau--splinter-base/snapshots/d6bc929405a27b7502bbab767f615c89b0e52373/special_tokens_map.json",
|
15 |
+
"strip_accents": null,
|
16 |
+
"tokenize_chinese_chars": true,
|
17 |
+
"tokenizer_class": "SplinterTokenizer",
|
18 |
+
"unk_token": "[UNK]"
|
19 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|