kunal1704 commited on
Commit
e55af2b
1 Parent(s): 7705e6a

Upload LlamaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +47 -0
  2. generation_config.json +9 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "meta-llama/Meta-Llama-3-8B",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 128000,
9
+ "eos_token_id": 128001,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 4096,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 14336,
14
+ "max_position_embeddings": 8192,
15
+ "model_type": "llama",
16
+ "num_attention_heads": 32,
17
+ "num_hidden_layers": 32,
18
+ "num_key_value_heads": 8,
19
+ "pretraining_tp": 1,
20
+ "quantization_config": {
21
+ "batch_size": 1,
22
+ "bits": 4,
23
+ "block_name_to_quantize": "model.layers",
24
+ "damp_percent": 0.1,
25
+ "dataset": "wikitext2",
26
+ "desc_act": false,
27
+ "disable_exllama": true,
28
+ "group_size": 128,
29
+ "model_seqlen": 2048,
30
+ "module_name_preceding_first_block": [
31
+ "model.embed_tokens"
32
+ ],
33
+ "pad_token_id": null,
34
+ "quant_method": "gptq",
35
+ "sym": true,
36
+ "true_sequential": true,
37
+ "use_cuda_fp16": true
38
+ },
39
+ "rms_norm_eps": 1e-05,
40
+ "rope_scaling": null,
41
+ "rope_theta": 500000.0,
42
+ "tie_word_embeddings": false,
43
+ "torch_dtype": "float16",
44
+ "transformers_version": "4.32.1",
45
+ "use_cache": true,
46
+ "vocab_size": 128256
47
+ }
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 128000,
3
+ "do_sample": true,
4
+ "eos_token_id": 128001,
5
+ "max_length": 4096,
6
+ "temperature": 0.6,
7
+ "top_p": 0.9,
8
+ "transformers_version": "4.32.1"
9
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfc52334ea0ffdc4e7374bd8c1ff12bf8c7ebb15c77db1c751edcfa15d8ec94b
3
+ size 5735974333