ybelkada commited on
Commit
5dad3ab
1 Parent(s): d33b1ec

Upload LlamaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +22 -0
  2. generation_config.json +7 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "HuggingFaceM4/tiny-random-LlamaForCausalLM",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "bos_token_id": 0,
7
+ "eos_token_id": 1,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 16,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 64,
12
+ "model_type": "llama",
13
+ "num_attention_heads": 4,
14
+ "num_hidden_layers": 2,
15
+ "pad_token_id": -1,
16
+ "rms_norm_eps": 1e-06,
17
+ "tie_word_embeddings": false,
18
+ "torch_dtype": "float32",
19
+ "transformers_version": "4.28.0.dev0",
20
+ "use_cache": true,
21
+ "vocab_size": 32000
22
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 1,
5
+ "pad_token_id": -1,
6
+ "transformers_version": "4.28.0.dev0"
7
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e497a072e37c2a4ac371a9c0fd2013ab808cd5516f9ffdafeb36e4bc9f055ace
3
+ size 4136310