Questions tagged [natural-language-understanding]

For questions related to natural language understanding (NLU), which is a subtopic of natural language processing (NLP) that deals with machine reading comprehension. Natural-language understanding is considered a hard problem.

Filter by
Sorted by
Tagged with
6 votes
2 answers
549 views

How does GPT-based language model like ChatGPT determine the n-th letter of a word?

I understand that GPT models process input text by converting words into tokens and then embedding vectors and do not process them letter by letter. Given this approach, I am curious to know how a ...
1 vote
2 answers
621 views

How to extract parameters from a text using AI/NLP

lets say I have three texts: "make a heading that says hello word" "make a heading of hello world" "create heading consist of hello world" How can I fetch those groups ...
0 votes
1 answer
63 views

What language model can convert normal text to JSON data

I have tried training T5-small, T5-base and T5-Large on around 15K rows of data where input data was something like but I did not get desired results ...
0 votes
5 answers
1k views

How do I use A.I. to analyse & score news articles?

I'm working on a project that would benefit from using A.I. or machine learning to analyse news feeds from a variety of websites and grade each article between 0 and 10. We would manually grade ...
0 votes
0 answers
23 views

Chat with your DB: How to get AI to follow your rules?

Context/Background: I have a single table in MySQL with info on 'members', including things like location, favourite types of music, favourite camping spots, etc. Required Behaviour: I need the system ...
0 votes
0 answers
16 views

Can you recommend a free AI tool to search a long list of PDFs with simple queries?

I'm planning to use AI for a research project on health data. At my organisation, there is a huge quantity of detailed patient reports in PDF format (written in German) that contain unstructured data, ...
0 votes
1 answer
86 views

How does chatgpt interpret prompts? [closed]

First of all, my English isn't very good, please bear with me. I've heard that chatgpt is a decoder-only model, which doesn't use any encoder model. How does it interpret our prompts if it doesn't use ...
54 votes
2 answers
46k views

How does ChatGPT retain the context of previous questions?

One of the innovations with OpenAI's ChatGPT is how natural it is for users to interact with it. What is the technical enabler for ChatGPT to maintain the context of previous questions in its answers? ...
0 votes
2 answers
127 views

Why encoders are required in Transformers

In the original Transformers paper why encoder is added when a decoder alone can do what an encoder can do (like multi-head attention, feed-forward NN etc....). I mean even a decoder also has the same ...
4 votes
4 answers
4k views

How does ChatGPT respond to novel prompts and commands?

So I understand how a language model could scan a large data set like the internet and produce text that mimicked the statistical properties of the input data, eg completing a sentence like "eggs ...
0 votes
1 answer
88 views

How can I use Artificial Intelligence to compare to paragraphs to see if they share the same meaning?

I am looking for a way to compare two paragraphs and see if both share the same meaning. For example, these two paragraphs have the same meaning, but they are worded differently. Paragraph 1: The ...
4 votes
0 answers
3k views

How is ChatGPT maintaining context?

It has been suggested in the answer to this earlier question that it is just remembering a certain amount of recent information. The reference used is this post by OpenAI which says that ChatGPT ...
0 votes
0 answers
10 views

What would be the best approach to resume longer texts in one word?

I am trying to create a model capable of resuming longer texts (my dataset has up to 140 words for each instance) in a single word (or multiple separate words). The idea is to synthetize positive or ...
24 votes
4 answers
12k views

How does ChatGPT know math?

ChatGPT is a language model. As far as I know and If I'm not wrong, it gets text as tokens and word embeddings. So, how can it do math? For example, I asked: ME: Which one is bigger 5 or 9. ChatGPT: ...
4 votes
1 answer
145 views

What puts the "chat" in a system like ChatGPT?

So I read Wolfram's What Is ChatGPT Doing … and Why Does It Work? but it left one really big question in my mind. His summary [if it could be called that!] really emphasizes that the core model is ...
39 votes
7 answers
16k views

Is the "Chinese room" an explanation of how ChatGPT works?

Sorry if this question makes no sense. I'm a software developer but know very little about AI. Quite a while ago, I read about the Chinese room, and the person inside who has had a lot of training/...
3 votes
1 answer
227 views

What is the "state of the art" in (at least partially) symbolic/logic-based chat bots/AI assistants?

