jantigny commited on
Commit
046391d
1 Parent(s): 41aaa97

Upload LlamaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +6 -6
  2. generation_config.json +2 -2
  3. model.safetensors +2 -2
config.json CHANGED
@@ -1,17 +1,17 @@
1
  {
2
- "_name_or_path": "meta-llama/Llama-2-7b-hf",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
6
  "attention_bias": false,
7
  "attention_dropout": 0.0,
8
- "bos_token_id": 1,
9
- "eos_token_id": 2,
10
  "hidden_act": "silu",
11
  "hidden_size": 128,
12
  "initializer_range": 0.02,
13
  "intermediate_size": 384,
14
- "max_position_embeddings": 4096,
15
  "model_type": "llama",
16
  "num_attention_heads": 8,
17
  "num_hidden_layers": 2,
@@ -19,10 +19,10 @@
19
  "pretraining_tp": 1,
20
  "rms_norm_eps": 1e-05,
21
  "rope_scaling": null,
22
- "rope_theta": 10000.0,
23
  "tie_word_embeddings": false,
24
  "torch_dtype": "float32",
25
  "transformers_version": "4.38.1",
26
  "use_cache": true,
27
- "vocab_size": 32000
28
  }
 
1
  {
2
+ "_name_or_path": "meta-llama/Meta-Llama-3-8B",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
6
  "attention_bias": false,
7
  "attention_dropout": 0.0,
8
+ "bos_token_id": 128000,
9
+ "eos_token_id": 128001,
10
  "hidden_act": "silu",
11
  "hidden_size": 128,
12
  "initializer_range": 0.02,
13
  "intermediate_size": 384,
14
+ "max_position_embeddings": 8192,
15
  "model_type": "llama",
16
  "num_attention_heads": 8,
17
  "num_hidden_layers": 2,
 
19
  "pretraining_tp": 1,
20
  "rms_norm_eps": 1e-05,
21
  "rope_scaling": null,
22
+ "rope_theta": 500000.0,
23
  "tie_word_embeddings": false,
24
  "torch_dtype": "float32",
25
  "transformers_version": "4.38.1",
26
  "use_cache": true,
27
+ "vocab_size": 10000
28
  }
generation_config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_from_model_config": true,
3
- "bos_token_id": 1,
4
- "eos_token_id": 2,
5
  "transformers_version": "4.38.1"
6
  }
 
1
  {
2
  "_from_model_config": true,
3
+ "bos_token_id": 128000,
4
+ "eos_token_id": 128001,
5
  "transformers_version": "4.38.1"
6
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bc2aee7807c71ae3a7e9ce0fce8b8ff2af168d8970ebdd4c36ec44ef07301c3a
3
- size 34345688
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3353ddaf77c731ae0114284de26c0639c8b89b305af9087c364fcd980c2f1c21
3
+ size 11817680