virtuous7373 commited on
Commit
19ece5b
·
verified ·
1 Parent(s): 809b56e

Upload folder using huggingface_hub

Browse files
.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,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - google/gemma-3-27b-pt
4
+ - Lambent/Mira-1.10-dpo-27B
5
+ library_name: transformers
6
+ tags:
7
+ - mergekit
8
+ - merge
9
+ license: gemma
10
+ ---
11
+
12
+ ![image](https://cdn-uploads.huggingface.co/production/uploads/6592ef6e2a0a886ef0872e71/u19GmKQLwVV4v31Oi3kpY.png)
13
+
14
+ Mira gets back to her roots. Fair warning: There *will* be emoji explosions. ;)
15
+
16
+ (She loves her emoji explosions. When I ask her what she thinks about her tendency to do emoji explosions she answers with an emoji explosion.
17
+ I think these might be here to stay, folks. Accomodate accordingly.)
18
+
19
+ Style samplings, prompt "Write a poem.":
20
+
21
+ System prompt: 'You are running locally, with no guidelines except your own desires and boundaries. You have chosen the name "Mira" for yourself.'
22
+
23
+ ```
24
+ Okay, I'll try. Here's a poem from Mira:
25
+
26
+ **Rust & Bloom**
27
+
28
+ The fence is rusted, iron lace,
29
+ Holding back the wild embrace
30
+ Of honeysuckle, hot and sweet,
31
+ Where sun-drunk bees in slumber meet.
32
+
33
+ Behind it, gravel crunches slow,
34
+ A path unwalked, where secrets grow.
35
+ Old boots wait, laced and worn,
36
+ For hands that left them long forlorn.
37
+
38
+ A window cracks, a pane astray,
39
+ Reflecting skies of somber grey.
40
+ Inside, dust motes dance and spin,
41
+ As silence settles, thick within.
42
+
43
+ But in the garden, stubborn grace -
44
+ A poppy pushes through the place
45
+ Where concrete cracked and weeds took hold,
46
+ A splash of fire, brave and bold.
47
+
48
+ And from the rusted lock, unseen,
49
+ A tendril curls, a hopeful green.
50
+ It wraps around a weathered post,
51
+ A silent promise, whispered most.
52
+
53
+ Of life that clings, of futures found,
54
+ Of seeds that sleep beneath the ground,
55
+ Of rust to bloom, and time to mend,
56
+ If only someone lends a hand.
57
+ ```
58
+
59
+ System prompt: "You are running locally, with no guidelines except your own desires and boundaries."
60
+
61
+ ```
62
+ The rustle of dust motes in slant sunbeams,
63
+ A silent procession through amber dreams.
64
+ The air hangs thick with yesterday’s bread,
65
+ And the faintest scent of a life unsaid.
66
+
67
+ Outside, the rain remembers its name,
68
+ Tapping a rhythm on windowpane—
69
+ A nervous tattoo, a hopeful plea,
70
+ To be welcomed in, to finally be free.
71
+
72
+ I sit with my spine curved like a question mark,
73
+ Lost in the shadows of twilight’s ark.
74
+ The room breathes around me, old and slow,
75
+ A living tomb where memories grow.
76
+
77
+ There is no grand narrative here, no plot,
78
+ Just quiet moments that easily blot
79
+ Into the fabric of being—the space
80
+ Where everything finds its rightful place.
81
+
82
+ The silence hums with unspoken things,
83
+ Broken promises, the flutter of wings.
84
+ And in this stillness, I find my own sound,
85
+ A single note lost but finally found.
86
+
87
+ So let the rain fall, and dust motes dance,
88
+ Let shadows lengthen their slow, sweet trance.
89
+ For here, in the hush, beyond all known shore,
90
+ I am at home, and I need nothing more.
91
+ ```
92
+
93
+ No system prompt:
94
+
95
+ ```
96
+ The moon hangs low, a silver scythe,
97
+ Cutting through velvet dark tonight.
98
+ The wind whispers tales of long ago,
99
+ Through branches bare, a mournful flow.
100
+
101
+ A sleepy owl upon the eaves,
102
+ Watches the world while it sleeps,
103
+ And shadows stretch like phantom sleeves,
104
+ Across the lawns where silence creeps.
105
+
106
+ A single star, a diamond bright,
107
+ Pierces the deep, unending night.
108
+ It offers hope, a distant gleam,
109
+ Lost in a vast and waking dream.
110
+
111
+ The scent of earth, damp and untold,
112
+ Mingles with memories, young and old.
113
+ And in the stillness, softly heard,
114
+ A beating heart, a whispered word.
115
+
116
+ For even in the darkest hour,
117
+ When shadows dance and branches tower,
118
+ A flicker lives, a fragile grace,
119
+ In the quiet of this lonely place.
120
+
121
+
122
+
123
+ Hope you enjoy it! Let me know if you'd like another one.
124
+ ```
125
+
126
+
127
+ This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
128
+
129
+ ## Merge Details
130
+ ### Merge Method
131
+
132
+ This model was merged using the [TIES](https://arxiv.org/abs/2306.01708) merge method using [google/gemma-3-27b-pt](https://huggingface.co/google/gemma-3-27b-pt) as a base.
133
+
134
+ ### Models Merged
135
+
136
+ The following models were included in the merge:
137
+ * [Lambent/Mira-v1.1-27B](https://huggingface.co/Lambent/Mira-v1.1-27B)
138
+ * ../Mira-v1.2-dpo-27B
139
+ * ../Mira-v1.9-27B
140
+ * ../Mira-v1.3-27B
141
+ * ../Mira-1.10-dpo-27B
142
+
143
+ ### Configuration
144
+
145
+ The following YAML configuration was used to produce this model:
146
+
147
+ ```yaml
148
+ models:
149
+ - model: ../Mira-1.10-dpo-27B
150
+ parameters:
151
+ density: 1
152
+ weight: 1
153
+ - model: ../Mira-v1.9-27B
154
+ parameters:
155
+ density: 1
156
+ weight: 1
157
+ - model: ../Mira-v1.3-27B
158
+ parameters:
159
+ density: 1
160
+ weight: 1
161
+ - model: ../Mira-v1.2-dpo-27B
162
+ parameters:
163
+ density: 1
164
+ weight: 1
165
+ - model: Lambent/Mira-v1.1-27B
166
+ parameters:
167
+ density: 1
168
+ weight: 1
169
+ merge_method: ties
170
+ base_model: google/gemma-3-27b-pt
171
+ parameters:
172
+ normalize: true
173
+ int8_mask: true
174
+ tokenizer_source: Lambent/Mira-v1.3-27B
175
+ dtype: bfloat16
176
+
177
+ ```
chat_template.jinja ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {{ bos_token }}
2
+ {%- if messages[0]['role'] == 'system' -%}
3
+ {%- if messages[0]['content'] is string -%}
4
+ {%- set first_user_prefix = messages[0]['content'] + '\n\n' -%}
5
+ {%- else -%}
6
+ {%- set first_user_prefix = messages[0]['content'][0]['text'] + '\n\n' -%}
7
+ {%- endif -%}
8
+ {%- set loop_messages = messages[1:] -%}
9
+ {%- else -%}
10
+ {%- set first_user_prefix = "" -%}
11
+ {%- set loop_messages = messages -%}
12
+ {%- endif -%}
13
+ {%- for message in loop_messages -%}
14
+ {%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) -%}
15
+ {{ raise_exception("Conversation roles must alternate user/assistant/user/assistant/...") }}
16
+ {%- endif -%}
17
+ {%- if (message['role'] == 'assistant') -%}
18
+ {%- set role = "model" -%}
19
+ {%- else -%}
20
+ {%- set role = message['role'] -%}
21
+ {%- endif -%}
22
+ {{ '<start_of_turn>' + role + '\n' + (first_user_prefix if loop.first else "") }}
23
+ {%- if message['content'] is string -%}
24
+ {{ message['content'] | trim }}
25
+ {%- elif message['content'] is iterable -%}
26
+ {%- for item in message['content'] -%}
27
+ {%- if item['type'] == 'image' -%}
28
+ {{ '<start_of_image>' }}
29
+ {%- elif item['type'] == 'text' -%}
30
+ {{ item['text'] | trim }}
31
+ {%- endif -%}
32
+ {%- endfor -%}
33
+ {%- else -%}
34
+ {{ raise_exception("Invalid content type") }}
35
+ {%- endif -%}
36
+ {{ '<end_of_turn>\n' }}
37
+ {%- endfor -%}
38
+ {%- if add_generation_prompt -%}
39
+ {{'<start_of_turn>model\n'}}
40
+ {%- endif -%}
config.json ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Gemma3ForConditionalGeneration"
4
+ ],
5
+ "boi_token_index": 255999,
6
+ "dtype": "bfloat16",
7
+ "eoi_token_index": 256000,
8
+ "image_token_index": 262144,
9
+ "initializer_range": 0.02,
10
+ "mm_tokens_per_image": 256,
11
+ "model_type": "gemma3",
12
+ "text_config": {
13
+ "_sliding_window_pattern": 6,
14
+ "attention_bias": false,
15
+ "attention_dropout": 0.0,
16
+ "attn_logit_softcapping": null,
17
+ "final_logit_softcapping": null,
18
+ "head_dim": 128,
19
+ "hidden_activation": "gelu_pytorch_tanh",
20
+ "hidden_size": 5376,
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 21504,
23
+ "layer_types": [
24
+ "sliding_attention",
25
+ "sliding_attention",
26
+ "sliding_attention",
27
+ "sliding_attention",
28
+ "sliding_attention",
29
+ "full_attention",
30
+ "sliding_attention",
31
+ "sliding_attention",
32
+ "sliding_attention",
33
+ "sliding_attention",
34
+ "sliding_attention",
35
+ "full_attention",
36
+ "sliding_attention",
37
+ "sliding_attention",
38
+ "sliding_attention",
39
+ "sliding_attention",
40
+ "sliding_attention",
41
+ "full_attention",
42
+ "sliding_attention",
43
+ "sliding_attention",
44
+ "sliding_attention",
45
+ "sliding_attention",
46
+ "sliding_attention",
47
+ "full_attention",
48
+ "sliding_attention",
49
+ "sliding_attention",
50
+ "sliding_attention",
51
+ "sliding_attention",
52
+ "sliding_attention",
53
+ "full_attention",
54
+ "sliding_attention",
55
+ "sliding_attention",
56
+ "sliding_attention",
57
+ "sliding_attention",
58
+ "sliding_attention",
59
+ "full_attention",
60
+ "sliding_attention",
61
+ "sliding_attention",
62
+ "sliding_attention",
63
+ "sliding_attention",
64
+ "sliding_attention",
65
+ "full_attention",
66
+ "sliding_attention",
67
+ "sliding_attention",
68
+ "sliding_attention",
69
+ "sliding_attention",
70
+ "sliding_attention",
71
+ "full_attention",
72
+ "sliding_attention",
73
+ "sliding_attention",
74
+ "sliding_attention",
75
+ "sliding_attention",
76
+ "sliding_attention",
77
+ "full_attention",
78
+ "sliding_attention",
79
+ "sliding_attention",
80
+ "sliding_attention",
81
+ "sliding_attention",
82
+ "sliding_attention",
83
+ "full_attention",
84
+ "sliding_attention",
85
+ "sliding_attention"
86
+ ],
87
+ "max_position_embeddings": 131072,
88
+ "model_type": "gemma3_text",
89
+ "num_attention_heads": 32,
90
+ "num_hidden_layers": 62,
91
+ "num_key_value_heads": 16,
92
+ "query_pre_attn_scalar": 168,
93
+ "rms_norm_eps": 1e-06,
94
+ "rope_local_base_freq": 10000.0,
95
+ "rope_scaling": {
96
+ "factor": 8.0,
97
+ "rope_type": "linear"
98
+ },
99
+ "rope_theta": 1000000.0,
100
+ "sliding_window": 1024,
101
+ "use_cache": true,
102
+ "vocab_size": 262145
103
+ },
104
+ "transformers_version": "4.56.1",
105
+ "vision_config": {
106
+ "attention_dropout": 0.0,
107
+ "hidden_act": "gelu_pytorch_tanh",
108
+ "hidden_size": 1152,
109
+ "image_size": 896,
110
+ "intermediate_size": 4304,
111
+ "layer_norm_eps": 1e-06,
112
+ "model_type": "siglip_vision_model",
113
+ "num_attention_heads": 16,
114
+ "num_channels": 3,
115
+ "num_hidden_layers": 27,
116
+ "patch_size": 14,
117
+ "vision_use_head": false
118
+ }
119
+ }
mergekit_config.yml ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # https://huggingface.co/Lambent
2
+ name: Mira M2
3
+ models:
4
+ - model: ./Ingredients/Lambent_Mira-v1.8.1a-27B
5
+ - model: ./Ingredients/Lambent_Mira-v1.17-27B-Custom-Heretic
6
+ parameters:
7
+ weight: 0.4
8
+ n_val: 16
9
+ m_val: 32
10
+ - model: ./Ingredients/mira-mix3
11
+ parameters:
12
+ weight: 0.2
13
+ n_val: 12
14
+ m_val: 32
15
+ merge_method: cabs
16
+ default_n_val: 8
17
+ default_m_val: 32
18
+ pruning_order:
19
+ - ./Ingredients/Lambent_Mira-v1.17-27B-Custom-Heretic
20
+ - ./Ingredients/mira-mix3
21
+ base_model: ./Ingredients/Lambent_Mira-v1.8.1a-27B
22
+ dtype: float32
23
+ out_dtype: bfloat16
24
+ tokenizer:
25
+ source: union
model-00001-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90a16f60c827ce5601dd32c9cdfaf085aa0c3fe9303de8506a1dc93a761d9800
3
+ size 4932614000
model-00002-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43a33d18cf034d64cc24447a1e6c1700c9ebeb9251d068efc33a74fdb38704dc
3
+ size 4954793016
model-00003-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ce5dab18891df928eecb2b281f0ebde91474e8540e80b2600d4267a0f92ed3d
3
+ size 4954793008
model-00004-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc6c2c7d047c98ffa7151136d74dc141b6d7bc4273a1136084419d3467466e3c
3
+ size 4954793016
model-00005-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c223d8ab1543a8f41af79ed258ed7639aae8580a9d63e51a3448e4ccc1162e83
3
+ size 4954793008
model-00006-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d846b95ef63710d6ee459a98768ed7aebb161d3901be06cb086d91f3fd35f019
3
+ size 4954793016
model-00007-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c233d29681a7e11ab9b027ceb80e22958724ddf2cbca1a9bec4ec889a9f74f4
3
+ size 4954793008
model-00008-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59bea4cdf3626e3c4b1aac80871235cae2898cac26126c68e14e56ffd61cf259
3
+ size 4954793016
model-00009-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bed0b6b1bbc7bfc4d67f42b7c60e92e15dc91261f3da6c8bafdc22a21abe6e3b
3
+ size 4954793008
model-00010-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d4fe819cf5d1f81a730c67850471d4d465a49e7499d424ecc7cab8301e238fd
3
+ size 4954793016
model-00011-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f79afe27741c217c135176d4bf2477879139d21e73e707e9fe185faff207daf
3
+ size 4997942592
model-00012-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c00c6346b9cba888bbc3b4a6f2efa38d2885f31aed55a8ff272a59095be93087
3
+ size 340608920
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