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

Checking output format + check raises ValueError #8986

Conversation

Narsil
Copy link
Contributor

@Narsil Narsil commented Dec 8, 2020

Just making sure we're not changing the format when we apply function_to_apply

Copy link
Member

@LysandreJik LysandreJik left a comment

Choose a reason for hiding this comment

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

This looks good to me, thanks for completing the tests!

string_input, _ = VALID_INPUTS
tokenizer = AutoTokenizer.from_pretrained(model_name, use_fast=True)

model = DistilBertForSequenceClassification(DistilBertConfig.from_pretrained(model_name))
Copy link
Member

Choose a reason for hiding this comment

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

I like this!

@LysandreJik LysandreJik merged commit 3bae404 into huggingface:text-classification-pipeline-raw-output Dec 8, 2020
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.

None yet

2 participants