pauhidalgoo
commited on
Commit
•
dc9629e
1
Parent(s):
3f1e128
Upload LlamaForCausalLM
Browse files- config.json +28 -28
- generation_config.json +6 -6
- model.safetensors +1 -1
config.json
CHANGED
@@ -1,28 +1,28 @@
|
|
1 |
-
{
|
2 |
-
"architectures": [
|
3 |
-
"LlamaForCausalLM"
|
4 |
-
],
|
5 |
-
"attention_bias": false,
|
6 |
-
"attention_dropout": 0.0,
|
7 |
-
"bos_token_id":
|
8 |
-
"eos_token_id":
|
9 |
-
"hidden_act": "gelu",
|
10 |
-
"hidden_size": 768,
|
11 |
-
"initializer_range": 0.02,
|
12 |
-
"intermediate_size": 2048,
|
13 |
-
"max_position_embeddings": 2048,
|
14 |
-
"mlp_bias": false,
|
15 |
-
"model_type": "llama",
|
16 |
-
"num_attention_heads": 8,
|
17 |
-
"num_hidden_layers": 30,
|
18 |
-
"num_key_value_heads": 4,
|
19 |
-
"pretraining_tp": 1,
|
20 |
-
"rms_norm_eps": 1e-05,
|
21 |
-
"rope_scaling": null,
|
22 |
-
"rope_theta": 10000.0,
|
23 |
-
"tie_word_embeddings": true,
|
24 |
-
"torch_dtype": "
|
25 |
-
"transformers_version": "4.42.3",
|
26 |
-
"use_cache": true,
|
27 |
-
"vocab_size": 65536
|
28 |
-
}
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"LlamaForCausalLM"
|
4 |
+
],
|
5 |
+
"attention_bias": false,
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_size": 768,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 2048,
|
13 |
+
"max_position_embeddings": 2048,
|
14 |
+
"mlp_bias": false,
|
15 |
+
"model_type": "llama",
|
16 |
+
"num_attention_heads": 8,
|
17 |
+
"num_hidden_layers": 30,
|
18 |
+
"num_key_value_heads": 4,
|
19 |
+
"pretraining_tp": 1,
|
20 |
+
"rms_norm_eps": 1e-05,
|
21 |
+
"rope_scaling": null,
|
22 |
+
"rope_theta": 10000.0,
|
23 |
+
"tie_word_embeddings": true,
|
24 |
+
"torch_dtype": "float32",
|
25 |
+
"transformers_version": "4.42.3",
|
26 |
+
"use_cache": true,
|
27 |
+
"vocab_size": 65536
|
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.42.3"
|
6 |
-
}
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.42.3"
|
6 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 980112040
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:339bf53e12cd71d443b6c86285d230d1b0872389d519e44392c2973ef027b364
|
3 |
size 980112040
|