yuanzhoulvpi
commited on
Commit
•
f406813
1
Parent(s):
641d23c
Upload 5 files
Browse files- config.json +32 -0
- generation_config.json +7 -0
- special_tokens_map.json +11 -0
- tokenizer.json +0 -0
- tokenizer_config.json +9 -0
config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "dolly_v2_3b",
|
3 |
+
"architectures": [
|
4 |
+
"GPTNeoXForCausalLM"
|
5 |
+
],
|
6 |
+
"bos_token_id": 0,
|
7 |
+
"custom_pipelines": {
|
8 |
+
"text-generation": {
|
9 |
+
"impl": "instruct_pipeline.InstructionTextGenerationPipeline",
|
10 |
+
"pt": "AutoModelForCausalLM",
|
11 |
+
"tf": "TFAutoModelForCausalLM"
|
12 |
+
}
|
13 |
+
},
|
14 |
+
"eos_token_id": 0,
|
15 |
+
"hidden_act": "gelu",
|
16 |
+
"hidden_size": 2560,
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 10240,
|
19 |
+
"layer_norm_eps": 1e-05,
|
20 |
+
"max_position_embeddings": 2048,
|
21 |
+
"model_type": "gpt_neox",
|
22 |
+
"num_attention_heads": 32,
|
23 |
+
"num_hidden_layers": 32,
|
24 |
+
"rotary_emb_base": 10000,
|
25 |
+
"rotary_pct": 0.25,
|
26 |
+
"tie_word_embeddings": false,
|
27 |
+
"torch_dtype": "bfloat16",
|
28 |
+
"transformers_version": "4.27.3",
|
29 |
+
"use_cache": false,
|
30 |
+
"use_parallel_residual": true,
|
31 |
+
"vocab_size": 50280
|
32 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"eos_token_id": 0,
|
5 |
+
"transformers_version": "4.27.3",
|
6 |
+
"use_cache": false
|
7 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"### End",
|
4 |
+
"### Instruction:",
|
5 |
+
"### Response:"
|
6 |
+
],
|
7 |
+
"bos_token": "<|endoftext|>",
|
8 |
+
"eos_token": "<|endoftext|>",
|
9 |
+
"pad_token": "<|endoftext|>",
|
10 |
+
"unk_token": "<|endoftext|>"
|
11 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": "<|endoftext|>",
|
4 |
+
"eos_token": "<|endoftext|>",
|
5 |
+
"model_max_length": 1000000000000000019884624838656,
|
6 |
+
"special_tokens_map_file": "/admin/home-hailey/.cache/huggingface/hub/models--EleutherAI--gpt-neox-20b/snapshots/4e49eadb5d14bd22f314ec3f45b69a87b88c7691/special_tokens_map.json",
|
7 |
+
"tokenizer_class": "GPTNeoXTokenizer",
|
8 |
+
"unk_token": "<|endoftext|>"
|
9 |
+
}
|