Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +47 -0
- added_tokens.json +3 -0
- config.json +56 -0
- mergekit_config.yml +14 -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
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model:
|
3 |
+
- grimjim/gemma-3-12b-pt
|
4 |
+
- grimjim/gemma-3-12b-it
|
5 |
+
- Delta-Vector/Daichi-12B
|
6 |
+
library_name: transformers
|
7 |
+
tags:
|
8 |
+
- mergekit
|
9 |
+
- merge
|
10 |
+
|
11 |
+
---
|
12 |
+
# merge
|
13 |
+
|
14 |
+
This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
|
15 |
+
|
16 |
+
## Merge Details
|
17 |
+
### Merge Method
|
18 |
+
|
19 |
+
This model was merged using the [Task Arithmetic](https://arxiv.org/abs/2212.04089) merge method using [grimjim/gemma-3-12b-pt](https://huggingface.co/grimjim/gemma-3-12b-pt) as a base.
|
20 |
+
|
21 |
+
### Models Merged
|
22 |
+
|
23 |
+
The following models were included in the merge:
|
24 |
+
* [grimjim/gemma-3-12b-it](https://huggingface.co/grimjim/gemma-3-12b-it)
|
25 |
+
* [Delta-Vector/Daichi-12B](https://huggingface.co/Delta-Vector/Daichi-12B)
|
26 |
+
|
27 |
+
### Configuration
|
28 |
+
|
29 |
+
The following YAML configuration was used to produce this model:
|
30 |
+
|
31 |
+
```yaml
|
32 |
+
base_model: grimjim/gemma-3-12b-pt
|
33 |
+
tokenizer_source: base
|
34 |
+
dtype: bfloat16
|
35 |
+
merge_method: task_arithmetic
|
36 |
+
parameters:
|
37 |
+
normalize: true
|
38 |
+
models:
|
39 |
+
- model: grimjim/gemma-3-12b-pt
|
40 |
+
- model: grimjim/gemma-3-12b-it
|
41 |
+
parameters:
|
42 |
+
weight: 0.9
|
43 |
+
- model: Delta-Vector/Daichi-12B
|
44 |
+
parameters:
|
45 |
+
weight: 0.1
|
46 |
+
|
47 |
+
```
|
added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<image_soft_token>": 262144
|
3 |
+
}
|
config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"Gemma3ForConditionalGeneration"
|
4 |
+
],
|
5 |
+
"boi_token_index": 255999,
|
6 |
+
"eoi_token_index": 256000,
|
7 |
+
"image_token_index": 262144,
|
8 |
+
"initializer_range": 0.02,
|
9 |
+
"mm_tokens_per_image": 256,
|
10 |
+
"model_type": "gemma3",
|
11 |
+
"text_config": {
|
12 |
+
"attention_bias": false,
|
13 |
+
"attention_dropout": 0.0,
|
14 |
+
"attn_logit_softcapping": null,
|
15 |
+
"cache_implementation": "hybrid",
|
16 |
+
"final_logit_softcapping": null,
|
17 |
+
"head_dim": 256,
|
18 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
19 |
+
"hidden_size": 3840,
|
20 |
+
"initializer_range": 0.02,
|
21 |
+
"intermediate_size": 15360,
|
22 |
+
"max_position_embeddings": 131072,
|
23 |
+
"model_type": "gemma3_text",
|
24 |
+
"num_attention_heads": 16,
|
25 |
+
"num_hidden_layers": 48,
|
26 |
+
"num_key_value_heads": 8,
|
27 |
+
"query_pre_attn_scalar": 256,
|
28 |
+
"rms_norm_eps": 1e-06,
|
29 |
+
"rope_local_base_freq": 10000.0,
|
30 |
+
"rope_scaling": {
|
31 |
+
"factor": 8.0,
|
32 |
+
"rope_type": "linear"
|
33 |
+
},
|
34 |
+
"rope_theta": 1000000.0,
|
35 |
+
"sliding_window": 1024,
|
36 |
+
"sliding_window_pattern": 6,
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 262145
|
39 |
+
},
|
40 |
+
"torch_dtype": "bfloat16",
|
41 |
+
"transformers_version": "4.51.3",
|
42 |
+
"vision_config": {
|
43 |
+
"attention_dropout": 0.0,
|
44 |
+
"hidden_act": "gelu_pytorch_tanh",
|
45 |
+
"hidden_size": 1152,
|
46 |
+
"image_size": 896,
|
47 |
+
"intermediate_size": 4304,
|
48 |
+
"layer_norm_eps": 1e-06,
|
49 |
+
"model_type": "siglip_vision_model",
|
50 |
+
"num_attention_heads": 16,
|
51 |
+
"num_channels": 3,
|
52 |
+
"num_hidden_layers": 27,
|
53 |
+
"patch_size": 14,
|
54 |
+
"vision_use_head": false
|
55 |
+
}
|
56 |
+
}
|
mergekit_config.yml
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
base_model: grimjim/gemma-3-12b-pt
|
2 |
+
tokenizer_source: base
|
3 |
+
dtype: bfloat16
|
4 |
+
merge_method: task_arithmetic
|
5 |
+
parameters:
|
6 |
+
normalize: true
|
7 |
+
models:
|
8 |
+
- model: grimjim/gemma-3-12b-pt
|
9 |
+
- model: grimjim/gemma-3-12b-it
|
10 |
+
parameters:
|
11 |
+
weight: 0.9
|
12 |
+
- model: Delta-Vector/Daichi-12B
|
13 |
+
parameters:
|
14 |
+
weight: 0.1
|
model-00001-of-00005.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e566ccee2fb4917193b2e00955d1d6884a71bf5612616d4e7b2e8eee449c53d0
|
3 |
+
size 4939009592
|
model-00002-of-00005.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:720151340e06ff86ddd6a78ba21d73024960ed423139fe59b7254228f5714171
|
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:790bfb2239fb7b05fc7ab7a451ad296e36e6abd857948b87fc210cc8d4673bf8
|
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:163b1b9036a78592474b9085f6415083130a4c7ae82c83948be6a0ad9b82d50c
|
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:637d15bd817c1f42563142357213ac517b22555eb229e8a778e6c1f62e6bf0f8
|
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": "<eos>",
|
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
|
|