ChatGPT has had a lot of buzz around it recently, and for good reason. It has shown some amazing capabilities in responding to new information, as well as in generalizing new information that has been ...
3 votes
1 answer
123 views

Is there a complement to GPT/2/3 that can be trained using supervised learning methods?

This is a bit of a soft question, not sure if it's on topic, please let me know how I can improve it if it doesn't meet the criteria for the site. GPT models are unsupervised in nature and are (from ...
3 votes
1 answer
11k views

Does chatGPT learn or remember from (public) user input? Will it 'fess up to it? I could not get it to reveal [closed]

It started with a question inspired by this video: New Research Suggests to Put AI to Sleep https://youtu.be/0yuQlbCkTJ0 She says: "In this video I discuss a new research paper which suggest a ...
1 vote
0 answers
58 views

How to develop an Entity linking system able to detect custom entities?

I am trying to build an entity linking system that links entities found in a text to entities on Wikipedia. If no Wikipedia page seems to match this entity, the systems will assume to have found a new ...
1 vote
0 answers
27 views

Are custom tokens better than punctuation pseudo-tokens for LLMs?

I've seen two approaches for introducing custom tokens for transfer learning with large language models like Bert or GPT3. Some approaches introduce new tokens into the vocabulary and learn embeddings ...
0 votes
1 answer
136 views

What is the role of self loop in Hidden Markov Models(HMM)?

What actually does the self-loop (within the single hidden state ) in the Hidden Markov model helpful for? I learn that one of the use cases concerning Natural language Understanding is that it helps ...
1 vote
0 answers
194 views

How do I preload a conversational AI assistant like GPT-3 with complex relational data to draw on?

I'm exploring options to build a virtual assistant type of product. Creating good dialog is mostly solved with GPT-3 or even DialoGPT. My main question is how do I add larger amounts of relational ...
2 votes
1 answer
86 views

How might AI analyze abusive discussion using natural language grammar?

Opening thoughts This does not only apply to SE comments, but the idea in general. This is not a Question for Linguistics.SE; those Questions might come later, after AI analysis. Example Linguistics ...
2 votes
1 answer
103 views

How to predict the "word" based on the meaning in a document?

What I mean to say is For example, if I give the meaning of Apple from the dictionary as input to the program, it should give output as Apple. Or I say My day to day job involves monitoring and ...
8 votes
2 answers
6k views

How is the F1 score calculated in a question-answering system?

I have an NLP model for answer-extraction. So, basically, I have a paragraph and a question as input, and my model extracts the span of the paragraph that corresponds to the answer to the question. I ...
18 votes
2 answers
364 views

What research has been done in the domain of "identifying sarcasm in text"?

Identifying sarcasm is considered one of the most difficult open-ended problems in the domain of ML and NLP/NLU. So, was there any considerable research done on that front? If yes, then what is the ...
2 votes
1 answer
90 views

How would you build an AI to output the primary concept of a paragraph?

My thinking is you input a paragraph, or sentence, and the program can boil it down to the primary concept(s). Example: Input: Sure, it would be nice if morality was simply a navigation toward ...
4 votes
1 answer
171 views

Can a computer identify the philosophical concept on which a given story is based?

Say you have to enter a story to a computer. Now, the computer has to identify the philosophical concept on which the story is based, say: Was it a "self-fulfilling prophecy"? Was it an ...
1 vote
2 answers
43 views

Among N documents, how to summarize the most unique content in each document?

I now have $N$ documents, which share common content and they have special unique content. Say I have $3$ legal documents related to the same person. Document $A$ is about land law, document $B$ is ...
4 votes
3 answers
265 views

Can we make a chatbot that really "understands" the questions?

Can we make a chatbot that really "understands" (rather than just replies to) questions based on the database/options of replies that it has? I mean, can it come up with correct/non-stupid ...
1 vote
0 answers
33 views

Is there something like person-specific sentiment analysis?

Sentiment analysis, as we know, measures "Cake sucks" as say -0.4, and "Cake is great" as 0.7. What I'm looking for is something a bit different like so: Given input text data ...
1 vote
1 answer
3k views

What is MNLI-(m/mm)?

I came across the term MNLI-(m/mm) in Table 1 of the paper BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. I know what MNLI stands for, i.e. Multi-Genre Natural ...
7 votes
1 answer
3k views

How to recognise metaphors in texts using NLP/NLU?

What are the current NLP/NLU techniques that can extract metaphors from texts? For example His words cut deeper than a knife. Or a simpler form like: Life is a journey that must be travelled no ...
2 votes
1 answer
1k views

How to measure the similarity the pronunciation of two words?

I would like to know how I could measure the pronunciation of two words. These two words are quite similar and differ only in one vowel. I know there is, e.g., the Hamming distance or the Levenshtein ...
1 vote
0 answers
174 views

What is the best way to generate German paraphrases?

What is the best method to generate German paraphrases? The state-of-the-art are seq2seq transformer models, like T5, but they only work for English sentences. I found the multilingual MT5 model, but ...
1 vote
0 answers
73 views

Text matching: fuzzy names matching with learning

I'm new to AI/ML and I want to research and learn about techniques that could help me to solve this complex task. Any hint would be appreciated. Let me explain it with an example: Let's look at two ...
1 vote
0 answers
21 views

Can unsupervised models learn something from cat vocalizations?

I love cats, and over the years have noticed that they have recurrent patterns of vocalizations. For example, upon seeing a bird, a cat may start chittering, but the same cat would never chitter at ...
-1 votes
1 answer
37 views

Extracting values from text based on keywords

I am trying to read a PDF file and put it in Python string and trying to fetch information based on keywords. The text here is completely irregular. Example of text Blockquote Ram has taken an ...
1 vote
0 answers
300 views

How homographs is an NLP task can be treated?

A homograph - is a word that shares the same written form as another word but has a different meaning. They can be even different parts of speech. For example: close(verb) - close(adverb) lead(verb)...
3 votes
1 answer
183 views

How would one disambiguate between two meanings of the same word in a sentence?

The boy lifted the bat and hit the ball. In the above sentence, the noun "bat" means the wooden stick. It does not mean bat, the flying mammal, which is also a noun. Using NLP libraries to ...
1 vote
1 answer
243 views

What dataset might Elon Musk's Dall-E have used?

Dall-E, it can generate many imaginative images from the description, even some peculiar images, how did they actually create this kind of dataset to train this AI , because there is not much of that ...
0 votes
0 answers
25 views

Is there any neural network model that can perform multiple NLP steps at once?

I realize most NLP algorithms have multiple steps. (e.g. OCR/speech rec > syntax > semantics > response logic > semantic output > natural language output) Is there any NN model that can ...
0 votes
4 answers
2k views

Why does Google Translate produce two different translations for the same Chinese text?

I don't understand why Google Translate translates the same text in different ways. Here is the Wikipedia page of the 1973 film "Enter the Dragon". You can see that its traditional Chinese ...
30 votes
9 answers
7k views

What is the actual quality of machine translations?

As an AI layman, till today I am confused by the promised and achieved improvements of automated translation. My impression is: there is still a very, very far way to go. Or are there other ...
1 vote
1 answer
476 views

How could facts be distinguished from opinions?

As a software engineer, I am searching for an existing solution or, if none exists, willing to create one that will be able to process texts (e.g. news from online media) to extract/paraphrase dry ...
3 votes
1 answer
5k views

How can I leverage artificial intelligence and virtual reality to create intelligent automatic story generation?

How can I leverage artificial intelligence and virtual reality to create intelligent automatic story generation? My idea is to come up with a system that is empowering the user’s imagination to create ...
2 votes
1 answer
1k views

How can a system like Jarvis understand the commands and take actions?

I am looking to make an AI like Jarvis. A perfect real-life example of this type of system is the simple AI that Mark Zuckerberg has recently built. Here is a description of how his AI works. From ...
4 votes
2 answers
151 views

Is there a machine learning system that is able to understand mathematical problems given in a textual description?

Is there a machine learning system that is able to "understand" mathematical problems given in a textual description, such as A big cat needs 4 days to catch all the mice and a small cat ...
2 votes
1 answer
171 views

Are there any meaningful books entirely written by an artificial intelligence?

Are there any meaningful books entirely written by an artificial intelligence? I mean something with meaning, unlike random words or empty books. Something that can be charactersed as fiction ...