anhtu12st commited on
Commit
df162b5
·
1 Parent(s): cc8d7a8

Upload LlamaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +45 -0
  2. generation_config.json +8 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "TheBloke/Llama-2-7b-Chat-GPTQ",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "bos_token_id": 1,
7
+ "eos_token_id": 2,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 4096,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 11008,
12
+ "max_length": 4096,
13
+ "max_position_embeddings": 4096,
14
+ "model_type": "llama",
15
+ "num_attention_heads": 32,
16
+ "num_hidden_layers": 32,
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": null,
24
+ "damp_percent": 0.01,
25
+ "dataset": null,
26
+ "desc_act": false,
27
+ "disable_exllama": false,
28
+ "group_size": 128,
29
+ "model_seqlen": null,
30
+ "module_name_preceding_first_block": null,
31
+ "pad_token_id": null,
32
+ "quant_method": "gptq",
33
+ "sym": true,
34
+ "tokenizer": null,
35
+ "true_sequential": true,
36
+ "use_cuda_fp16": false
37
+ },
38
+ "rms_norm_eps": 1e-06,
39
+ "rope_scaling": null,
40
+ "tie_word_embeddings": false,
41
+ "torch_dtype": "float16",
42
+ "transformers_version": "4.32.1",
43
+ "use_cache": true,
44
+ "vocab_size": 32000
45
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "max_length": 4096,
6
+ "pad_token_id": 0,
7
+ "transformers_version": "4.32.1"
8
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2343e34e5c1e4dc6a8e6e45cbe73d6d5dc0b1677b4a9566a61259f9b69919cec
3
+ size 3896979412