RajuKandasamy
commited on
Commit
•
d135ec1
1
Parent(s):
3ddf7c2
Upload GPTNeoXForCausalLM
Browse files- config.json +38 -0
- generation_config.json +7 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "databricks/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 |
+
"quantization_config": {
|
25 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
26 |
+
"llm_int8_skip_modules": null,
|
27 |
+
"llm_int8_threshold": 6.0,
|
28 |
+
"load_in_8bit": true
|
29 |
+
},
|
30 |
+
"rotary_emb_base": 10000,
|
31 |
+
"rotary_pct": 0.25,
|
32 |
+
"tie_word_embeddings": false,
|
33 |
+
"torch_dtype": "float16",
|
34 |
+
"transformers_version": "4.28.1",
|
35 |
+
"use_cache": false,
|
36 |
+
"use_parallel_residual": true,
|
37 |
+
"vocab_size": 50280
|
38 |
+
}
|
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.28.1",
|
6 |
+
"use_cache": false
|
7 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2ea4f9a3a09b4e0f79f542f5ef2baf6c60b98162f0c76df65e17cfcd0d65608b
|
3 |
+
size 3170963293
|