Yufan Zhuang commited on
Commit
597dc99
1 Parent(s): 51524f7

initial commit

Browse files
Files changed (3) hide show
  1. config.json +37 -0
  2. generation_config.json +7 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "yzhuang/MetaTree",
3
+ "architectures": [
4
+ "LlamaForMetaTree"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "backward_window": 1,
9
+ "bos_token_id": 0,
10
+ "depth": 2,
11
+ "eos_token_id": 1,
12
+ "gradient_checkpointing": false,
13
+ "hidden_act": "silu",
14
+ "hidden_size": 768,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
17
+ "max_position_embeddings": 256,
18
+ "max_sequence_length": 256,
19
+ "model_type": "llama",
20
+ "n_class": 10,
21
+ "n_feature": 10,
22
+ "normalize": true,
23
+ "num_attention_heads": 12,
24
+ "num_hidden_layers": 12,
25
+ "num_key_value_heads": 12,
26
+ "pad_token_id": -1,
27
+ "pretraining_tp": 1,
28
+ "rms_norm_eps": 1e-06,
29
+ "rope_scaling": null,
30
+ "rope_theta": 10000.0,
31
+ "sigma": 0.05,
32
+ "tie_word_embeddings": false,
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.36.2",
35
+ "use_cache": true,
36
+ "vocab_size": 32000
37
+ }
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.36.2"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fc23b69b638e6ef2f4a352cff600f300fb85c520cc5448c2fc520cabb53affb
3
+ size 595504364