Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change generate return type to Result #437

Merged
merged 2 commits into from
Dec 4, 2023

Conversation

guillaume-be
Copy link
Owner

Text generation traits and pipelines (including conversation, summarization and translation) now return a Result for improved error handling

Fixes #436

@guillaume-be guillaume-be merged commit 1f4d344 into main Dec 4, 2023
11 checks passed
@guillaume-be guillaume-be deleted the improved_generate_error_handling branch December 4, 2023 17:58
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.

GPT-2 text generation throws an unexpected error
1 participant