deepset-ai / FARM

:house_with_garden: Fast & easy transfer learning for NLP. Harvesting language models for the industry. Focus on Question Answering.
https://farm.deepset.ai
Apache License 2.0
1.74k stars 248 forks source link

Examples scripts using the TextPairClassificationProcessor are not working #701

Closed Timoeller closed 3 years ago

Timoeller commented 3 years ago

Describe the bug When trying to test our TextPairClassificationProcessor I realized a lot of our example scripts are currently not working.

Example script text_pair_classification.py

Example script passage_ranking.py

It throws an Exception("No task initialized....") @brandenchan

Timoeller commented 3 years ago

We should make Textpairclassification work to be able to support reranking in haystack like mentioned in https://github.com/deepset-ai/haystack/issues/423