jungiebeen
commited on
Commit
•
222a683
1
Parent(s):
20962a3
Upload LlamaForCausalLM
Browse files- config.json +17 -17
- generation_config.json +1 -2
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,27 +1,27 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "/workspace/new/pretraining/local-models/training/2024-02-11_05-
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
-
"
|
7 |
-
"bos_token_id":
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"hidden_act": "gelu",
|
11 |
-
"hidden_dropout_prob": 0,
|
12 |
"hidden_size": 768,
|
13 |
"initializer_range": 0.02,
|
14 |
"intermediate_size": 3072,
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"num_attention_heads": 12,
|
19 |
"num_hidden_layers": 12,
|
20 |
-
"
|
21 |
-
"
|
|
|
|
|
|
|
|
|
22 |
"torch_dtype": "float32",
|
23 |
"transformers_version": "4.34.1",
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"vocab_size": 50265
|
27 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/workspace/new/pretraining/local-models/training/2024-02-11_05-17-50",
|
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": 768,
|
11 |
"initializer_range": 0.02,
|
12 |
"intermediate_size": 3072,
|
13 |
+
"max_position_embeddings": 1024,
|
14 |
+
"model_type": "llama",
|
15 |
+
"num_attention_heads": 8,
|
|
|
16 |
"num_hidden_layers": 12,
|
17 |
+
"num_key_value_heads": 4,
|
18 |
+
"pretraining_tp": 1,
|
19 |
+
"rms_norm_eps": 1e-05,
|
20 |
+
"rope_scaling": null,
|
21 |
+
"rope_theta": 10000.0,
|
22 |
+
"tie_word_embeddings": false,
|
23 |
"torch_dtype": "float32",
|
24 |
"transformers_version": "4.34.1",
|
25 |
+
"use_cache": true,
|
26 |
+
"vocab_size": 50257
|
|
|
27 |
}
|
generation_config.json
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
-
"bos_token_id":
|
4 |
"eos_token_id": 2,
|
5 |
-
"pad_token_id": 1,
|
6 |
"transformers_version": "4.34.1"
|
7 |
}
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
|
|
5 |
"transformers_version": "4.34.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:cd89560c54d5d27c64939ab79c6dade05631b25de2f61a8bcd9518c85fee4886
|
3 |
+
size 733541408
|