kamii commited on
Commit
0c2a05d
·
verified ·
1 Parent(s): 1f859d6

Upload LlamaForCausalLM

Browse files
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "NousResearch/Llama-2-7b-hf",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
@@ -10,6 +10,7 @@
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,
@@ -17,7 +18,10 @@
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",
23
  "transformers_version": "4.31.0",
 
1
  {
2
+ "_name_or_path": "lmsys/vicuna-7b-v1.5-16k",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
 
10
  "initializer_range": 0.02,
11
  "intermediate_size": 11008,
12
  "max_position_embeddings": 4096,
13
+ "max_sequence_length": 16384,
14
  "model_type": "llama",
15
  "num_attention_heads": 32,
16
  "num_hidden_layers": 32,
 
18
  "pad_token_id": 0,
19
  "pretraining_tp": 1,
20
  "rms_norm_eps": 1e-05,
21
+ "rope_scaling": {
22
+ "factor": 4.0,
23
+ "type": "linear"
24
+ },
25
  "tie_word_embeddings": false,
26
  "torch_dtype": "float16",
27
  "transformers_version": "4.31.0",
generation_config.json CHANGED
@@ -1,8 +1,8 @@
1
  {
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"
 
1
  {
 
2
  "bos_token_id": 1,
3
  "eos_token_id": 2,
4
+ "max_length": 16384,
5
+ "pad_token_id": 0,
6
  "temperature": 0.9,
7
  "top_p": 0.6,
8
  "transformers_version": "4.31.0"
pytorch_model-00001-of-00002.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a0b01562bc48f2181e8e86828d05b2eb2e26e2d6ef26c0227cf17f7929ffae2c
3
  size 9976638373
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c46d2a0e26b397263cabd2b9ff7047965213ce33797b8518681515675c132106
3
  size 9976638373
pytorch_model-00002-of-00002.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f3d88745942c57d4e1554f466a28e2515d0b43c7846d9e8df6ee3269e3160a3e
3
  size 3500317102
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d7f4164e443e59f5043742ce41d27696a356b0052424067e9be365ba9b2df9f
3
  size 3500317102