Skip to content

Instantly share code, notes, and snippets.

@vaskonov
Created January 30, 2019 08:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vaskonov/a4c8287714900c5c201b8d6e46f32ff1 to your computer and use it in GitHub Desktop.
Save vaskonov/a4c8287714900c5c201b8d6e46f32ff1 to your computer and use it in GitHub Desktop.
from deeppavlov import configs
from deeppavlov.core.commands.infer import build_model
odqa = build_model(configs.odqa.en_odqa_infer_wiki, download = False)
a = odqa(["what is tuberculosis ?"])
['a disease for which a new drug is desperately needed']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment