Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Use tuple input for TextPairClassification inference#723

Merged
Timoeller merged 2 commits intomasterfrom
fix_textpair_infer
Feb 23, 2021
Merged

Use tuple input for TextPairClassification inference#723
Timoeller merged 2 commits intomasterfrom
fix_textpair_infer

Conversation

@Timoeller
Copy link
Contributor

In #713 we refactored the TextPairClassificationProcessor by merging text and text_b into a tuple in the file_to_dicts method.

When doing inference on dataset_from_dicts we need to supply a tuple as well instead of "text" and "text_b" keys.

Fixes #722

@Timoeller Timoeller merged commit c7e5d1a into master Feb 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Something weird with Inferencer for Text Pair Classification?

1 participant