Xenova HF staff commited on
Commit
30f7543
1 Parent(s): f9e0b3b

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +12 -26
config.json CHANGED
@@ -1,29 +1,15 @@
1
  {
2
- "_name_or_path": "./moondream2-text_model",
3
  "architectures": [
4
- "PhiForCausalLM"
5
  ],
6
- "attention_dropout": 0.0,
7
- "bos_token_id": 1,
8
- "embd_pdrop": 0.0,
9
- "eos_token_id": 2,
10
- "hidden_act": "gelu_new",
11
- "hidden_size": 2048,
12
- "initializer_range": 0.02,
13
- "intermediate_size": 8192,
14
- "layer_norm_eps": 1e-05,
15
- "max_position_embeddings": 2048,
16
- "model_type": "phi",
17
- "num_attention_heads": 32,
18
- "num_hidden_layers": 24,
19
- "num_key_value_heads": 32,
20
- "partial_rotary_factor": 0.5,
21
- "qk_layernorm": false,
22
- "resid_pdrop": 0.0,
23
- "rope_scaling": null,
24
- "rope_theta": 10000.0,
25
- "tie_word_embeddings": false,
26
- "transformers_version": "4.38.2",
27
- "use_cache": true,
28
- "vocab_size": 51200
29
- }
 
1
  {
 
2
  "architectures": [
3
+ "Moondream"
4
  ],
5
+ "auto_map": {
6
+ "AutoConfig": "configuration_moondream.MoondreamConfig",
7
+ "AutoModelForCausalLM": "moondream.Moondream"
8
+ },
9
+ "model_type": "moondream1",
10
+ "phi_config": {
11
+ "model_type": "phi"
12
+ },
13
+ "torch_dtype": "float16",
14
+ "transformers_version": "4.38.2"
15
+ }