unsloth/studio/backend/utils
Roland Tannous a30153e1bb fix: improve Pass 2 prompt to correctly split INPUT/OUTPUT columns
The LLM was putting all columns in user_template (e.g. summarization
dataset had both document AND summary as user input). Fixed by:

- Reframed system message: explicitly states user=INPUT, assistant=OUTPUT
- Added 4 concrete correct examples (summarization, NLI, translation, QA)
  showing exactly how to split columns
- Added "NEVER put the output/target column in the user template" rule
- Added sanity check: if assistant_template has no column placeholders,
  reject the result and fall back to simple classification
2026-03-10 16:47:50 +00:00
..
datasets fix: improve Pass 2 prompt to correctly split INPUT/OUTPUT columns 2026-03-10 16:47:50 +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