Natural Language Processing Flashcards

(33 cards)

1
Q

What is Natural Language Processing (NLP)?

A

A core area of AI that focuses on enabling computers to understand, interpret, and generate human language, both written and spoken

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the ultimate goal of NLP?

A

To make sense of text in a way similar to humans, allowing machines to process human languages in relevant contexts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is tokenization in NLP?

A

A preprocessing step where text is broken down into distinct words, parts of words, punctuation marks, or emojis, each represented by a unique numeric identifier

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are embeddings in NLP?

A

Special numeric codes that represent tokens as multivalued numeric representations, capturing semantic relationships between words with similar meanings having similar embedding codes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Give an example of how embeddings work

A

‘Dog’ and ‘puppy’ have vectors pointing in almost identical directions, similar to ‘cat’, while ‘skateboard’ would have a different embedding vector

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is positional encoding?

A

A technique that ensures the model doesn’t lose word order when processing natural language by adding a positional vector to each word’s embedding

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are attention layers?

A

Layers critical for determining how important each word or token is to the meaning of a sentence, especially in relation to other words

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How do attention layers work in encoder blocks?

A

They help determine appropriate vector embedding for each word based on its context and relationship with other frequently appearing words

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How do attention layers work in decoder blocks?

A

They predict the next token by considering the sequence of tokens so far, identifying the most influential tokens to decide what comes next

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are Transformer models?

A

Models that are especially good at understanding and generating language, forming the basis for today’s Large Language Models (LLMs)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is sentiment analysis?

A

Calculating scores indicating emotional tone of text (positive, negative, neutral), providing labels and confidence scores at sentence and document level

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What works better for sentiment analysis - small or large amounts of text?

A

Small amounts of text work better for sentiment analysis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is opinion mining?

A

Aspect-based sentiment analysis that provides granular information about opinions related to specific aspects within text

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is key phrase extraction?

A

Identifying main points or concepts in a document, which works best with larger amounts of text

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is Named Entity Recognition (NER)?

A

Identifying and categorizing entities in text such as people, places, objects, quantities, and events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is a subset of NER?

A

Personally Identifiable Information (PII) detection

17
Q

What is machine translation?

A

Automating the translation of written and spoken language between different languages, including text, documents, and custom domain-specific terms

18
Q

What is conversational AI?

A

AI agents that engage in dialogue with human users (bots/chatbots), requiring language models to interpret requests, determine intent, and formulate responses

19
Q

What is question answering in NLP?

A

Defining a knowledge base of question-and-answer pairs from FAQ documents or custom entries, used by client applications to respond to user input

20
Q

What does CLU stand for?

A

Conversational Language Understanding

21
Q

What does CLU do?

A

Detects the intent of a user’s utterance (what user wants to do) and identifies entities (specific items referenced in the utterance)

22
Q

What is Azure AI Language Service?

A

Provides pre-trained and customizable deep learning models for text analysis including sentiment analysis, key phrase extraction, language detection, NER, and summarization

23
Q

How do you access Azure AI Language Service?

A

Through Language Studio

24
Q

What are the three main capabilities of Azure AI Speech Service?

A

Speech-to-Text (transcribes speech to text), Text-to-Speech (synthesizes speech from text), and Speech Translation (translates spoken language)

25
What is Azure AI Translator Service?
Works with text and documents for translation, supporting many languages and dialects, with custom translators for domain-specific terms
26
What was Q&A Maker renamed to?
Question Answering
27
What was LUIS renamed to?
Conversational Language Understanding (CLU)
28
What is Azure Bot Service?
A platform for creating, deploying, and managing bots that can integrate with language services and connect to channels like web chat, email, and Microsoft Teams
29
What models does Azure OpenAI Service include?
GPT models for understanding and creating natural language, and DALL-E models for image generation
30
What responsible AI feature does Azure OpenAI Service include?
Content filters to mitigate harmful content
31
What is multi-head attention?
A technique used in attention layers for richer understanding, building output iteratively one token at a time
32
Why is word order important in NLP?
Because word order is crucial for meaning in natural language processing
33
What happens during the tokenization process?
Text is broken down and each component gets a unique numeric identifier, like creating a dictionary where every word has a unique number