Upload LlamaForCausalLM
Browse files- config.json +28 -24
- generation_config.json +5 -2
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,32 +1,36 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
-
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
-
"
|
6 |
],
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"eos_token_id":
|
|
|
|
|
|
|
11 |
"initializer_range": 0.02,
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"
|
19 |
-
"
|
20 |
-
"
|
21 |
-
"
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
|
|
|
|
28 |
"torch_dtype": "float32",
|
29 |
"transformers_version": "4.47.1",
|
30 |
"use_cache": true,
|
31 |
-
"vocab_size":
|
32 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "meta-llama/Llama-3.2-1B",
|
|
|
3 |
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.4,
|
8 |
+
"bos_token_id": 128000,
|
9 |
+
"eos_token_id": 128001,
|
10 |
+
"head_dim": 64,
|
11 |
+
"hidden_act": "silu",
|
12 |
+
"hidden_size": 2048,
|
13 |
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 8192,
|
15 |
+
"max_position_embeddings": 131072,
|
16 |
+
"mlp_bias": false,
|
17 |
+
"model_type": "llama",
|
18 |
+
"num_attention_heads": 32,
|
19 |
+
"num_hidden_layers": 16,
|
20 |
+
"num_key_value_heads": 8,
|
21 |
+
"pretraining_tp": 1,
|
22 |
+
"rms_norm_eps": 1e-05,
|
23 |
+
"rope_scaling": {
|
24 |
+
"factor": 32.0,
|
25 |
+
"high_freq_factor": 4.0,
|
26 |
+
"low_freq_factor": 1.0,
|
27 |
+
"original_max_position_embeddings": 8192,
|
28 |
+
"rope_type": "llama3"
|
29 |
+
},
|
30 |
+
"rope_theta": 500000.0,
|
31 |
+
"tie_word_embeddings": true,
|
32 |
"torch_dtype": "float32",
|
33 |
"transformers_version": "4.47.1",
|
34 |
"use_cache": true,
|
35 |
+
"vocab_size": 128256
|
36 |
}
|
generation_config.json
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
-
"bos_token_id":
|
4 |
-
"
|
|
|
|
|
|
|
5 |
"transformers_version": "4.47.1"
|
6 |
}
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
+
"bos_token_id": 128000,
|
4 |
+
"do_sample": true,
|
5 |
+
"eos_token_id": 128001,
|
6 |
+
"temperature": 0.6,
|
7 |
+
"top_p": 0.9,
|
8 |
"transformers_version": "4.47.1"
|
9 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa5a3d00b163b05454ce95dba5dd9db0ef663d04057f31e6a50be8fc05704929
|
3 |
+
size 4943274328
|