erfanzar commited on
Commit
fcb675c
1 Parent(s): 92e3c29

Upload LlamaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +102 -0
  2. generation_config.json +6 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "a_ps": [
3
+ [
4
+ "dp",
5
+ "fsdp"
6
+ ],
7
+ "sp",
8
+ "tp",
9
+ null
10
+ ],
11
+ "architectures": [
12
+ "LlamaForCausalLM"
13
+ ],
14
+ "attention_bias": false,
15
+ "attention_dropout": 0.0,
16
+ "axis_dims": [
17
+ 1,
18
+ -1,
19
+ 1,
20
+ 1
21
+ ],
22
+ "axis_names": [
23
+ "dp",
24
+ "fsdp",
25
+ "tp",
26
+ "sp"
27
+ ],
28
+ "b_ps": [
29
+ [
30
+ "dp",
31
+ "fsdp"
32
+ ],
33
+ null,
34
+ null,
35
+ null
36
+ ],
37
+ "backend": null,
38
+ "bits": null,
39
+ "bos_token_id": 1,
40
+ "c_max_position_embeddings": 2048,
41
+ "easy_method": "train",
42
+ "embd_pdrop": 0.0,
43
+ "eos_token_id": 2,
44
+ "fcm_max_ratio": 0.0,
45
+ "fcm_min_ratio": 0.0,
46
+ "flash_attn_key_chunk_size": 1024,
47
+ "flash_attn_query_chunk_size": 1024,
48
+ "freq_max_position_embeddings": 2048,
49
+ "hidden_act": "silu",
50
+ "hidden_size": 2048,
51
+ "initializer_range": 0.02,
52
+ "intermediate_size": 5632,
53
+ "k_ps": [
54
+ [
55
+ "dp",
56
+ "fsdp"
57
+ ],
58
+ "sp",
59
+ "tp",
60
+ null
61
+ ],
62
+ "max_position_embeddings": 2048,
63
+ "model_type": "llama",
64
+ "num_attention_heads": 32,
65
+ "num_hidden_layers": 22,
66
+ "num_key_value_heads": 4,
67
+ "number_rep_kv": 1,
68
+ "pretraining_tp": 1,
69
+ "q_ps": [
70
+ [
71
+ "dp",
72
+ "fsdp"
73
+ ],
74
+ "sp",
75
+ "tp",
76
+ null
77
+ ],
78
+ "resid_pdrop": 0.0,
79
+ "rms_norm_eps": 1e-05,
80
+ "rope_scaling": null,
81
+ "rope_theta": 10000.0,
82
+ "scan_layers": true,
83
+ "scan_mlp_chunk_size": 1024,
84
+ "tie_word_embeddings": false,
85
+ "torch_dtype": "float16",
86
+ "transformers_version": "4.36.0",
87
+ "use_cache": true,
88
+ "use_flash_attention": false,
89
+ "use_pjit_attention_force": false,
90
+ "use_sacn_mlp": false,
91
+ "use_shard_map": false,
92
+ "v_ps": [
93
+ [
94
+ "dp",
95
+ "fsdp"
96
+ ],
97
+ "sp",
98
+ "tp",
99
+ null
100
+ ],
101
+ "vocab_size": 32000
102
+ }
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.36.0"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0ff9090f52e64f01f7679d7936789bd98f5346202d298a08718fd7ba6e2b4e4
3
+ size 2200119664