TKDKid1000
commited on
Commit
•
da78b31
1
Parent(s):
4b2ea29
Upload GPTNeoXForCausalLM
Browse files- config.json +50 -0
- generation_config.json +6 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "EleutherAI/pythia-2.8b-deduped",
|
3 |
+
"architectures": [
|
4 |
+
"GPTNeoXForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": 0.1,
|
9 |
+
"eos_token_id": 0,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout": 0.0,
|
12 |
+
"hidden_size": 2560,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 10240,
|
15 |
+
"layer_norm_eps": 1e-05,
|
16 |
+
"max_position_embeddings": 2048,
|
17 |
+
"model_type": "gpt_neox",
|
18 |
+
"num_attention_heads": 32,
|
19 |
+
"num_hidden_layers": 32,
|
20 |
+
"quantization_config": {
|
21 |
+
"batch_size": 1,
|
22 |
+
"bits": 4,
|
23 |
+
"block_name_to_quantize": "gpt_neox.layers",
|
24 |
+
"damp_percent": 0.1,
|
25 |
+
"dataset": "c4",
|
26 |
+
"desc_act": false,
|
27 |
+
"disable_exllama": true,
|
28 |
+
"group_size": 128,
|
29 |
+
"max_input_length": null,
|
30 |
+
"model_seqlen": 1768,
|
31 |
+
"module_name_preceding_first_block": [
|
32 |
+
"gpt_neox.embed_in",
|
33 |
+
"gpt_neox.emb_dropout"
|
34 |
+
],
|
35 |
+
"pad_token_id": null,
|
36 |
+
"quant_method": "gptq",
|
37 |
+
"sym": true,
|
38 |
+
"true_sequential": true,
|
39 |
+
"use_cuda_fp16": true
|
40 |
+
},
|
41 |
+
"rope_scaling": null,
|
42 |
+
"rotary_emb_base": 10000,
|
43 |
+
"rotary_pct": 0.25,
|
44 |
+
"tie_word_embeddings": false,
|
45 |
+
"torch_dtype": "float16",
|
46 |
+
"transformers_version": "4.34.1",
|
47 |
+
"use_cache": false,
|
48 |
+
"use_parallel_residual": true,
|
49 |
+
"vocab_size": 50304
|
50 |
+
}
|
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.34.1"
|
6 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa3810bf172b69d6e306e28fd27425f46693c4a3216d6b84849a548efc1d7c87
|
3 |
+
size 1827253018
|