madroid commited on
Commit
af74a9b
1 Parent(s): 6b20012

Upload MixFormerSequentialForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +29 -20
  2. generation_config.json +2 -2
  3. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,27 +1,36 @@
1
  {
2
- "_name_or_path": "PY007/TinyLlama-1.1B-Chat-v0.3",
 
 
 
 
 
 
 
 
3
  "architectures": [
4
- "LlamaForCausalLM"
5
  ],
6
- "attention_bias": false,
7
- "bos_token_id": 1,
8
- "eos_token_id": 2,
9
- "hidden_act": "silu",
10
- "hidden_size": 2048,
 
11
  "initializer_range": 0.02,
12
- "intermediate_size": 5632,
13
- "max_position_embeddings": 2048,
14
- "model_type": "llama",
15
- "num_attention_heads": 32,
16
- "num_hidden_layers": 22,
17
- "num_key_value_heads": 4,
18
- "pretraining_tp": 1,
19
- "rms_norm_eps": 1e-05,
20
- "rope_scaling": null,
21
- "rope_theta": 10000.0,
22
  "tie_word_embeddings": false,
23
  "torch_dtype": "float16",
24
- "transformers_version": "4.34.0",
25
- "use_cache": false,
26
- "vocab_size": 32003
27
  }
 
1
  {
2
+ "_name_or_path": "Open-Orca/oo-phi-1_5",
3
+ "activation_function": "gelu_new",
4
+ "architecture": {
5
+ "block_cls": "parallel",
6
+ "mixer": {},
7
+ "mlp": {
8
+ "mlp_cls": "mlp"
9
+ }
10
+ },
11
  "architectures": [
12
+ "MixFormerSequentialForCausalLM"
13
  ],
14
+ "auto_map": {
15
+ "AutoConfig": "microsoft/phi-1_5--configuration_mixformer_sequential.MixFormerSequentialConfig",
16
+ "AutoModelForCausalLM": "microsoft/phi-1_5--modeling_mixformer_sequential.MixFormerSequentialForCausalLM"
17
+ },
18
+ "embd_layer": "default",
19
+ "embd_pdrop": 0.0,
20
  "initializer_range": 0.02,
21
+ "layer_norm_epsilon": 1e-05,
22
+ "model_type": "mixformer-sequential",
23
+ "n_embd": 2048,
24
+ "n_head": 32,
25
+ "n_inner": null,
26
+ "n_layer": 24,
27
+ "n_positions": 2048,
28
+ "phyagi_version": "0.0.4.dev",
29
+ "resid_pdrop": 0.0,
30
+ "rotary_dim": 32,
31
  "tie_word_embeddings": false,
32
  "torch_dtype": "float16",
33
+ "transformers_version": "4.34.1",
34
+ "use_cache": true,
35
+ "vocab_size": 50304
36
  }
generation_config.json CHANGED
@@ -1,4 +1,4 @@
1
  {
2
- "max_new_tokens": 32,
3
- "transformers_version": "4.34.0"
4
  }
 
1
  {
2
+ "_from_model_config": true,
3
+ "transformers_version": "4.34.1"
4
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:74ca1ecb9a8cc7868aa8c2f11d1856a9058b61edc3a31a8996014056aae89062
3
- size 2200188849
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ab31e1dc0fd25e1e60d49d774c7e528f70dfa69039ceef05c52e841a4d511bb
3
+ size 2829287169