Paraphrase giving incorrect results after following the example
Created by: Rajmehta123
Apology for the image magnification. Couldn't scale down the image/screenshot/output.
DeepPavlov version (you can look it up by running pip show deeppavlov
):
0.12.1
Python version: Python 3.7.0
Operating system (ubuntu linux, windows, ...): Linux
Issue: Downloaded the Quora question pairs dataset example by downloading the pretrained model file. https://deeppavlov.readthedocs.io/en/master/features/models/neural_ranking.html Running the following example yields the wrong result. It should have been the paraphrase.
from deeppavlov import build_model, configs
para_model = build_model(configs.ranking.paraphrase_ident_qqp_interact, download=True)
para_model(['How can I be a good geologist?&What should I do to be a great geologist?'])
>>> 'This is a paraphrase.'
This is the output on my local.
Error (including full traceback):