Skip to content

Stop Train tab from running dataset prep on open - #327

Merged
Legendarylibr merged 1 commit into
mainfrom
fix/train-no-auto-dataset-prep
Jul 12, 2026
Merged

Stop Train tab from running dataset prep on open#327
Legendarylibr merged 1 commit into
mainfrom
fix/train-no-auto-dataset-prep

Conversation

@Legendarylibr

Copy link
Copy Markdown
Owner

Summary

  • Train no longer pre-fills the sample dataset or auto-picks the first local model when the sidebar tab is opened.
  • Full-corpus dataset analysis and related prep only run after the user selects a dataset (or model for lighter recommendations).
  • Adds a short UI hint that nothing runs until a dataset is chosen.

Test plan

  • Open Train from the sidebar with no prior selection — no “Analyzing dataset…” banner and no analyze-dataset/recommendations traffic until a choice is made.
  • Select the bundled sample (or any HF/local path) — analysis starts and suggested settings appear.
  • Clear dataset / re-open tab — analysis does not re-run on empty selection.
  • Hub deep-link with ?model= still preselects/downloads as before.

Leave dataset empty until the user picks one, skip full-corpus analysis and auto-select of the first local model, and only restore a previously stored model choice.
@Legendarylibr
Legendarylibr merged commit e579abe into main Jul 12, 2026
8 checks passed
@Legendarylibr
Legendarylibr deleted the fix/train-no-auto-dataset-prep branch July 12, 2026 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant