kipasyangin5 commited on
Commit
32e00be
·
verified ·
1 Parent(s): 388ae6d

Publish standard LlamaForCausalLM model format

Browse files
Files changed (3) hide show
  1. config.json +30 -9
  2. generation_config.json +7 -0
  3. model.safetensors +3 -0
config.json CHANGED
@@ -1,9 +1,30 @@
1
- {
2
- "model_type": "terminal_lm_5m_chinchilla",
3
- "tokens_trained": 61440,
4
- "vocab_size": 650,
5
- "dim": 256,
6
- "n_layer": 6,
7
- "n_head": 8,
8
- "total_parameters": 4167424
9
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LlamaForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "dtype": "float32",
9
+ "eos_token_id": 2,
10
+ "head_dim": 32,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 256,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 512,
15
+ "max_position_embeddings": 256,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "num_attention_heads": 8,
19
+ "num_hidden_layers": 6,
20
+ "num_key_value_heads": 8,
21
+ "pad_token_id": 0,
22
+ "pretraining_tp": 1,
23
+ "rms_norm_eps": 1e-06,
24
+ "rope_scaling": null,
25
+ "rope_theta": 10000.0,
26
+ "tie_word_embeddings": true,
27
+ "transformers_version": "4.57.1",
28
+ "use_cache": true,
29
+ "vocab_size": 650
30
+ }
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.57.1"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2cb135cc10f546b2811c5fa4f799d553efb112c9f1a92c58417c1c12c2d1582
3
+ size 16413576