mrfakename commited on
Commit
fbb9948
·
verified ·
1 Parent(s): c7c7035

Upload LlamaForCausalLM

Browse files
Files changed (4) hide show
  1. README.md +3 -0
  2. config.json +31 -0
  3. generation_config.json +7 -0
  4. model.safetensors +3 -0
README.md CHANGED
@@ -1 +1,4 @@
 
 
 
1
  Model is broken for now
 
1
+ ---
2
+ {}
3
+ ---
4
  Model is broken for now
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "ernie-llama-converted-rop",
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
+ "head_dim": 64,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 1024,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "max_position_embeddings": 131072,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "num_attention_heads": 16,
19
+ "num_hidden_layers": 18,
20
+ "num_key_value_heads": 2,
21
+ "pad_token_id": 0,
22
+ "pretraining_tp": 1,
23
+ "rms_norm_eps": 1e-05,
24
+ "rope_scaling": null,
25
+ "rope_theta": 500000,
26
+ "tie_word_embeddings": true,
27
+ "torch_dtype": "float32",
28
+ "transformers_version": "4.46.3",
29
+ "use_cache": true,
30
+ "vocab_size": 103424
31
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.46.3"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:646a0fd1210c11dc5164934d6bd1e37df41bafc507f9a5ad002872c9277a7831
3
+ size 1273141400