PEFT
PyTorch
llama
code
mlabonne commited on
Commit
c4d912c
1 Parent(s): 3b58e86

Upload LlamaForCausalLM

Browse files
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "daryl149/llama-2-7b-chat-hf",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
@@ -9,15 +9,18 @@
9
  "hidden_size": 4096,
10
  "initializer_range": 0.02,
11
  "intermediate_size": 11008,
12
- "max_position_embeddings": 2048,
13
  "model_type": "llama",
14
  "num_attention_heads": 32,
15
  "num_hidden_layers": 32,
 
16
  "pad_token_id": 0,
17
- "rms_norm_eps": 1e-06,
 
 
18
  "tie_word_embeddings": false,
19
- "torch_dtype": "float16",
20
- "transformers_version": "4.30.2",
21
  "use_cache": true,
22
  "vocab_size": 32000
23
  }
 
1
  {
2
+ "_name_or_path": "NousResearch/llama-2-7b-chat-hf",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
 
9
  "hidden_size": 4096,
10
  "initializer_range": 0.02,
11
  "intermediate_size": 11008,
12
+ "max_position_embeddings": 4096,
13
  "model_type": "llama",
14
  "num_attention_heads": 32,
15
  "num_hidden_layers": 32,
16
+ "num_key_value_heads": 32,
17
  "pad_token_id": 0,
18
+ "pretraining_tp": 1,
19
+ "rms_norm_eps": 1e-05,
20
+ "rope_scaling": null,
21
  "tie_word_embeddings": false,
22
+ "torch_dtype": "bfloat16",
23
+ "transformers_version": "4.31.0",
24
  "use_cache": true,
25
  "vocab_size": 32000
26
  }
generation_config.json CHANGED
@@ -2,6 +2,8 @@
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
4
  "eos_token_id": 2,
5
- "pad_token_id": 0,
6
- "transformers_version": "4.30.2"
 
 
7
  }
 
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
4
  "eos_token_id": 2,
5
+ "pad_token_id": 32000,
6
+ "temperature": 0.9,
7
+ "top_p": 0.6,
8
+ "transformers_version": "4.31.0"
9
  }
pytorch_model-00001-of-00002.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:26ae433343db675e8bbdc3f6dbe7e536f8e4b07faa89ed32c1c6ffea5fe355d7
3
- size 9976637886
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e096679efda6283fb179576664b7944f9444ae15cc2a3773471c7280e740ca2
3
+ size 9976637950
pytorch_model-00002-of-00002.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bb72f857e168c66cba4502b7a53bb5a797d5ba543ea1498dc9f538f90f626f47
3
  size 3500316627
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2df35ab91b401d712bfd31e0e3b155d7146fbd30fbf849b83eabeb428788a6a6
3
  size 3500316627