unsloth/studio/backend/utils
Roland Tannous 8f1df91a9d refactor: advisor maps columns to roles instead of generating templates
The advisor now only assigns columns to user/assistant roles and
generates a system prompt. Templates (user_template, assistant_template)
are removed entirely — the LLM was frequently putting all columns in
user or copying actual data values into templates.

Column values are now used directly as message content, grouped and
concatenated by role. This is simpler, more robust, and prevents the
class of bugs where the advisor generates bad template content.
2026-03-10 17:17:27 +00:00
..
datasets refactor: advisor maps columns to roles instead of generating templates 2026-03-10 17:17:27 +00:00
hardware Add AGPL-3.0 SPDX headers to all source files 2026-03-09 20:17:45 +00:00
inference Add AGPL-3.0 SPDX headers to all source files 2026-03-09 20:17:45 +00:00
models Revert "Merge pull request #347 from unslothai/feature/studio-storage-roots" 2026-03-10 01:52:47 +00:00
paths Revert "Merge pull request #347 from unslothai/feature/studio-storage-roots" 2026-03-10 01:52:47 +00:00
.gitkeep root studio folder 2026-02-02 09:13:49 +00:00
cache_cleanup.py Add AGPL-3.0 SPDX headers to all source files 2026-03-09 20:17:45 +00:00
transformers_version.py Add AGPL-3.0 SPDX headers to all source files 2026-03-09 20:17:45 +00:00
utils.py Add AGPL-3.0 SPDX headers to all source files 2026-03-09 20:17:45 +00:00