Sayan01 commited on
Commit
582df9f
·
verified ·
1 Parent(s): 10fadf9

Upload MobileLLMForCausalLM

Browse files
Files changed (2) hide show
  1. config.json +14 -12
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,33 +1,35 @@
1
  {
2
- "_name_or_path": "MobiLlama",
3
  "architectures": [
4
- "MobiLlamaForCausalLM"
5
  ],
6
- "auto_map": {
7
- "AutoModelForCausalLM": "modeling_mobillama.MobiLlamaForCausalLM"
8
- },
9
  "attention_bias": false,
10
  "attention_dropout": 0.0,
 
 
 
 
11
  "bos_token_id": 1,
12
  "eos_token_id": 2,
13
  "head_dim": 64,
14
  "hidden_act": "silu",
15
- "hidden_size": 2048,
16
  "initializer_range": 0.02,
17
- "intermediate_size": 5632,
 
18
  "max_position_embeddings": 2048,
19
  "mlp_bias": false,
20
- "model_type": "llama",
21
- "num_attention_heads": 32,
22
- "num_hidden_layers": 22,
23
- "num_key_value_heads": 4,
24
  "pretraining_tp": 1,
25
  "rms_norm_eps": 1e-05,
26
  "rope_scaling": null,
27
  "rope_theta": 10000.0,
 
28
  "tie_word_embeddings": false,
29
  "torch_dtype": "bfloat16",
30
  "transformers_version": "4.50.0",
31
  "use_cache": true,
32
- "vocab_size": 32000
33
  }
 
1
  {
 
2
  "architectures": [
3
+ "MobileLLMForCausalLM"
4
  ],
 
 
 
5
  "attention_bias": false,
6
  "attention_dropout": 0.0,
7
+ "auto_map": {
8
+ "AutoConfig": "facebook/MobileLLM-1B--configuration_mobilellm.MobileLLMConfig",
9
+ "AutoModelForCausalLM": "facebook/MobileLLM-1B--modeling_mobilellm.MobileLLMForCausalLM"
10
+ },
11
  "bos_token_id": 1,
12
  "eos_token_id": 2,
13
  "head_dim": 64,
14
  "hidden_act": "silu",
15
+ "hidden_size": 1280,
16
  "initializer_range": 0.02,
17
+ "intermediate_size": 3584,
18
+ "layer_sharing": false,
19
  "max_position_embeddings": 2048,
20
  "mlp_bias": false,
21
+ "model_type": "mobilellm",
22
+ "num_attention_heads": 20,
23
+ "num_hidden_layers": 54,
24
+ "num_key_value_heads": 5,
25
  "pretraining_tp": 1,
26
  "rms_norm_eps": 1e-05,
27
  "rope_scaling": null,
28
  "rope_theta": 10000.0,
29
+ "share_embedding": true,
30
  "tie_word_embeddings": false,
31
  "torch_dtype": "bfloat16",
32
  "transformers_version": "4.50.0",
33
  "use_cache": true,
34
+ "vocab_size": 32064
35
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a2b6f2b860b119c1d6f7b3225d79742047a9f58e0cfdb50c2895794e6f9f0dc2
3
- size 2523085296
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11d164a8250297a034a4c95a4d526a0fb6f20cd6cca56f75e33bc7424f482de7
3
+ size 2011143520