Skip to content

Add text length validation to training#2435

Closed
gunthercox wants to merge 2 commits intomasterfrom
train
Closed

Add text length validation to training#2435
gunthercox wants to merge 2 commits intomasterfrom
train

Conversation

@gunthercox
Copy link
Copy Markdown
Owner

This adds optional validation (enabled by default) when the train step is called to log warnings when text in a conversation exceeds the maximum supported length.

Warnings are intended to be permissive and allow the support of training data collections to exceed the default limit defined here.

@gunthercox gunthercox force-pushed the train branch 2 times, most recently from a9e68a9 to f3869b4 Compare February 1, 2026 12:18
@gunthercox gunthercox closed this Feb 1, 2026
@gunthercox gunthercox deleted the train branch February 1, 2026 13:23
@gunthercox
Copy link
Copy Markdown
Owner Author

Closing this in preference to just increasing the maximum field length (#2436). Length validation could still be good to add at some point, but maybe in a way that doesn't increase the training overhead directly.

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