justin-witter
commited on
Commit
•
93d7883
1
Parent(s):
a800959
Upload LlamaForCausalLM
Browse files- config.json +9 -14
- generation_config.json +1 -0
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,34 +1,29 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "/home/common/data/Big_Data/GenAI/llm_models/
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
6 |
"attention_bias": false,
|
7 |
-
"auto_map": {
|
8 |
-
"AutoConfig": "NousResearch/CodeLlama-7b-hf--configuration_llama.LlamaConfig",
|
9 |
-
"AutoModel": "NousResearch/CodeLlama-7b-hf--modeling_llama.LlamaModel",
|
10 |
-
"AutoModelForCausalLM": "NousResearch/CodeLlama-7b-hf--modeling_llama.LlamaForCausalLM",
|
11 |
-
"AutoModelForSequenceClassification": "NousResearch/CodeLlama-7b-hf--modeling_llama.LlamaForSequenceClassification"
|
12 |
-
},
|
13 |
"bigdl_transformers_low_bit": "sym_int4",
|
14 |
"bos_token_id": 1,
|
15 |
"eos_token_id": 2,
|
16 |
"hidden_act": "silu",
|
17 |
-
"hidden_size":
|
18 |
"initializer_range": 0.02,
|
19 |
-
"intermediate_size":
|
20 |
-
"max_position_embeddings":
|
21 |
"model_type": "llama",
|
22 |
"num_attention_heads": 32,
|
23 |
-
"num_hidden_layers":
|
24 |
"num_key_value_heads": 32,
|
|
|
25 |
"pretraining_tp": 1,
|
26 |
-
"rms_norm_eps": 1e-
|
27 |
"rope_scaling": null,
|
28 |
-
"rope_theta":
|
29 |
"tie_word_embeddings": false,
|
30 |
"torch_dtype": "float32",
|
31 |
"transformers_version": "4.34.0",
|
32 |
"use_cache": true,
|
33 |
-
"vocab_size":
|
34 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/home/common/data/Big_Data/GenAI/llm_models/openlm-research--open_llama_3b_v2",
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
6 |
"attention_bias": false,
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
"bigdl_transformers_low_bit": "sym_int4",
|
8 |
"bos_token_id": 1,
|
9 |
"eos_token_id": 2,
|
10 |
"hidden_act": "silu",
|
11 |
+
"hidden_size": 3200,
|
12 |
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 8640,
|
14 |
+
"max_position_embeddings": 2048,
|
15 |
"model_type": "llama",
|
16 |
"num_attention_heads": 32,
|
17 |
+
"num_hidden_layers": 26,
|
18 |
"num_key_value_heads": 32,
|
19 |
+
"pad_token_id": 0,
|
20 |
"pretraining_tp": 1,
|
21 |
+
"rms_norm_eps": 1e-06,
|
22 |
"rope_scaling": null,
|
23 |
+
"rope_theta": 10000.0,
|
24 |
"tie_word_embeddings": false,
|
25 |
"torch_dtype": "float32",
|
26 |
"transformers_version": "4.34.0",
|
27 |
"use_cache": true,
|
28 |
+
"vocab_size": 32000
|
29 |
}
|
generation_config.json
CHANGED
@@ -2,5 +2,6 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
|
|
5 |
"transformers_version": "4.34.0"
|
6 |
}
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
+
"pad_token_id": 0,
|
6 |
"transformers_version": "4.34.0"
|
7 |
}
|
pytorch_model.bin
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:e1972397dbb0b378310524acbd180502278c45dc246e9a7e8c7502d7787c8d6e
|
3 |
+
size 2531378049
|