Update model type in config.json
Browse filesThe model type is currently set to qwen2_5_vl_text, which causes a ModuleNotFoundError: No module named 'transformers.models.qwen2_5_vl_text' when loading any variant of Qwen2.5-7b-Instruct available in the Unsloth mapper. The incorrect model type qwen2_5_vl_text gets passed to the model_types variable in the unsloth-zoo compiler, which then triggers the error when exec(f"import {model_location}", globals()) is executed.

Change the model type from qwen2_5_vl_text to qwen2_5_vl to match the correct Transformers module path.
- config.json +1 -1
config.json
CHANGED
|
@@ -159,7 +159,7 @@
|
|
| 159 |
],
|
| 160 |
"max_position_embeddings": 128000,
|
| 161 |
"max_window_layers": 28,
|
| 162 |
-
"model_type": "
|
| 163 |
"num_attention_heads": 28,
|
| 164 |
"num_hidden_layers": 28,
|
| 165 |
"num_key_value_heads": 4,
|
|
|
|
| 159 |
],
|
| 160 |
"max_position_embeddings": 128000,
|
| 161 |
"max_window_layers": 28,
|
| 162 |
+
"model_type": "qwen2_5_vl",
|
| 163 |
"num_attention_heads": 28,
|
| 164 |
"num_hidden_layers": 28,
|
| 165 |
"num_key_value_heads": 4,
|