Upload GPTNeoXForCausalLM
Browse files- config.json +31 -0
- generation_config.json +6 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "OpenAssistant/stablelm-7b-sft-v7-epoch-3",
|
3 |
+
"architectures": [
|
4 |
+
"GPTNeoXForCausalLM"
|
5 |
+
],
|
6 |
+
"bos_token_id": 0,
|
7 |
+
"eos_token_id": 0,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_size": 6144,
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"intermediate_size": 24576,
|
12 |
+
"layer_norm_eps": 1e-05,
|
13 |
+
"max_position_embeddings": 4096,
|
14 |
+
"model_type": "gpt_neox",
|
15 |
+
"num_attention_heads": 48,
|
16 |
+
"num_hidden_layers": 16,
|
17 |
+
"quantization_config": {
|
18 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
19 |
+
"llm_int8_skip_modules": null,
|
20 |
+
"llm_int8_threshold": 6.0,
|
21 |
+
"load_in_8bit": true
|
22 |
+
},
|
23 |
+
"rotary_emb_base": 10000,
|
24 |
+
"rotary_pct": 0.25,
|
25 |
+
"tie_word_embeddings": false,
|
26 |
+
"torch_dtype": "float16",
|
27 |
+
"transformers_version": "4.28.1",
|
28 |
+
"use_cache": true,
|
29 |
+
"use_parallel_residual": true,
|
30 |
+
"vocab_size": 50288
|
31 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"eos_token_id": 0,
|
5 |
+
"transformers_version": "4.28.1"
|
6 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fd6d4a3c8dc9ea4a137bf06333fcbb4183c23c9569683c77adae0b59344bac9d
|
3 |
+
size 8758295657
|