Upload merged Gemma-3-27B model (base + LoRA weights) (Trained with Unsloth)
Browse files- README.md +2 -0
- config.json +75 -0
- generation_config.json +8 -0
- model-00001-of-00004.safetensors +3 -0
- model-00002-of-00004.safetensors +3 -0
- model-00003-of-00004.safetensors +3 -0
- model-00004-of-00004.safetensors +3 -0
- model.safetensors.index.json +0 -0
README.md
CHANGED
@@ -1,3 +1,5 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
|
|
|
|
3 |
---
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- unsloth
|
5 |
---
|
config.json
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"Gemma3ForConditionalGeneration"
|
4 |
+
],
|
5 |
+
"boi_token_index": 255999,
|
6 |
+
"bos_token_id": 2,
|
7 |
+
"eoi_token_index": 256000,
|
8 |
+
"eos_token_id": 1,
|
9 |
+
"image_token_index": 262144,
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"mm_tokens_per_image": 256,
|
12 |
+
"model_type": "gemma3",
|
13 |
+
"pad_token_id": 0,
|
14 |
+
"quantization_config": {
|
15 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
16 |
+
"bnb_4bit_quant_type": "nf4",
|
17 |
+
"bnb_4bit_use_double_quant": true,
|
18 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
19 |
+
"llm_int8_has_fp16_weight": false,
|
20 |
+
"llm_int8_skip_modules": null,
|
21 |
+
"llm_int8_threshold": 6.0,
|
22 |
+
"load_in_4bit": true,
|
23 |
+
"load_in_8bit": false,
|
24 |
+
"quant_method": "bitsandbytes"
|
25 |
+
},
|
26 |
+
"text_config": {
|
27 |
+
"attention_bias": false,
|
28 |
+
"attention_dropout": 0.0,
|
29 |
+
"attn_logit_softcapping": null,
|
30 |
+
"cache_implementation": "hybrid",
|
31 |
+
"final_logit_softcapping": null,
|
32 |
+
"head_dim": 128,
|
33 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
34 |
+
"hidden_size": 5376,
|
35 |
+
"initializer_range": 0.02,
|
36 |
+
"intermediate_size": 21504,
|
37 |
+
"max_position_embeddings": 131072,
|
38 |
+
"model_type": "gemma3_text",
|
39 |
+
"num_attention_heads": 32,
|
40 |
+
"num_hidden_layers": 62,
|
41 |
+
"num_key_value_heads": 16,
|
42 |
+
"query_pre_attn_scalar": 168,
|
43 |
+
"rms_norm_eps": 1e-06,
|
44 |
+
"rope_local_base_freq": 10000.0,
|
45 |
+
"rope_scaling": {
|
46 |
+
"factor": 8.0,
|
47 |
+
"rope_type": "linear"
|
48 |
+
},
|
49 |
+
"rope_theta": 1000000.0,
|
50 |
+
"sliding_window": 1024,
|
51 |
+
"sliding_window_pattern": 6,
|
52 |
+
"torch_dtype": "bfloat16",
|
53 |
+
"use_cache": true,
|
54 |
+
"vocab_size": 262208
|
55 |
+
},
|
56 |
+
"torch_dtype": "bfloat16",
|
57 |
+
"transformers_version": "4.50.0.dev0",
|
58 |
+
"unsloth_fixed": true,
|
59 |
+
"unsloth_version": "2025.3.14",
|
60 |
+
"vision_config": {
|
61 |
+
"attention_dropout": 0.0,
|
62 |
+
"hidden_act": "gelu_pytorch_tanh",
|
63 |
+
"hidden_size": 1152,
|
64 |
+
"image_size": 896,
|
65 |
+
"intermediate_size": 4304,
|
66 |
+
"layer_norm_eps": 1e-06,
|
67 |
+
"model_type": "siglip_vision_model",
|
68 |
+
"num_attention_heads": 16,
|
69 |
+
"num_channels": 3,
|
70 |
+
"num_hidden_layers": 27,
|
71 |
+
"patch_size": 14,
|
72 |
+
"torch_dtype": "bfloat16",
|
73 |
+
"vision_use_head": false
|
74 |
+
}
|
75 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 2,
|
4 |
+
"cache_implementation": "hybrid",
|
5 |
+
"eos_token_id": 1,
|
6 |
+
"pad_token_id": 0,
|
7 |
+
"transformers_version": "4.50.0.dev0"
|
8 |
+
}
|
model-00001-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:78b5ff658b90264131602bb7a80ff523ea0305c78df4336ecb528ca87ef9c05d
|
3 |
+
size 4995986150
|
model-00002-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:15e4626012955cdf9ab9fd63f170ad442b9bc81e3589b990b6077697d50b64e9
|
3 |
+
size 4974849696
|
model-00003-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5f441bf7d6d134a8ed618db70548e07eea9deac98e6f6430169f2f54762a4684
|
3 |
+
size 4967503916
|
model-00004-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f5f5307e16258b6523a0434795800c2b550d62cb3ed66c3fb5651f97a80e13b7
|
3 |
+
size 3161660619
|
model.safetensors.index.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|