Upload LlamaForCausalLM
Browse files- config.json +17 -3
- generation_config.json +1 -1
- model.safetensors +3 -0
config.json
CHANGED
@@ -1,27 +1,41 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "LucidBrains/Pixely1B-V0",
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
6 |
"attention_bias": false,
|
|
|
7 |
"bos_token_id": 1,
|
|
|
|
|
8 |
"eos_token_id": 2,
|
|
|
|
|
|
|
|
|
|
|
9 |
"hidden_act": "silu",
|
10 |
"hidden_size": 2048,
|
11 |
"initializer_range": 0.02,
|
12 |
"intermediate_size": 5632,
|
|
|
13 |
"max_position_embeddings": 2048,
|
14 |
"model_type": "llama",
|
15 |
"num_attention_heads": 32,
|
16 |
"num_hidden_layers": 22,
|
17 |
"num_key_value_heads": 4,
|
|
|
18 |
"pretraining_tp": 1,
|
|
|
19 |
"rms_norm_eps": 1e-05,
|
20 |
"rope_scaling": null,
|
21 |
-
"rope_theta": 10000
|
|
|
22 |
"tie_word_embeddings": false,
|
23 |
"torch_dtype": "float16",
|
24 |
-
"transformers_version": "4.35.
|
25 |
"use_cache": true,
|
|
|
|
|
|
|
26 |
"vocab_size": 32000
|
27 |
}
|
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"LlamaForCausalLM"
|
4 |
],
|
5 |
"attention_bias": false,
|
6 |
+
"attn_pdrop": 0.0,
|
7 |
"bos_token_id": 1,
|
8 |
+
"c_max_position_embeddings": 2048,
|
9 |
+
"embd_pdrop": 0.0,
|
10 |
"eos_token_id": 2,
|
11 |
+
"fcm_max_ratio": 0.0,
|
12 |
+
"fcm_min_ratio": 0.0,
|
13 |
+
"flash_attn_key_chunk_size": 1024,
|
14 |
+
"flash_attn_query_chunk_size": 1024,
|
15 |
+
"freq_max_position_embeddings": 2048,
|
16 |
"hidden_act": "silu",
|
17 |
"hidden_size": 2048,
|
18 |
"initializer_range": 0.02,
|
19 |
"intermediate_size": 5632,
|
20 |
+
"load_in_8bit": false,
|
21 |
"max_position_embeddings": 2048,
|
22 |
"model_type": "llama",
|
23 |
"num_attention_heads": 32,
|
24 |
"num_hidden_layers": 22,
|
25 |
"num_key_value_heads": 4,
|
26 |
+
"number_rep_kv": 1,
|
27 |
"pretraining_tp": 1,
|
28 |
+
"resid_pdrop": 0.0,
|
29 |
"rms_norm_eps": 1e-05,
|
30 |
"rope_scaling": null,
|
31 |
+
"rope_theta": 10000,
|
32 |
+
"scan_mlp_chunk_size": 1024,
|
33 |
"tie_word_embeddings": false,
|
34 |
"torch_dtype": "float16",
|
35 |
+
"transformers_version": "4.35.2",
|
36 |
"use_cache": true,
|
37 |
+
"use_flash_attention": false,
|
38 |
+
"use_pjit_attention_force": false,
|
39 |
+
"use_sacn_mlp": false,
|
40 |
"vocab_size": 32000
|
41 |
}
|
generation_config.json
CHANGED
@@ -2,5 +2,5 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
-
"transformers_version": "4.35.
|
6 |
}
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.35.2"
|
6 |
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9cf73dac472049a5905ab0f8b343e78f860d5e3b94684243cfee0e8fbea36063
|
3 |
+
size 2200119664
|