Update tiny models for GPTNeoForQuestionAnswering
Browse files- config.json +40 -0
- model.safetensors +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +13 -0
config.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_function": "gelu_new",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"GPTNeoForQuestionAnswering"
|
| 5 |
+
],
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"attention_layers": [
|
| 8 |
+
"global",
|
| 9 |
+
"local"
|
| 10 |
+
],
|
| 11 |
+
"attention_types": [
|
| 12 |
+
[
|
| 13 |
+
[
|
| 14 |
+
"global",
|
| 15 |
+
"local"
|
| 16 |
+
],
|
| 17 |
+
1
|
| 18 |
+
]
|
| 19 |
+
],
|
| 20 |
+
"bos_token_id": 50256,
|
| 21 |
+
"classifier_dropout": 0.1,
|
| 22 |
+
"dtype": "float32",
|
| 23 |
+
"embed_dropout": 0.0,
|
| 24 |
+
"eos_token_id": 50256,
|
| 25 |
+
"hidden_size": 32,
|
| 26 |
+
"initializer_range": 0.02,
|
| 27 |
+
"intermediate_size": null,
|
| 28 |
+
"layer_norm_epsilon": 1e-05,
|
| 29 |
+
"max_position_embeddings": 512,
|
| 30 |
+
"model_type": "gpt_neo",
|
| 31 |
+
"num_heads": 4,
|
| 32 |
+
"num_layers": 2,
|
| 33 |
+
"pad_token_id": 50256,
|
| 34 |
+
"resid_dropout": 0.0,
|
| 35 |
+
"tie_word_embeddings": true,
|
| 36 |
+
"transformers_version": "5.16.0.dev0",
|
| 37 |
+
"use_cache": true,
|
| 38 |
+
"vocab_size": 50257,
|
| 39 |
+
"window_size": 7
|
| 40 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49a3a227dd18377447f815fc68faf1a42fe0fb18f8ca976ffed1b2b97c2511bd
|
| 3 |
+
size 6602872
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": "<|endoftext|>",
|
| 5 |
+
"eos_token": "<|endoftext|>",
|
| 6 |
+
"errors": "replace",
|
| 7 |
+
"is_local": true,
|
| 8 |
+
"local_files_only": false,
|
| 9 |
+
"model_max_length": 512,
|
| 10 |
+
"pad_token": null,
|
| 11 |
+
"tokenizer_class": "GPT2Tokenizer",
|
| 12 |
+
"unk_token": "<|endoftext|>"
|
| 13 |
+
}
|