mlabonne commited on
Commit
8387650
·
1 Parent(s): b34f666

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,14 +9,14 @@
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
  "num_key_value_heads": 32,
17
  "pad_token_id": 0,
18
  "pretraining_tp": 1,
19
- "rms_norm_eps": 1e-06,
20
  "rope_scaling": null,
21
  "tie_word_embeddings": false,
22
  "torch_dtype": "float16",
 
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": "float16",
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.31.0"
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:dffe1d430ffabdbbdb41c04cb7ae66e6a0729556efbd4ec935fdc88a4f133ad3
3
  size 9976637886
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa43e52ac7a1b4738baaae45b0353e0148588362835a1cb22467adc07671abcf
3
  size 9976637886
pytorch_model-00002-of-00002.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9c7f4ea66d24ca804710700e5c887b08e00d3a2d7e257b67bba35188147b418c
3
  size 3500316627
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78636aa135fb258992534b2589b4b3f2ce12f8c953e5a4393cd40cbb3a244677
3
  size 3500316627