Sayan01 commited on
Commit
05f5bc2
·
verified ·
1 Parent(s): 359f1c4

Upload MobileLLMForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +35 -0
  2. generation_config.json +6 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 32000
35
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "transformers_version": "4.50.0"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f923e9907679179fbaed79fcbf811d693817b67e0af305bbb1dd29797c0c703a
3
+ size 2010979680