unsloth/studio/backend/utils/datasets
Daniel Han 852755cc92 studio: fix stale GGUF metadata when switching models, update default helper model
Reset _supports_reasoning, _supports_tools, _chat_template, and
_context_length at the top of _read_gguf_metadata so flags from a
previously loaded model do not carry over. Without this, loading a
reasoning model (eg Qwen3.5-4B) then switching to a non-reasoning
model (eg Qwen3-4B-Instruct-2507) would keep supports_reasoning=True
from the first model, causing the UI to show "Thought for 0 seconds"
and passing --chat-template-kwargs enable_thinking to a model whose
chat template does not support it.

Also update the default helper GGUF from Qwen3-4B-Instruct-2507-GGUF
to Qwen3.5-4B-GGUF to match the frontend fallback auto-load model.
2026-03-17 07:46:21 +00:00
..
__init__.py Update license headers 2026-03-12 17:23:10 +00:00
chat_templates.py studio: web search, KV cache dtype, training progress, inference fixes 2026-03-17 00:30:01 -07:00
data_collators.py Final cleanup 2026-03-12 18:28:04 +00:00
dataset_utils.py studio: web search, KV cache dtype, training progress, inference fixes 2026-03-17 00:30:01 -07:00
format_conversion.py Final cleanup 2026-03-12 18:28:04 +00:00
format_detection.py Final cleanup 2026-03-12 18:28:04 +00:00
llm_assist.py studio: fix stale GGUF metadata when switching models, update default helper model 2026-03-17 07:46:21 +00:00
model_mappings.py Final cleanup 2026-03-12 18:28:04 +00:00
vlm_processing.py Final cleanup 2026-03-12 18:28:04 +00:00