rogkesavan commited on
Commit
df2a9c5
·
verified ·
1 Parent(s): 09f9e7e

Upload Gemma3ForConditionalGeneration

Browse files
README.md CHANGED
@@ -1,3 +1,5 @@
1
  ---
2
  license: gemma
 
 
3
  ---
 
1
  ---
2
  license: gemma
3
+ tags:
4
+ - llama-factory
5
  ---
config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Gemma3ForConditionalGeneration"
4
+ ],
5
+ "boi_token_index": 255999,
6
+ "eoi_token_index": 256000,
7
+ "eos_token_id": [
8
+ 1,
9
+ 106
10
+ ],
11
+ "hidden_size": 5376,
12
+ "image_token_index": 262144,
13
+ "initializer_range": 0.02,
14
+ "mm_tokens_per_image": 256,
15
+ "model_type": "gemma3",
16
+ "text_config": {
17
+ "attention_bias": false,
18
+ "attention_dropout": 0.0,
19
+ "attn_logit_softcapping": null,
20
+ "cache_implementation": "hybrid",
21
+ "final_logit_softcapping": null,
22
+ "head_dim": 128,
23
+ "hidden_activation": "gelu_pytorch_tanh",
24
+ "hidden_size": 5376,
25
+ "initializer_range": 0.02,
26
+ "intermediate_size": 21504,
27
+ "max_position_embeddings": 131072,
28
+ "model_type": "gemma3_text",
29
+ "num_attention_heads": 32,
30
+ "num_hidden_layers": 62,
31
+ "num_key_value_heads": 16,
32
+ "query_pre_attn_scalar": 168,
33
+ "rms_norm_eps": 1e-06,
34
+ "rope_local_base_freq": 10000.0,
35
+ "rope_scaling": {
36
+ "factor": 8.0,
37
+ "rope_type": "linear"
38
+ },
39
+ "rope_theta": 1000000.0,
40
+ "sliding_window": 1024,
41
+ "sliding_window_pattern": 6,
42
+ "torch_dtype": "bfloat16",
43
+ "use_cache": true,
44
+ "vocab_size": 262208
45
+ },
46
+ "torch_dtype": "bfloat16",
47
+ "transformers_version": "4.50.0.dev0",
48
+ "use_cache": true,
49
+ "vision_config": {
50
+ "attention_dropout": 0.0,
51
+ "hidden_act": "gelu_pytorch_tanh",
52
+ "hidden_size": 1152,
53
+ "image_size": 896,
54
+ "intermediate_size": 4304,
55
+ "layer_norm_eps": 1e-06,
56
+ "model_type": "siglip_vision_model",
57
+ "num_attention_heads": 16,
58
+ "num_channels": 3,
59
+ "num_hidden_layers": 27,
60
+ "patch_size": 14,
61
+ "torch_dtype": "bfloat16",
62
+ "vision_use_head": false
63
+ }
64
+ }
generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "cache_implementation": "hybrid",
5
+ "eos_token_id": [
6
+ 1,
7
+ 106
8
+ ],
9
+ "pad_token_id": 0,
10
+ "transformers_version": "4.50.0.dev0"
11
+ }
model-00001-of-00006.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0e51872c4dda7905a061308d3548a8ef73404556561df334b70ce068a8dbfee
3
+ size 9809366632
model-00002-of-00006.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f7c11a92be6678c50fcc8ee577d6855b98085e2583884c798828e1f2c32bd0c
3
+ size 9909585984
model-00003-of-00006.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0b60a7e4adc64f4a3ff2df4311ace343a5183d3cd9aae42a95b6e99b923af0a
3
+ size 9909586032
model-00004-of-00006.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29e43dc47f2c7498839b6c26b031af931a2636a2452faeb4ade113e150cf0725
3
+ size 9909586032
model-00005-of-00006.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34f67a777173323ee336901f33fbd3f61af858125a9f497c46ca70650d7f32eb
3
+ size 9909586032
model-00006-of-00006.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0c134dfc4f440c20e624787c5719f3ba80ee456198ade010ba8887c32ef0b28
3
+ size 5417269696
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff