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

Quick fix error formatting #3328

Merged
merged 1 commit into from
Nov 29, 2021
Merged

Conversation

NouamaneTazi
Copy link
Member

@NouamaneTazi NouamaneTazi commented Nov 27, 2021

While working on a dataset, I got the error

TypeError: Provided `function` which is applied to all elements of table returns a `dict` of types {[type(x) for x in processed_inputs.values()]}. When using `batched=True`, make sure provided `function` returns a `dict` of types like `{allowed_batch_return_types}`.

This PR should fix the formatting of this error

@NouamaneTazi NouamaneTazi changed the title quick fix error formatting Quick fix error formatting Nov 27, 2021
Copy link
Member

@lhoestq lhoestq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix !

@lhoestq lhoestq merged commit 1d7f669 into huggingface:master Nov 29, 2021
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.

2 participants