danny0122 commited on
Commit
dfd6212
1 Parent(s): 172ff97

Upload GPTNeoXForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +52 -0
  2. generation_config.json +6 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "stabilityai/stablelm-base-alpha-3b",
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": 4096,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 16384,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 4096,
17
+ "model_type": "gpt_neox",
18
+ "num_attention_heads": 32,
19
+ "num_hidden_layers": 16,
20
+ "quantization_config": {
21
+ "batch_size": 1,
22
+ "bits": 3,
23
+ "block_name_to_quantize": null,
24
+ "cache_block_outputs": true,
25
+ "damp_percent": 0.1,
26
+ "dataset": "c4",
27
+ "desc_act": false,
28
+ "exllama_config": {
29
+ "version": 1
30
+ },
31
+ "group_size": 128,
32
+ "max_input_length": null,
33
+ "model_seqlen": null,
34
+ "module_name_preceding_first_block": null,
35
+ "pad_token_id": null,
36
+ "quant_method": "gptq",
37
+ "sym": true,
38
+ "tokenizer": null,
39
+ "true_sequential": true,
40
+ "use_cuda_fp16": false,
41
+ "use_exllama": true
42
+ },
43
+ "rope_scaling": null,
44
+ "rotary_emb_base": 10000,
45
+ "rotary_pct": 0.25,
46
+ "tie_word_embeddings": false,
47
+ "torch_dtype": "float16",
48
+ "transformers_version": "4.36.0.dev0",
49
+ "use_cache": true,
50
+ "use_parallel_residual": true,
51
+ "vocab_size": 50688
52
+ }
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.36.0.dev0"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbad4470422b8df6eba0f0b1b7a8c431b1ed823024dffa9a60c5028b3ba5ccd3
3
+ size 2101801504