reesu commited on
Commit
6afc974
·
verified ·
1 Parent(s): 947cd25

Upload config

Browse files
Files changed (1) hide show
  1. config.json +76 -0
config.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "architectures": [
4
+ "Gemma3ForConditionalGeneration"
5
+ ],
6
+ "boi_token_index": 255999,
7
+ "bos_token_id": 2,
8
+ "eoi_token_index": 256000,
9
+ "eos_token_id": 106,
10
+ "image_token_index": 262144,
11
+ "initializer_range": 0.02,
12
+ "mm_tokens_per_image": 256,
13
+ "model_type": "gemma3",
14
+ "pad_token_id": 0,
15
+ "quantization_config": {
16
+ "bnb_4bit_compute_dtype": "float16",
17
+ "bnb_4bit_quant_type": "nf4",
18
+ "bnb_4bit_use_double_quant": true,
19
+ "llm_int8_enable_fp32_cpu_offload": false,
20
+ "llm_int8_has_fp16_weight": false,
21
+ "llm_int8_skip_modules": null,
22
+ "llm_int8_threshold": 6.0,
23
+ "load_in_4bit": true,
24
+ "load_in_8bit": false,
25
+ "quant_method": "bitsandbytes"
26
+ },
27
+ "text_config": {
28
+ "attention_bias": false,
29
+ "attention_dropout": 0.0,
30
+ "attn_logit_softcapping": null,
31
+ "cache_implementation": "hybrid",
32
+ "final_logit_softcapping": null,
33
+ "head_dim": 256,
34
+ "hidden_activation": "gelu_pytorch_tanh",
35
+ "hidden_size": 2560,
36
+ "initializer_range": 0.02,
37
+ "intermediate_size": 10240,
38
+ "max_position_embeddings": 131072,
39
+ "model_type": "gemma3_text",
40
+ "num_attention_heads": 8,
41
+ "num_hidden_layers": 34,
42
+ "num_key_value_heads": 4,
43
+ "query_pre_attn_scalar": 256,
44
+ "rms_norm_eps": 1e-06,
45
+ "rope_local_base_freq": 10000.0,
46
+ "rope_scaling": {
47
+ "factor": 8.0,
48
+ "rope_type": "linear"
49
+ },
50
+ "rope_theta": 1000000.0,
51
+ "sliding_window": 1024,
52
+ "sliding_window_pattern": 6,
53
+ "torch_dtype": "float16",
54
+ "use_cache": true,
55
+ "vocab_size": 262208
56
+ },
57
+ "torch_dtype": "float16",
58
+ "transformers_version": "4.51.3",
59
+ "unsloth_fixed": true,
60
+ "unsloth_version": "2025.5.9",
61
+ "vision_config": {
62
+ "attention_dropout": 0.0,
63
+ "hidden_act": "gelu_pytorch_tanh",
64
+ "hidden_size": 1152,
65
+ "image_size": 896,
66
+ "intermediate_size": 4304,
67
+ "layer_norm_eps": 1e-06,
68
+ "model_type": "siglip_vision_model",
69
+ "num_attention_heads": 16,
70
+ "num_channels": 3,
71
+ "num_hidden_layers": 27,
72
+ "patch_size": 14,
73
+ "torch_dtype": "float16",
74
+ "vision_use_head": false
75
+ }
76
+ }