hermeschen-ezcon commited on
Commit
40245df
·
verified ·
1 Parent(s): 7d6ad43

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +1 -1
  2. config.json +27 -198
  3. model.safetensors +1 -1
README.md CHANGED
@@ -10,7 +10,7 @@ tags:
10
  ---
11
 
12
  # EZCon/Huihui-Qwen3-VL-4B-Instruct-abliterated-8bit-mlx
13
- This model was converted to MLX format from [`huihui-ai/Huihui-Qwen3-VL-4B-Instruct-abliterated`]() using mlx-vlm version **0.3.4**.
14
  Refer to the [original model card](https://huggingface.co/huihui-ai/Huihui-Qwen3-VL-4B-Instruct-abliterated) for more details on the model.
15
  ## Use with mlx
16
 
 
10
  ---
11
 
12
  # EZCon/Huihui-Qwen3-VL-4B-Instruct-abliterated-8bit-mlx
13
+ This model was converted to MLX format from [`huihui-ai/Huihui-Qwen3-VL-4B-Instruct-abliterated`]() using mlx-vlm version **0.3.3**.
14
  Refer to the [original model card](https://huggingface.co/huihui-ai/Huihui-Qwen3-VL-4B-Instruct-abliterated) for more details on the model.
15
  ## Use with mlx
16
 
config.json CHANGED
@@ -1,50 +1,10 @@
1
  {
2
- "add_cross_attention": false,
3
  "architectures": [
4
  "Qwen3VLForConditionalGeneration"
5
  ],
6
- "bad_words_ids": null,
7
- "begin_suppress_tokens": null,
8
- "bos_token_id": null,
9
- "chunk_size_feed_forward": 0,
10
- "cross_attention_hidden_size": null,
11
- "decoder_start_token_id": null,
12
- "diversity_penalty": 0.0,
13
- "do_sample": false,
14
  "dtype": "bfloat16",
15
- "early_stopping": false,
16
- "encoder_no_repeat_ngram_size": 0,
17
- "eos_token_id": null,
18
- "exponential_decay_length_penalty": null,
19
- "finetuning_task": null,
20
- "forced_bos_token_id": null,
21
- "forced_eos_token_id": null,
22
- "id2label": {
23
- "0": "LABEL_0",
24
- "1": "LABEL_1"
25
- },
26
  "image_token_id": 151655,
27
- "is_decoder": false,
28
- "is_encoder_decoder": false,
29
- "label2id": {
30
- "LABEL_0": 0,
31
- "LABEL_1": 1
32
- },
33
- "length_penalty": 1.0,
34
- "max_length": 20,
35
- "min_length": 0,
36
  "model_type": "qwen3_vl",
37
- "no_repeat_ngram_size": 0,
38
- "num_beam_groups": 1,
39
- "num_beams": 1,
40
- "num_return_sequences": 1,
41
- "output_attentions": false,
42
- "output_hidden_states": false,
43
- "output_scores": false,
44
- "pad_token_id": null,
45
- "prefix": null,
46
- "problem_type": null,
47
- "pruned_heads": {},
48
  "quantization": {
49
  "group_size": 64,
50
  "bits": 8,
@@ -55,28 +15,23 @@
55
  "bits": 8,
56
  "mode": "affine"
57
  },
58
- "remove_invalid_values": false,
59
- "repetition_penalty": 1.0,
60
- "return_dict": true,
61
- "return_dict_in_generate": false,
62
- "sep_token_id": null,
63
- "suppress_tokens": null,
64
- "task_specific_params": null,
65
- "temperature": 1.0,
66
  "text_config": {
67
- "vocab_size": 151936,
68
- "max_position_embeddings": 262144,
 
 
 
 
 
69
  "hidden_size": 2560,
 
70
  "intermediate_size": 9728,
71
- "num_hidden_layers": 36,
 
72
  "num_attention_heads": 32,
 
73
  "num_key_value_heads": 8,
74
- "head_dim": 128,
75
- "hidden_act": "silu",
76
- "initializer_range": 0.02,
77
  "rms_norm_eps": 1e-06,
78
- "use_cache": true,
79
- "rope_theta": 5000000,
80
  "rope_scaling": {
81
  "mrope_interleaved": true,
82
  "mrope_section": [
@@ -86,160 +41,34 @@
86
  ],
87
  "rope_type": "default"
88
  },
89
- "attention_bias": false,
90
- "attention_dropout": 0.0,
91
- "return_dict": true,
92
- "output_hidden_states": false,
93
- "torchscript": false,
94
- "dtype": "bfloat16",
95
- "pruned_heads": {},
96
  "tie_word_embeddings": true,
97
- "chunk_size_feed_forward": 0,
98
- "is_encoder_decoder": false,
99
- "is_decoder": false,
100
- "cross_attention_hidden_size": null,
101
- "add_cross_attention": false,
102
- "tie_encoder_decoder": false,
103
- "architectures": null,
104
- "finetuning_task": null,
105
- "id2label": {
106
- "0": "LABEL_0",
107
- "1": "LABEL_1"
108
- },
109
- "label2id": {
110
- "LABEL_0": 0,
111
- "LABEL_1": 1
112
- },
113
- "task_specific_params": null,
114
- "problem_type": null,
115
- "tokenizer_class": null,
116
- "prefix": null,
117
- "bos_token_id": 151643,
118
- "pad_token_id": null,
119
- "eos_token_id": 151645,
120
- "sep_token_id": null,
121
- "decoder_start_token_id": null,
122
- "max_length": 20,
123
- "min_length": 0,
124
- "do_sample": false,
125
- "early_stopping": false,
126
- "num_beams": 1,
127
- "temperature": 1.0,
128
- "top_k": 50,
129
- "top_p": 1.0,
130
- "typical_p": 1.0,
131
- "repetition_penalty": 1.0,
132
- "length_penalty": 1.0,
133
- "no_repeat_ngram_size": 0,
134
- "encoder_no_repeat_ngram_size": 0,
135
- "bad_words_ids": null,
136
- "num_return_sequences": 1,
137
- "output_scores": false,
138
- "return_dict_in_generate": false,
139
- "forced_bos_token_id": null,
140
- "forced_eos_token_id": null,
141
- "remove_invalid_values": false,
142
- "exponential_decay_length_penalty": null,
143
- "suppress_tokens": null,
144
- "begin_suppress_tokens": null,
145
- "num_beam_groups": 1,
146
- "diversity_penalty": 0.0,
147
- "_name_or_path": "",
148
- "model_type": "qwen3_vl_text",
149
- "tf_legacy_loss": false,
150
- "use_bfloat16": false,
151
- "output_attentions": false
152
  },
153
- "tf_legacy_loss": false,
154
- "tie_encoder_decoder": false,
155
  "tie_word_embeddings": true,
156
- "tokenizer_class": null,
157
- "top_k": 50,
158
- "top_p": 1.0,
159
- "torchscript": false,
160
  "transformers_version": "4.57.1",
161
- "typical_p": 1.0,
162
- "use_bfloat16": false,
163
  "video_token_id": 151656,
164
  "vision_config": {
165
- "return_dict": true,
166
- "output_hidden_states": false,
167
- "torchscript": false,
168
- "dtype": "bfloat16",
169
- "pruned_heads": {},
170
- "tie_word_embeddings": true,
171
- "chunk_size_feed_forward": 0,
172
- "is_encoder_decoder": false,
173
- "is_decoder": false,
174
- "cross_attention_hidden_size": null,
175
- "add_cross_attention": false,
176
- "tie_encoder_decoder": false,
177
- "architectures": null,
178
- "finetuning_task": null,
179
- "id2label": {
180
- "0": "LABEL_0",
181
- "1": "LABEL_1"
182
- },
183
- "label2id": {
184
- "LABEL_0": 0,
185
- "LABEL_1": 1
186
- },
187
- "task_specific_params": null,
188
- "problem_type": null,
189
- "tokenizer_class": null,
190
- "prefix": null,
191
- "bos_token_id": null,
192
- "pad_token_id": null,
193
- "eos_token_id": null,
194
- "sep_token_id": null,
195
- "decoder_start_token_id": null,
196
- "max_length": 20,
197
- "min_length": 0,
198
- "do_sample": false,
199
- "early_stopping": false,
200
- "num_beams": 1,
201
- "temperature": 1.0,
202
- "top_k": 50,
203
- "top_p": 1.0,
204
- "typical_p": 1.0,
205
- "repetition_penalty": 1.0,
206
- "length_penalty": 1.0,
207
- "no_repeat_ngram_size": 0,
208
- "encoder_no_repeat_ngram_size": 0,
209
- "bad_words_ids": null,
210
- "num_return_sequences": 1,
211
- "output_scores": false,
212
- "return_dict_in_generate": false,
213
- "forced_bos_token_id": null,
214
- "forced_eos_token_id": null,
215
- "remove_invalid_values": false,
216
- "exponential_decay_length_penalty": null,
217
- "suppress_tokens": null,
218
- "begin_suppress_tokens": null,
219
- "num_beam_groups": 1,
220
- "diversity_penalty": 0.0,
221
- "_name_or_path": "",
222
- "model_type": "qwen3_vl",
223
- "tf_legacy_loss": false,
224
- "use_bfloat16": false,
225
  "depth": 24,
226
- "hidden_size": 1024,
227
  "hidden_act": "gelu_pytorch_tanh",
 
 
 
228
  "intermediate_size": 4096,
 
229
  "num_heads": 16,
230
- "in_channels": 3,
 
231
  "patch_size": 16,
232
  "spatial_merge_size": 2,
233
- "temporal_patch_size": 2,
234
- "out_hidden_size": 2560,
235
- "num_position_embeddings": 2304,
236
- "initializer_range": 0.02,
237
- "deepstack_visual_indexes": [
238
- 5,
239
- 11,
240
- 17
241
- ],
242
- "output_attentions": false
243
  },
244
  "vision_end_token_id": 151653,
245
  "vision_start_token_id": 151652
 
1
  {
 
2
  "architectures": [
3
  "Qwen3VLForConditionalGeneration"
4
  ],
 
 
 
 
 
 
 
 
5
  "dtype": "bfloat16",
 
 
 
 
 
 
 
 
 
 
 
6
  "image_token_id": 151655,
 
 
 
 
 
 
 
 
 
7
  "model_type": "qwen3_vl",
 
 
 
 
 
 
 
 
 
 
 
8
  "quantization": {
9
  "group_size": 64,
10
  "bits": 8,
 
15
  "bits": 8,
16
  "mode": "affine"
17
  },
 
 
 
 
 
 
 
 
18
  "text_config": {
19
+ "attention_bias": false,
20
+ "attention_dropout": 0.0,
21
+ "bos_token_id": 151643,
22
+ "dtype": "bfloat16",
23
+ "eos_token_id": 151645,
24
+ "head_dim": 128,
25
+ "hidden_act": "silu",
26
  "hidden_size": 2560,
27
+ "initializer_range": 0.02,
28
  "intermediate_size": 9728,
29
+ "max_position_embeddings": 262144,
30
+ "model_type": "qwen3_vl_text",
31
  "num_attention_heads": 32,
32
+ "num_hidden_layers": 36,
33
  "num_key_value_heads": 8,
 
 
 
34
  "rms_norm_eps": 1e-06,
 
 
35
  "rope_scaling": {
36
  "mrope_interleaved": true,
37
  "mrope_section": [
 
41
  ],
42
  "rope_type": "default"
43
  },
44
+ "rope_theta": 5000000,
 
 
 
 
 
 
45
  "tie_word_embeddings": true,
46
+ "use_cache": true,
47
+ "vocab_size": 151936
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  },
 
 
49
  "tie_word_embeddings": true,
 
 
 
 
50
  "transformers_version": "4.57.1",
 
 
51
  "video_token_id": 151656,
52
  "vision_config": {
53
+ "deepstack_visual_indexes": [
54
+ 5,
55
+ 11,
56
+ 17
57
+ ],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  "depth": 24,
59
+ "dtype": "bfloat16",
60
  "hidden_act": "gelu_pytorch_tanh",
61
+ "hidden_size": 1024,
62
+ "in_channels": 3,
63
+ "initializer_range": 0.02,
64
  "intermediate_size": 4096,
65
+ "model_type": "qwen3_vl",
66
  "num_heads": 16,
67
+ "num_position_embeddings": 2304,
68
+ "out_hidden_size": 2560,
69
  "patch_size": 16,
70
  "spatial_merge_size": 2,
71
+ "temporal_patch_size": 2
 
 
 
 
 
 
 
 
 
72
  },
73
  "vision_end_token_id": 151653,
74
  "vision_start_token_id": 151652
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ea193e7b10912209672ee7deac943390a06942a43d4ca94bf1f9b98fbcb4aefa
3
  size 5104903807
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f94ab1c970cdc1d2f3b83f3c96a5f9cf2fedd1346edce72004a3f30b031485ae
3
  size 5104903807