Questions tagged [nlp-question-answering]

Question Answering is the computer task of mechanically answering questions posed in natural language. (Please do not use this tag to indicate that you have a question and want an answer. That's already implied.)

For more information, see: https://en.wikipedia.org/wiki/Question_answering

243 questions
0
votes
1 answer

Suggestions for question answering system NLP

I am trying to build a question answering system where I have a set of predefined questions and their answers. For any given question from the user I have to find if the similar question already exists in the predefined questions and send answers.…
0
votes
1 answer

AttributeError: 'NoneType' object has no attribute 'strip' jupyter notebook

I'm trying to run this notebook which is an implementation of a question answering system. after running the 8th cell: challenges = { # QA1 with 10,000 samples 'single_supporting_fact_10k':…
0
votes
1 answer

How to get hidden state matrices out of stacked BiLSTM layer in Tensorflow Keras?

I am trying to write code for this architecture (Question Answering model: Paper https://www.hindawi.com/journals/cin/2019/9543490/) and looking for help how to get hidden state matrices Hq and Ha from stacked BiLSTM layers. Could some one please…
Raghu
  • 407
  • 5
  • 12
0
votes
1 answer

Intelligent addition of words to make a question from the statement

I have 5000 videos and I want to add words in front of it, to make a question out of the title. For eg. Video title is 1. 'Historian era' I want a question out of it - What is Historian era 2. 'Solve using Quadratic Equation' - 'How to solve…
0
votes
1 answer

Why does my VQA network perform so poorly?

I'm trying to build a Visual Question Answering model using the Clevr dataset (https://cs.stanford.edu/people/jcjohns/clevr/) for a deep learning homework (I can't use the functional program representation, though). However, I'm struggling, as my…
0
votes
5 answers

Smart phone Codechef problem logic confusion

You are developing a smartphone app. You have a list of potential customers for your app. Each customer has a budget and will buy the app at your declared price if and only if the price is less than or equal to the customer's budget. You want to fix…
yolon bsn
  • 89
  • 1
  • 1
  • 4
0
votes
1 answer

What are the means to compute relevance score between question-answer pairs?

In information retrieval or question answering system, we use TD-IDF or BM25 to compute the similarity score of question-question pair as the baseline or coarse ranking for deep learning. In community question answering, we already have the…
DunkOnly
  • 1,682
  • 4
  • 17
  • 39
0
votes
1 answer

Loss function for Question Answering posed as Multiclass Classification?

I'm working on a question answering problem with limited data (~10,000s of data points) and very few features for both the context/question as well as the options/choices. Given: a question Q and options A, B, C, D, E (each characterized by some…
0
votes
1 answer

How can I evaluate out-of-domain question in a domain-specific Q&A bot when I only have in-domain data?

I learned that some popular bots like RASA or LUIS will have "confidence scores" to evaluate the out-of-domain questions, but none of them provide documentation of how they calculate these scores. Also, information retrieval has some approaches to…
davislf2
  • 79
  • 10
0
votes
1 answer

Program shows 'NoneType' object has no attribute 'strip'

When I execute code available here https://keras.io/examples/babi_memnn/ I found this error runfile('E:/Courses/PhD/ML/Sample Prog/Practicals/memNetworkBabi.py', wdir='E:/Courses/PhD/ML/Sample Prog/Practicals') Using TensorFlow backend. Extracting…
0
votes
2 answers

Finding squarefree divisors of a number in C

The requirement is to list all divisors different from 1 of a given number that are not themselves divisible by a perfect square. Here is my code so far: #include #include int main() { int n, i, temp; scanf("%d", &n); …
0
votes
2 answers

Q&A on KB Articles using NLP

I have a large set of KB Articles (software support), and I am looking for ways to extract answers based on a question asked against these KB articles. I am looking for guidance to understand the following - Are there libraries available (maybe…
Nitin Rastogi
  • 1,446
  • 16
  • 30
0
votes
0 answers

When is there a need to use a reasoner like jena when developing a knowledge-based QA system?

In my opinion : Query the answer from the RDF 3-tuples, if no answer ,then try a reasoner. Use the reasoner to complete knowledge graph off-line to save online query time.
0
votes
1 answer

Best way to handle images when updating graphics Javascript

So in this project that I am writing i have a wheel that contains of images. They are drawn with the canvas.getContext('2d').drawImage() function. My first idea was that I would just get the img in the loop as the following. while(wheel){ //all…
Albin wärme
  • 251
  • 1
  • 14
0
votes
1 answer

Get Exact Answer from IBM Watson Discovery

I use IBM Watson Discovery with my own document collection. When I enter a query that is "When was Stephen Hawking born?", Discovery returns related passages and one of them is "Stephen Hawking was born on 8th January 1942". The point I want to…