mlabonne commited on
Commit
b3b99f1
1 Parent(s): 0f5ed95

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,17 +9,17 @@
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",
23
  "transformers_version": "4.31.0",
24
  "use_cache": true,
25
  "vocab_size": 32000
 
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
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:9f9c768c284b90e1e1d724b9b1becd6e48bf52fa06d350c40d98353e5d622825
3
- size 9976637886
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6ae1434ebd61c292fe7a4d5cbb4bf484612a232ebe78f18b64bdf4455b37a6f
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:fb33599b09b0bf025f58e2d34c4c5d53f5f3946b10f72d66d9b9d59b1532410d
3
  size 3500316627
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fa6d61e7c6dade6906e9d2cb9a74d49e35e2ef15ba11a94c159ee0ae15d49b1
3
  size 3500316627