unsloth/studio/backend/utils
Roland Tannous b1a5a88cb9 fix: advisor quality gate, better prompts, always show AI Assist button
- Reject advisor result when Pass 3 scores < 6 or is_acceptable=false,
  falls back to simple column classification instead of using bad output
- Improved Pass 2 prompt: explicit rules for label_mapping completeness,
  {column_name} vs {column_name_name} for mapped labels, column_roles
  must match which template uses them
- Build suggested_mapping from ALL template-referenced columns (not just
  first match per role) — fixes hypothesis being dropped from SNLI mapping
- Guard against LLM returning literal string "null" for revised_system_prompt
- Always show AI Assist button when available, even when mapping looks complete
2026-03-10 15:51:14 +00:00
..
datasets fix: advisor quality gate, better prompts, always show AI Assist button 2026-03-10 15:51:14 +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