Upload LlamaForCausalLM
Browse files- config.json +6 -6
- generation_config.json +2 -2
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,17 +1,17 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "meta-llama/Llama-
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
6 |
"attention_bias": false,
|
7 |
"attention_dropout": 0.0,
|
8 |
-
"bos_token_id":
|
9 |
-
"eos_token_id":
|
10 |
"hidden_act": "silu",
|
11 |
"hidden_size": 128,
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 384,
|
14 |
-
"max_position_embeddings":
|
15 |
"model_type": "llama",
|
16 |
"num_attention_heads": 8,
|
17 |
"num_hidden_layers": 2,
|
@@ -19,10 +19,10 @@
|
|
19 |
"pretraining_tp": 1,
|
20 |
"rms_norm_eps": 1e-05,
|
21 |
"rope_scaling": null,
|
22 |
-
"rope_theta":
|
23 |
"tie_word_embeddings": false,
|
24 |
"torch_dtype": "float32",
|
25 |
"transformers_version": "4.38.1",
|
26 |
"use_cache": true,
|
27 |
-
"vocab_size":
|
28 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "meta-llama/Meta-Llama-3-8B",
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
6 |
"attention_bias": false,
|
7 |
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 128000,
|
9 |
+
"eos_token_id": 128001,
|
10 |
"hidden_act": "silu",
|
11 |
"hidden_size": 128,
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 384,
|
14 |
+
"max_position_embeddings": 8192,
|
15 |
"model_type": "llama",
|
16 |
"num_attention_heads": 8,
|
17 |
"num_hidden_layers": 2,
|
|
|
19 |
"pretraining_tp": 1,
|
20 |
"rms_norm_eps": 1e-05,
|
21 |
"rope_scaling": null,
|
22 |
+
"rope_theta": 500000.0,
|
23 |
"tie_word_embeddings": false,
|
24 |
"torch_dtype": "float32",
|
25 |
"transformers_version": "4.38.1",
|
26 |
"use_cache": true,
|
27 |
+
"vocab_size": 10000
|
28 |
}
|
generation_config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
-
"bos_token_id":
|
4 |
-
"eos_token_id":
|
5 |
"transformers_version": "4.38.1"
|
6 |
}
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
+
"bos_token_id": 128000,
|
4 |
+
"eos_token_id": 128001,
|
5 |
"transformers_version": "4.38.1"
|
6 |
}
|
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:3353ddaf77c731ae0114284de26c0639c8b89b305af9087c364fcd980c2f1c21
|
3 |
+
size 11817680
|