IvanHU commited on
Commit
2af3b5b
·
verified ·
1 Parent(s): b597d38

Upload LlamaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +31 -0
  2. generation_config.json +6 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/huyiwen/miniyulan-ckpts/miniyulan-2B-s25d-decay80-1sqrt-long-28k-qkln-final-stage2-resume-27_20241213_051741/YuLan-Mini-2.4B-bfloat16",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": true,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 1,
9
+ "eos_token_id": 2,
10
+ "head_dim": 64,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 1920,
13
+ "initializer_range": 5e-05,
14
+ "intermediate_size": 4800,
15
+ "max_position_embeddings": 28723,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "num_attention_heads": 30,
19
+ "num_hidden_layers": 56,
20
+ "num_key_value_heads": 6,
21
+ "pad_token_id": 102,
22
+ "pretraining_tp": 1,
23
+ "rms_norm_eps": 1e-06,
24
+ "rope_scaling": null,
25
+ "rope_theta": 490000.0,
26
+ "tie_word_embeddings": false,
27
+ "torch_dtype": "bfloat16",
28
+ "transformers_version": "4.47.1",
29
+ "use_cache": true,
30
+ "vocab_size": 99000
31
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "transformers_version": "4.47.1"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b8cd6aa5571fa57d75255dcc627d0279a640335424797f75c9660918f94623e
3
+ size 4848833776