Upload 4 files
Browse files- config.json +7 -9
- tokenizer_config.json +2 -4
config.json
CHANGED
@@ -1,26 +1,24 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "/shakespeare-data/models/rexwang8/py125",
|
3 |
"architectures": [
|
4 |
"GPTNeoXForCausalLM"
|
5 |
],
|
6 |
"bos_token_id": 0,
|
7 |
"eos_token_id": 0,
|
8 |
-
"gradient_checkpointing": true,
|
9 |
"hidden_act": "gelu",
|
10 |
-
"hidden_size":
|
11 |
"initializer_range": 0.02,
|
12 |
-
"intermediate_size":
|
13 |
"layer_norm_eps": 1e-05,
|
14 |
"max_position_embeddings": 2048,
|
15 |
"model_type": "gpt_neox",
|
16 |
-
"num_attention_heads":
|
17 |
-
"num_hidden_layers":
|
18 |
"rotary_emb_base": 10000,
|
19 |
"rotary_pct": 0.25,
|
20 |
"tie_word_embeddings": false,
|
21 |
"torch_dtype": "float16",
|
22 |
-
"transformers_version": "4.
|
23 |
-
"use_cache":
|
24 |
"use_parallel_residual": true,
|
25 |
-
"vocab_size":
|
26 |
}
|
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"GPTNeoXForCausalLM"
|
4 |
],
|
5 |
"bos_token_id": 0,
|
6 |
"eos_token_id": 0,
|
|
|
7 |
"hidden_act": "gelu",
|
8 |
+
"hidden_size": 2560,
|
9 |
"initializer_range": 0.02,
|
10 |
+
"intermediate_size": 10240,
|
11 |
"layer_norm_eps": 1e-05,
|
12 |
"max_position_embeddings": 2048,
|
13 |
"model_type": "gpt_neox",
|
14 |
+
"num_attention_heads": 32,
|
15 |
+
"num_hidden_layers": 32,
|
16 |
"rotary_emb_base": 10000,
|
17 |
"rotary_pct": 0.25,
|
18 |
"tie_word_embeddings": false,
|
19 |
"torch_dtype": "float16",
|
20 |
+
"transformers_version": "4.24.0",
|
21 |
+
"use_cache": true,
|
22 |
"use_parallel_residual": true,
|
23 |
+
"vocab_size": 50304
|
24 |
}
|
tokenizer_config.json
CHANGED
@@ -1,10 +1,8 @@
|
|
1 |
{
|
2 |
"add_prefix_space": false,
|
3 |
"bos_token": "<|endoftext|>",
|
4 |
-
"eos_token": "",
|
5 |
-
"
|
6 |
-
"name_or_path": "/shakespeare-data/models/rexwang8/py125",
|
7 |
-
"pad_token": "",
|
8 |
"special_tokens_map_file": "/fsx/home-hailey/.cache/huggingface/hub/models--EleutherAI--gpt-neox-20b/snapshots/3523781c8df75f7741687a4284f6f70e1afa12f4/special_tokens_map.json",
|
9 |
"tokenizer_class": "GPTNeoXTokenizer",
|
10 |
"unk_token": "<|endoftext|>"
|
|
|
1 |
{
|
2 |
"add_prefix_space": false,
|
3 |
"bos_token": "<|endoftext|>",
|
4 |
+
"eos_token": "<|endoftext|>",
|
5 |
+
"name_or_path": "EleutherAI/gpt-neox-20b",
|
|
|
|
|
6 |
"special_tokens_map_file": "/fsx/home-hailey/.cache/huggingface/hub/models--EleutherAI--gpt-neox-20b/snapshots/3523781c8df75f7741687a4284f6f70e1afa12f4/special_tokens_map.json",
|
7 |
"tokenizer_class": "GPTNeoXTokenizer",
|
8 |
"unk_token": "<|endoftext|>"
|