at676 commited on
Commit
ce051ee
1 Parent(s): 08f620d

11c7ebaa1692e141b3ff1fa4ed50b81151dea541dd4984e55100847dc413635e

Browse files
Files changed (2) hide show
  1. config.json +50 -0
  2. generation_config.json +13 -0
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "meta-llama/Meta-Llama-3.1-8B-Instruct",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 128000,
9
+ "eos_token_id": [
10
+ 128001,
11
+ 128008,
12
+ 128009
13
+ ],
14
+ "hidden_act": "silu",
15
+ "hidden_size": 4096,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 14336,
18
+ "max_position_embeddings": 131072,
19
+ "mlp_bias": false,
20
+ "model_type": "llama",
21
+ "num_attention_heads": 32,
22
+ "num_hidden_layers": 32,
23
+ "num_key_value_heads": 8,
24
+ "pretraining_tp": 1,
25
+ "quip_params": {
26
+ "K": 2,
27
+ "L": 16,
28
+ "V": 2,
29
+ "codebook": "bitshift",
30
+ "codebook_version": 0,
31
+ "decode_mode": "quantlut_sym",
32
+ "td_x": 16,
33
+ "td_y": 16,
34
+ "tlut_bits": 9
35
+ },
36
+ "rms_norm_eps": 1e-05,
37
+ "rope_scaling": {
38
+ "factor": 8.0,
39
+ "high_freq_factor": 4.0,
40
+ "low_freq_factor": 1.0,
41
+ "original_max_position_embeddings": 8192,
42
+ "rope_type": "llama3"
43
+ },
44
+ "rope_theta": 500000.0,
45
+ "tie_word_embeddings": false,
46
+ "torch_dtype": "bfloat16",
47
+ "transformers_version": "4.44.2",
48
+ "use_cache": true,
49
+ "vocab_size": 128256
50
+ }
generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attn_implementation": "sdpa",
3
+ "bos_token_id": 128000,
4
+ "do_sample": true,
5
+ "eos_token_id": [
6
+ 128001,
7
+ 128008,
8
+ 128009
9
+ ],
10
+ "temperature": 0.6,
11
+ "top_p": 0.9,
12
+ "transformers_version": "4.44.2"
13
+ }