andy211313 commited on
Commit
622fcad
·
verified ·
1 Parent(s): ed8f1d6

Upload LlamaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +20 -10
  2. generation_config.json +9 -4
  3. model.safetensors +2 -2
config.json CHANGED
@@ -4,19 +4,23 @@
4
  ],
5
  "attention_bias": false,
6
  "attention_dropout": 0.0,
7
- "bos_token_id": 1,
8
- "eos_token_id": 2,
 
 
 
 
9
  "head_dim": 64,
10
  "hidden_act": "silu",
11
  "hidden_size": 2048,
12
  "initializer_range": 0.02,
13
- "intermediate_size": 5632,
14
- "max_position_embeddings": 2048,
15
  "mlp_bias": false,
16
  "model_type": "llama",
17
  "num_attention_heads": 32,
18
- "num_hidden_layers": 22,
19
- "num_key_value_heads": 4,
20
  "pretraining_tp": 1,
21
  "quantization_config": {
22
  "_load_in_4bit": true,
@@ -34,11 +38,17 @@
34
  "quant_method": "bitsandbytes"
35
  },
36
  "rms_norm_eps": 1e-05,
37
- "rope_scaling": null,
38
- "rope_theta": 10000.0,
39
- "tie_word_embeddings": false,
 
 
 
 
 
 
40
  "torch_dtype": "bfloat16",
41
  "transformers_version": "4.55.4",
42
  "use_cache": false,
43
- "vocab_size": 32000
44
  }
 
4
  ],
5
  "attention_bias": false,
6
  "attention_dropout": 0.0,
7
+ "bos_token_id": 128000,
8
+ "eos_token_id": [
9
+ 128001,
10
+ 128008,
11
+ 128009
12
+ ],
13
  "head_dim": 64,
14
  "hidden_act": "silu",
15
  "hidden_size": 2048,
16
  "initializer_range": 0.02,
17
+ "intermediate_size": 8192,
18
+ "max_position_embeddings": 131072,
19
  "mlp_bias": false,
20
  "model_type": "llama",
21
  "num_attention_heads": 32,
22
+ "num_hidden_layers": 16,
23
+ "num_key_value_heads": 8,
24
  "pretraining_tp": 1,
25
  "quantization_config": {
26
  "_load_in_4bit": true,
 
38
  "quant_method": "bitsandbytes"
39
  },
40
  "rms_norm_eps": 1e-05,
41
+ "rope_scaling": {
42
+ "factor": 32.0,
43
+ "high_freq_factor": 4.0,
44
+ "low_freq_factor": 1.0,
45
+ "original_max_position_embeddings": 8192,
46
+ "rope_type": "llama3"
47
+ },
48
+ "rope_theta": 500000.0,
49
+ "tie_word_embeddings": true,
50
  "torch_dtype": "bfloat16",
51
  "transformers_version": "4.55.4",
52
  "use_cache": false,
53
+ "vocab_size": 128256
54
  }
generation_config.json CHANGED
@@ -1,7 +1,12 @@
1
  {
2
- "bos_token_id": 1,
3
- "eos_token_id": 2,
4
- "max_length": 2048,
5
- "pad_token_id": 0,
 
 
 
 
 
6
  "transformers_version": "4.55.4"
7
  }
 
1
  {
2
+ "bos_token_id": 128000,
3
+ "do_sample": true,
4
+ "eos_token_id": [
5
+ 128001,
6
+ 128008,
7
+ 128009
8
+ ],
9
+ "temperature": 0.6,
10
+ "top_p": 0.9,
11
  "transformers_version": "4.55.4"
12
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:13a533b861ea20a24ee661f53b709274c7f4c85e447650cf81d0bb6b6da65359
3
- size 813150315
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:917abdded5a61fccbaae44f2ccb35b04ccc5aa2ebb68748413b6386a4019b4e7
3
+ size 1072936873