voidful commited on
Commit
a9d126d
·
verified ·
1 Parent(s): 4db79b0

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +62 -62
config.json CHANGED
@@ -1,66 +1,66 @@
1
  {
2
- "_name_or_path": "voidful/gemma-3-omni-4b-it",
3
- "model_type": "gemma_3_omni",
4
- "architectures": [
5
- "Gemma3OmniForConditionalGeneration"
6
- ],
7
- "auto_map": {
8
- "AutoModel": "modeling.Gemma3OmniForConditionalGeneration",
9
- },
10
- "boi_token_index": 255999,
11
- "eoi_token_index": 256000,
12
- "eos_token_id": [
13
- 1,
14
- 106
15
- ],
16
- "image_token_index": 262144,
17
- "initializer_range": 0.02,
18
- "mm_tokens_per_image": 256,
19
- "text_config": {
20
- "attention_bias": false,
21
- "attention_dropout": 0.0,
22
- "attn_logit_softcapping": null,
23
- "cache_implementation": "hybrid",
24
- "final_logit_softcapping": null,
25
- "head_dim": 256,
26
- "hidden_activation": "gelu_pytorch_tanh",
27
- "hidden_size": 2560,
28
  "initializer_range": 0.02,
29
- "intermediate_size": 10240,
30
- "max_position_embeddings": 131072,
31
- "model_type": "gemma3_text",
32
- "num_attention_heads": 8,
33
- "num_hidden_layers": 34,
34
- "num_key_value_heads": 4,
35
- "query_pre_attn_scalar": 256,
36
- "rms_norm_eps": 1e-06,
37
- "rope_local_base_freq": 10000.0,
38
- "rope_scaling": {
39
- "factor": 8.0,
40
- "rope_type": "linear"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  },
42
- "rope_theta": 1000000.0,
43
- "sliding_window": 1024,
44
- "sliding_window_pattern": 6,
45
- "torch_dtype": "float32",
46
- "use_cache": true,
47
- "vocab_size": 262208
48
- },
49
- "torch_dtype": "float32",
50
- "transformers_version": "4.51.3",
51
- "vision_config": {
52
- "attention_dropout": 0.0,
53
- "hidden_act": "gelu_pytorch_tanh",
54
- "hidden_size": 1152,
55
- "image_size": 896,
56
- "intermediate_size": 4304,
57
- "layer_norm_eps": 1e-06,
58
- "model_type": "siglip_vision_model",
59
- "num_attention_heads": 16,
60
- "num_channels": 3,
61
- "num_hidden_layers": 27,
62
- "patch_size": 14,
63
  "torch_dtype": "float32",
64
- "vision_use_head": false
65
- }
66
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  {
2
+ "_name_or_path": "voidful/gemma-3-omni-4b-it",
3
+ "model_type": "gemma_3_omni",
4
+ "architectures": [
5
+ "Gemma3OmniForConditionalGeneration"
6
+ ],
7
+ "auto_map": {
8
+ "AutoModel": "modeling.Gemma3OmniForConditionalGeneration"
9
+ },
10
+ "boi_token_index": 255999,
11
+ "eoi_token_index": 256000,
12
+ "eos_token_id": [
13
+ 1,
14
+ 106
15
+ ],
16
+ "image_token_index": 262144,
 
 
 
 
 
 
 
 
 
 
 
17
  "initializer_range": 0.02,
18
+ "mm_tokens_per_image": 256,
19
+ "text_config": {
20
+ "attention_bias": false,
21
+ "attention_dropout": 0,
22
+ "attn_logit_softcapping": null,
23
+ "cache_implementation": "hybrid",
24
+ "final_logit_softcapping": null,
25
+ "head_dim": 256,
26
+ "hidden_activation": "gelu_pytorch_tanh",
27
+ "hidden_size": 2560,
28
+ "initializer_range": 0.02,
29
+ "intermediate_size": 10240,
30
+ "max_position_embeddings": 131072,
31
+ "model_type": "gemma3_text",
32
+ "num_attention_heads": 8,
33
+ "num_hidden_layers": 34,
34
+ "num_key_value_heads": 4,
35
+ "query_pre_attn_scalar": 256,
36
+ "rms_norm_eps": 0.000001,
37
+ "rope_local_base_freq": 10000,
38
+ "rope_scaling": {
39
+ "factor": 8,
40
+ "rope_type": "linear"
41
+ },
42
+ "rope_theta": 1000000,
43
+ "sliding_window": 1024,
44
+ "sliding_window_pattern": 6,
45
+ "torch_dtype": "float32",
46
+ "use_cache": true,
47
+ "vocab_size": 262208
48
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  "torch_dtype": "float32",
50
+ "transformers_version": "4.51.3",
51
+ "vision_config": {
52
+ "attention_dropout": 0,
53
+ "hidden_act": "gelu_pytorch_tanh",
54
+ "hidden_size": 1152,
55
+ "image_size": 896,
56
+ "intermediate_size": 4304,
57
+ "layer_norm_eps": 0.000001,
58
+ "model_type": "siglip_vision_model",
59
+ "num_attention_heads": 16,
60
+ "num_channels": 3,
61
+ "num_hidden_layers": 27,
62
+ "patch_size": 14,
63
+ "torch_dtype": "float32",
64
+ "vision_use_head": false
65
+ }
66
+ }