How to create Question Answering Allen NLP Bot. No training needed. Using Python.

preview_player
Показать описание
DECMBER 2020 Update: Updated working code is in the notebook below. (Since the video was made there have been some changes in AllenNLP. Now my code is again working, please refer colab notebook below)

Create a answering machine (or a chatbot) in Python, which does not need to be trained. Just run few lines of code and start asking questions. Thanks to Allen Institute for their wonderful work.

Current model uses BiDAF - Bidirectional Attention Flow for Machine Comprehension

The code is uploaded as a notebook on Github. Below is the location from where you can download:

Рекомендации по теме
Комментарии
Автор

Wonderful video. This works fine in colab but I unable to run it locally on jupyter notebook. Any idea why?

strangelight
Автор

what if you need to look for an answer in a database of questions and answers instead of a single passage?

mdsdn
Автор

Interesting and knowledgeable video ... would you please explain to me how to get a direct answer from the web without writing a paragraph or any link?

SubhadipMondalIndia
Автор

Hi Sandeep. Thanks for this tutorial. Could you please tell me how to use allennlp for TEXT to SQL queries generation?

durgesh
Автор

Thanks for share, is it possible to integrate a pdf file instead of its content (text) ?

souagabdelkrim
Автор

Does it accept voice command? If not please give me some codings for a python which can accept voice command.

onikislam
Автор

Instead of paragraph, how can we search answer from long pdf?

srijitasaharoy
Автор

can we restrain it on an intended corpus ?

indranilbiswas
Автор

Hello Sandeep, I was trying to follow your. Tutorial on AWS EC2 but my Allen NLP installation got stucked I was using python 3.8 can you please suggest me something?

wakeupcoders
Автор

Sandeep, it was really a good model and it can used across any language platforms... you have provided the driving code, which is good.. is it possible to provide us the code that is used for creating bi-directional model.

krishnan
Автор

how can this code be used with text summary

hinasheikh
Автор

does this worth with python 3.7. As i am trying to pip install allennlp...its giving error


ERROR: Could not find a version that satisfies the requirement torch>=1.2.0 (from allennlp) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
ERROR: No matching distribution found for torch>=1.2.0 (from allennlp)

UMESHDAVEY
Автор

it is not wor
king it says "name predictor is not defined"

saishreeraam
Автор

how to save predictor model(for example as pkl file or any other format), so that we can use this model time and again instead of downloading over the internet every time? Please help me here.

sagarpalyal
visit shbcf.ru