kmchiti commited on
Commit
5d5e3e3
·
verified ·
1 Parent(s): 741362f

Upload LlamaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +33 -0
  2. generation_config.json +6 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LlamaForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "bos_token_id": "<bos>",
7
+ "eos_token_id": "<eos>",
8
+ "fused_bias_fc": false,
9
+ "fused_dropout_add_ln": false,
10
+ "fused_mlp": false,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 640,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 2560,
15
+ "max_position_embeddings": 2048,
16
+ "max_seq_length": 64,
17
+ "model_name_or_path": "llama_small_FA",
18
+ "model_type": "llama",
19
+ "num_attention_heads": 10,
20
+ "num_hidden_layers": 24,
21
+ "num_key_value_heads": 10,
22
+ "pretraining_tp": 1,
23
+ "residual_in_fp32": true,
24
+ "rms_norm_eps": 1e-06,
25
+ "rope_scaling": null,
26
+ "rope_theta": 10000.0,
27
+ "tie_word_embeddings": false,
28
+ "torch_dtype": "float32",
29
+ "transformers_version": "4.34.0",
30
+ "use_cache": true,
31
+ "use_flash_attn": true,
32
+ "vocab_size": 30003
33
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": "<bos>",
4
+ "eos_token_id": "<eos>",
5
+ "transformers_version": "4.34.0"
6
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9a9bf97f46ab18fd135c1b48c6c90fe0a01871fe1a441dead920fa37dc6a7ae
3
+ size 782957366