Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D DeepPavlov
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 18
    • Issues 18
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DeepPavlov
  • DeepPavlov
  • Issues
  • #1346
Closed
Open
Issue created Nov 18, 2020 by Andrei Glinskii@glinskii.avDeveloper

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. image

Error (including full traceback):

Incorrect result. No error. image

Assignee
Assign to
Time tracking