poedator commited on
Commit
0d8581d
1 Parent(s): 09855cb

Upload LlamaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +53 -0
  2. generation_config.json +7 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "openlm-research/open_llama_3b",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "bos_token_id": 1,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 3200,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 8640,
13
+ "max_position_embeddings": 2048,
14
+ "model_type": "llama",
15
+ "num_attention_heads": 32,
16
+ "num_hidden_layers": 26,
17
+ "num_key_value_heads": 32,
18
+ "pad_token_id": 0,
19
+ "pretraining_tp": 1,
20
+ "quantization_config": {
21
+ "batch_size": 1,
22
+ "bits": 4,
23
+ "block_name_to_quantize": "model.layers",
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": 2048,
34
+ "module_name_preceding_first_block": [
35
+ "model.embed_tokens"
36
+ ],
37
+ "pad_token_id": null,
38
+ "quant_method": "gptq",
39
+ "sym": true,
40
+ "tokenizer": null,
41
+ "true_sequential": true,
42
+ "use_cuda_fp16": true,
43
+ "use_exllama": false
44
+ },
45
+ "rms_norm_eps": 1e-06,
46
+ "rope_scaling": null,
47
+ "rope_theta": 10000.0,
48
+ "tie_word_embeddings": false,
49
+ "torch_dtype": "float16",
50
+ "transformers_version": "4.36.0.dev0",
51
+ "use_cache": true,
52
+ "vocab_size": 32000
53
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.36.0.dev0"
7
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7b91de5c4a5585b719bf02791b01c23d93d3b8c0a46a63362f070926be61280
3
+ size 2088662430