DX-596-together-fine-tuning: sync with mintlify-docs#892#31
Merged
Merged
Conversation
…docs#892 Mirror the updated client/server-side file validation guidance from togethercomputer/mintlify-docs#892: - references/data-formats.md: split validation into client-side structural check and server-side schema validation, document processing_status states (COMPLETED / INVALID_FORMAT / FAILED) and validation_report payloads, refresh CLI examples. - scripts/*_workflow.py: poll client.files.retrieve(...).processing_status after upload before starting fine-tuning so bad datasets fail fast instead of consuming training time.
newokaerinasai
approved these changes
Jun 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mirrors togethercomputer/mintlify-docs#892 ("MOSH-2768: update docs with examples of backend file validation").
Docs changes that triggered this PR
docs/fine-tuning-data-preparation.mdxdocs/fine-tuning-quickstart.mdxSkill changes
references/data-formats.md: split validation into a client-side structural check (UTF-8 / one-JSON-per-line / min samples / max size) and a server-side schema validation stage, and document the newprocessing_statuslifecycle (COMPLETED/INVALID_FORMAT/FAILED) along with samplevalidation_reportpayloads.references/data-formats.md: refreshed the CLI section to showtogether files retrieve <FILE-ID>as the way to inspect server-side validation status.scripts/finetune_workflow.py,scripts/dpo_workflow.py,scripts/function_calling_finetune.py,scripts/reasoning_finetune.py,scripts/vlm_finetune.py: added a smallwait_for_file_ready(file_id)helper that pollsclient.files.retrieve(...).processing_statusafter upload and raises onINVALID_FORMAT/FAILEDbefore callingclient.fine_tuning.create(...), so bad datasets fail fast instead of consuming training time.Generated by the Sync Skills Cursor Automation. Please review before merging.