instruction-pretrain
commited on
Commit
•
acbff33
1
Parent(s):
ff43ae7
Upload LlamaForCausalLM
Browse files- config.json +26 -25
- generation_config.json +3 -3
- model-00002-of-00007.safetensors +3 -0
config.json
CHANGED
@@ -1,27 +1,28 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
|
|
27 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "hf_mirror/medicine-Llama3-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": 4096,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 14336,
|
14 |
+
"max_position_embeddings": 8192,
|
15 |
+
"model_type": "llama",
|
16 |
+
"num_attention_heads": 32,
|
17 |
+
"num_hidden_layers": 32,
|
18 |
+
"num_key_value_heads": 8,
|
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.34.0",
|
26 |
+
"use_cache": true,
|
27 |
+
"vocab_size": 128256
|
28 |
}
|
generation_config.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
{
|
2 |
"bos_token_id": 128000,
|
3 |
-
"eos_token_id": 128001,
|
4 |
"do_sample": true,
|
5 |
-
"
|
6 |
"max_length": 4096,
|
|
|
7 |
"top_p": 0.9,
|
8 |
-
"transformers_version": "4.
|
9 |
}
|
|
|
1 |
{
|
2 |
"bos_token_id": 128000,
|
|
|
3 |
"do_sample": true,
|
4 |
+
"eos_token_id": 128001,
|
5 |
"max_length": 4096,
|
6 |
+
"temperature": 0.6,
|
7 |
"top_p": 0.9,
|
8 |
+
"transformers_version": "4.34.0"
|
9 |
}
|
model-00002-of-00007.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bd0c8d160ec287012ec521d149672158f8ada4b2173c0060215a0b314874bacc
|
3 |
+
size 4832007448
|