justin-witter commited on
Commit
00f624e
1 Parent(s): 04c63e3

Upload LlamaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +34 -0
  2. generation_config.json +6 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/common/data/Big_Data/GenAI/llm_models/NousResearch--CodeLlama-7b-hf",
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": 4096,
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 11008,
20
+ "max_position_embeddings": 16384,
21
+ "model_type": "llama",
22
+ "num_attention_heads": 32,
23
+ "num_hidden_layers": 32,
24
+ "num_key_value_heads": 32,
25
+ "pretraining_tp": 1,
26
+ "rms_norm_eps": 1e-05,
27
+ "rope_scaling": null,
28
+ "rope_theta": 1000000,
29
+ "tie_word_embeddings": false,
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.34.0",
32
+ "use_cache": true,
33
+ "vocab_size": 32016
34
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "transformers_version": "4.34.0"
6
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7564899a26e78f74217757869b5f5ef44b32bc85b73243b3aac00f8a839b8aa
3
+ size 4490636333