Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +63 -0
- added_tokens.json +3 -0
- config.json +112 -0
- mergekit_config.yml +24 -0
- model-00001-of-00005.safetensors +3 -0
- model-00002-of-00005.safetensors +3 -0
- model-00003-of-00005.safetensors +3 -0
- model-00004-of-00005.safetensors +3 -0
- model-00005-of-00005.safetensors +3 -0
- model.safetensors.index.json +0 -0
- preprocessor_config.json +29 -0
- processor_config.json +4 -0
- special_tokens_map.json +33 -0
- tokenizer.json +3 -0
- tokenizer.model +3 -0
- tokenizer_config.json +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
| 2 |
base_model:
|
| 3 |
- zelk12/MT-Gen4_gemma-3-12B_flatten
|
| 4 |
- zelk12/26_05_2025_Test_LazyMergekit_gemma-3-12B
|
|
@@ -15,6 +17,67 @@ tags:
|
|
| 15 |
# MT-Gen4_gemma-3-12B
|
| 16 |
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
MT-Gen4_gemma-3-12B is a merge of the following models using [LazyMergekit](https://colab.research.google.com/drive/1obulZ1ROXHjYLn6PPZJwRR6GzgQogxxb?usp=sharing):
|
| 20 |
* [zelk12/MT-Gen4_gemma-3-12B_flatten](https://huggingface.co/zelk12/MT-Gen4_gemma-3-12B_flatten)
|
|
|
|
| 1 |
---
|
| 2 |
+
license: gemma
|
| 3 |
+
pipeline_tag: image-text-to-text
|
| 4 |
base_model:
|
| 5 |
- zelk12/MT-Gen4_gemma-3-12B_flatten
|
| 6 |
- zelk12/26_05_2025_Test_LazyMergekit_gemma-3-12B
|
|
|
|
| 17 |
# MT-Gen4_gemma-3-12B
|
| 18 |
|
| 19 |
|
| 20 |
+
___
|
| 21 |
+
# EN
|
| 22 |
+
|
| 23 |
+
This association is designed to change the results of the aligned model in order to see the vector of changes in the result in the table.
|
| 24 |
+
|
| 25 |
+
Okay, I checked on the last model, I could add a description.
|
| 26 |
+
Now I'll add to it a little bit.
|
| 27 |
+
___
|
| 28 |
+
# GGUF
|
| 29 |
+
|
| 30 |
+
If I don't delete or forget to post it, then the GGUF probably Q6 of this model can be found here.:
|
| 31 |
+
https://huggingface.co/{{ username }}/{{ model_name }}-Q6_K-GGUF
|
| 32 |
+
|
| 33 |
+
It is also not uncommon to find GGUF and imatrix GGUF here:
|
| 34 |
+
[mradermacher](https://huggingface.co/mradermacher )
|
| 35 |
+
Most of the time, I use their quanta myself if possible.
|
| 36 |
+
|
| 37 |
+
Well, sometimes he posts my models too.:
|
| 38 |
+
[Otakadelic](https://huggingface.co/Otakadelic)
|
| 39 |
+
But besides that, he is also engaged in combining models himself.
|
| 40 |
+
|
| 41 |
+
___
|
| 42 |
+
# Information
|
| 43 |
+
|
| 44 |
+
Well, about the model itself, well, basically, it's just a combination of Gemma 3-12B, in general, nothing remarkable.
|
| 45 |
+
|
| 46 |
+
The hypothetical model itself can work with a 128k context.
|
| 47 |
+
Images are normalized to a resolution of 896 x 896 and encoded as 256 tokens.
|
| 48 |
+
8192 tokens can be withdrawn at once.
|
| 49 |
+
|
| 50 |
+
___
|
| 51 |
+
# RU
|
| 52 |
+
|
| 53 |
+
Эта объединение, с целью изменить результаты выровненой модели, для того, чтобы увидить вектор изменений результато в таблице.
|
| 54 |
+
|
| 55 |
+
Ладно на прошлой модели проверил, описание добавить смог.
|
| 56 |
+
Теперь немного его дополню.
|
| 57 |
+
___
|
| 58 |
+
# GGUF
|
| 59 |
+
|
| 60 |
+
Если я не удалю и не забуду выложить, тогда GGUF вероятно Q6 этой модели можно будете найти здесь:
|
| 61 |
+
https://huggingface.co/{{ username }}/{{ model_name }}-Q6_K-GGUF
|
| 62 |
+
|
| 63 |
+
Также нередко GGUF и imatrix GGUF можно найти зесь:
|
| 64 |
+
[mradermacher](https://huggingface.co/mradermacher)
|
| 65 |
+
Чаще всего я сам использую их кванты если это возможно.
|
| 66 |
+
|
| 67 |
+
Ну и иногда он тоже выкладывает мои модели:
|
| 68 |
+
[Otakadelic](https://huggingface.co/Otakadelic)
|
| 69 |
+
Но кроме того, он ещё и сам занимается объединением моделей.
|
| 70 |
+
|
| 71 |
+
___
|
| 72 |
+
# Информация
|
| 73 |
+
|
| 74 |
+
Ну про саму модель, ну в основном, это просто объединение Gemma 3-12B, в целом ничего примечательного.
|
| 75 |
+
|
| 76 |
+
Сама модель гипотетический может работать с контекстом 128к.
|
| 77 |
+
Изображения нормализует в разрешение 896 x 896 и кодирует как 256 токенов.
|
| 78 |
+
Вывести разом может 8192 токена.
|
| 79 |
+
|
| 80 |
+
|
| 81 |
|
| 82 |
MT-Gen4_gemma-3-12B is a merge of the following models using [LazyMergekit](https://colab.research.google.com/drive/1obulZ1ROXHjYLn6PPZJwRR6GzgQogxxb?usp=sharing):
|
| 83 |
* [zelk12/MT-Gen4_gemma-3-12B_flatten](https://huggingface.co/zelk12/MT-Gen4_gemma-3-12B_flatten)
|
added_tokens.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<image_soft_token>": 262144
|
| 3 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Gemma3ForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"boi_token_index": 255999,
|
| 6 |
+
"dtype": "bfloat16",
|
| 7 |
+
"eoi_token_index": 256000,
|
| 8 |
+
"eos_token_id": [
|
| 9 |
+
1,
|
| 10 |
+
106
|
| 11 |
+
],
|
| 12 |
+
"image_token_index": 262144,
|
| 13 |
+
"initializer_range": 0.02,
|
| 14 |
+
"mm_tokens_per_image": 256,
|
| 15 |
+
"model_type": "gemma3",
|
| 16 |
+
"text_config": {
|
| 17 |
+
"_sliding_window_pattern": 6,
|
| 18 |
+
"attention_bias": false,
|
| 19 |
+
"attention_dropout": 0.0,
|
| 20 |
+
"attn_logit_softcapping": null,
|
| 21 |
+
"cache_implementation": "hybrid",
|
| 22 |
+
"final_logit_softcapping": null,
|
| 23 |
+
"head_dim": 256,
|
| 24 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 25 |
+
"hidden_size": 3840,
|
| 26 |
+
"initializer_range": 0.02,
|
| 27 |
+
"intermediate_size": 15360,
|
| 28 |
+
"layer_types": [
|
| 29 |
+
"sliding_attention",
|
| 30 |
+
"sliding_attention",
|
| 31 |
+
"sliding_attention",
|
| 32 |
+
"sliding_attention",
|
| 33 |
+
"sliding_attention",
|
| 34 |
+
"full_attention",
|
| 35 |
+
"sliding_attention",
|
| 36 |
+
"sliding_attention",
|
| 37 |
+
"sliding_attention",
|
| 38 |
+
"sliding_attention",
|
| 39 |
+
"sliding_attention",
|
| 40 |
+
"full_attention",
|
| 41 |
+
"sliding_attention",
|
| 42 |
+
"sliding_attention",
|
| 43 |
+
"sliding_attention",
|
| 44 |
+
"sliding_attention",
|
| 45 |
+
"sliding_attention",
|
| 46 |
+
"full_attention",
|
| 47 |
+
"sliding_attention",
|
| 48 |
+
"sliding_attention",
|
| 49 |
+
"sliding_attention",
|
| 50 |
+
"sliding_attention",
|
| 51 |
+
"sliding_attention",
|
| 52 |
+
"full_attention",
|
| 53 |
+
"sliding_attention",
|
| 54 |
+
"sliding_attention",
|
| 55 |
+
"sliding_attention",
|
| 56 |
+
"sliding_attention",
|
| 57 |
+
"sliding_attention",
|
| 58 |
+
"full_attention",
|
| 59 |
+
"sliding_attention",
|
| 60 |
+
"sliding_attention",
|
| 61 |
+
"sliding_attention",
|
| 62 |
+
"sliding_attention",
|
| 63 |
+
"sliding_attention",
|
| 64 |
+
"full_attention",
|
| 65 |
+
"sliding_attention",
|
| 66 |
+
"sliding_attention",
|
| 67 |
+
"sliding_attention",
|
| 68 |
+
"sliding_attention",
|
| 69 |
+
"sliding_attention",
|
| 70 |
+
"full_attention",
|
| 71 |
+
"sliding_attention",
|
| 72 |
+
"sliding_attention",
|
| 73 |
+
"sliding_attention",
|
| 74 |
+
"sliding_attention",
|
| 75 |
+
"sliding_attention",
|
| 76 |
+
"full_attention"
|
| 77 |
+
],
|
| 78 |
+
"max_position_embeddings": 131072,
|
| 79 |
+
"model_type": "gemma3_text",
|
| 80 |
+
"num_attention_heads": 16,
|
| 81 |
+
"num_hidden_layers": 48,
|
| 82 |
+
"num_key_value_heads": 8,
|
| 83 |
+
"query_pre_attn_scalar": 256,
|
| 84 |
+
"rms_norm_eps": 1e-06,
|
| 85 |
+
"rope_local_base_freq": 10000.0,
|
| 86 |
+
"rope_scaling": {
|
| 87 |
+
"factor": 8.0,
|
| 88 |
+
"rope_type": "linear"
|
| 89 |
+
},
|
| 90 |
+
"rope_theta": 1000000.0,
|
| 91 |
+
"sliding_window": 1024,
|
| 92 |
+
"sliding_window_pattern": 6,
|
| 93 |
+
"use_bidirectional_attention": false,
|
| 94 |
+
"use_cache": true,
|
| 95 |
+
"vocab_size": 262208
|
| 96 |
+
},
|
| 97 |
+
"transformers_version": "4.57.3",
|
| 98 |
+
"vision_config": {
|
| 99 |
+
"attention_dropout": 0.0,
|
| 100 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 101 |
+
"hidden_size": 1152,
|
| 102 |
+
"image_size": 896,
|
| 103 |
+
"intermediate_size": 4304,
|
| 104 |
+
"layer_norm_eps": 1e-06,
|
| 105 |
+
"model_type": "siglip_vision_model",
|
| 106 |
+
"num_attention_heads": 16,
|
| 107 |
+
"num_channels": 3,
|
| 108 |
+
"num_hidden_layers": 27,
|
| 109 |
+
"patch_size": 14,
|
| 110 |
+
"vision_use_head": false
|
| 111 |
+
}
|
| 112 |
+
}
|
mergekit_config.yml
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
models:
|
| 3 |
+
- model: zelk12/MT-Gen4_gemma-3-12B_flatten
|
| 4 |
+
#no parameters necessary for base model
|
| 5 |
+
- model: zelk12/MT-Gen4_gemma-3-12B_flatten
|
| 6 |
+
parameters:
|
| 7 |
+
density: 0.266
|
| 8 |
+
weight: 0.833
|
| 9 |
+
|
| 10 |
+
- model: zelk12/26_05_2025_Test_LazyMergekit_gemma-3-12B
|
| 11 |
+
parameters:
|
| 12 |
+
density: 0.533
|
| 13 |
+
weight: 0.666
|
| 14 |
+
|
| 15 |
+
- model: zelk12/MT4-gemma-3-12B
|
| 16 |
+
parameters:
|
| 17 |
+
density: 0.8
|
| 18 |
+
weight: 0.5
|
| 19 |
+
|
| 20 |
+
merge_method: multislerp
|
| 21 |
+
base_model: zelk12/MT-Gen4_gemma-3-12B_flatten
|
| 22 |
+
parameters:
|
| 23 |
+
normalize: true
|
| 24 |
+
dtype: bfloat16
|
model-00001-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb8cf52837ae1e035cbe2d8eeba8208d991158a1e7c87a14810c24a027a8eebf
|
| 3 |
+
size 4939493432
|
model-00002-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e956d117f27e719035be7391c8a2fdff587a50b218e1bd258bddb1c287351a95
|
| 3 |
+
size 4931296656
|
model-00003-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:876e555d5b7282d21bfff90a89c254dca84e1c480780a7089666969a81a8bed4
|
| 3 |
+
size 4931296656
|
model-00004-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dde5b6223aa6cc5203f6621ae4d733c63f65309a53bf4d380f8da4323ec02476
|
| 3 |
+
size 4931296656
|
model-00005-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d7c159cda765c2ef61a84a3cf268ce69c366f0722db8c722f2aed3c254717b68
|
| 3 |
+
size 4641409680
|
model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_convert_rgb": null,
|
| 3 |
+
"do_normalize": true,
|
| 4 |
+
"do_pan_and_scan": null,
|
| 5 |
+
"do_rescale": true,
|
| 6 |
+
"do_resize": true,
|
| 7 |
+
"image_mean": [
|
| 8 |
+
0.5,
|
| 9 |
+
0.5,
|
| 10 |
+
0.5
|
| 11 |
+
],
|
| 12 |
+
"image_processor_type": "Gemma3ImageProcessor",
|
| 13 |
+
"image_seq_length": 256,
|
| 14 |
+
"image_std": [
|
| 15 |
+
0.5,
|
| 16 |
+
0.5,
|
| 17 |
+
0.5
|
| 18 |
+
],
|
| 19 |
+
"pan_and_scan_max_num_crops": null,
|
| 20 |
+
"pan_and_scan_min_crop_size": null,
|
| 21 |
+
"pan_and_scan_min_ratio_to_activate": null,
|
| 22 |
+
"processor_class": "Gemma3Processor",
|
| 23 |
+
"resample": 2,
|
| 24 |
+
"rescale_factor": 0.00392156862745098,
|
| 25 |
+
"size": {
|
| 26 |
+
"height": 896,
|
| 27 |
+
"width": 896
|
| 28 |
+
}
|
| 29 |
+
}
|
processor_config.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"image_seq_length": 256,
|
| 3 |
+
"processor_class": "Gemma3Processor"
|
| 4 |
+
}
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"boi_token": "<start_of_image>",
|
| 3 |
+
"bos_token": {
|
| 4 |
+
"content": "<bos>",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false
|
| 9 |
+
},
|
| 10 |
+
"eoi_token": "<end_of_image>",
|
| 11 |
+
"eos_token": {
|
| 12 |
+
"content": "<end_of_turn>",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false
|
| 17 |
+
},
|
| 18 |
+
"image_token": "<image_soft_token>",
|
| 19 |
+
"pad_token": {
|
| 20 |
+
"content": "<pad>",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false
|
| 25 |
+
},
|
| 26 |
+
"unk_token": {
|
| 27 |
+
"content": "<unk>",
|
| 28 |
+
"lstrip": false,
|
| 29 |
+
"normalized": false,
|
| 30 |
+
"rstrip": false,
|
| 31 |
+
"single_word": false
|
| 32 |
+
}
|
| 33 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4667f2089529e8e7657cfb6d1c19910ae71ff5f28aa7ab2ff2763330affad795
|
| 3 |
+
size 33384568
|
tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1299c11d7cf632ef3b4e11937501358ada021bbdf7c47638d13c0ee982f2e79c
|
| 3 |
+
size 4689074
|
tokenizer_config.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|