:house_with_garden: Fast & easy transfer learning for NLP. Harvesting language models for the industry. Focus on Question Answering.
1.73k
stars
247
forks
source link
Use tuple input for TextPairClassification inference #723
Closed
Timoeller closed 3 years ago
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