GenAI for Text, Language and GenAI Quality

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/9

flashcard set

Earn XP

Description and Tags

Flashcards covering text analysis history, Transformer architecture, decoding methods, training techniques, chatbot system layers, and evaluation metrics for text, audio, and images.

10 Terms

1
New cards

Which seminal 2017 paper by Vaswani et al. introduced the Transformer architecture that forms the foundation of models like GPT, BERT, and T5?

"Attention is All You Need"

2
New cards

In the Transformer attention mechanism, which three matrices are computed from input embeddings via learned weight matrices?

Query (QQ), Key (KK), and Value (VV)

3
New cards

According to the general LLM attention architecture, what mathematical formula defines the attention score matrix SS?

S=softmax(QKTdk)S = \text{softmax}\left(\frac{Q K^T}{\sqrt{d_k}}\right)

4
New cards

In transformer output decoding, how does Greedy Decoding differ from Beam Search?

Greedy Decoding always selects the token with the highest probability, whereas Beam Search tracks multiple candidate sequences ("beams") and explores the most likely paths to generate more balanced and coherent text.

5
New cards

What training method uses human evaluators to rank responses to optimize a model's policy for helpfulness, safety, and relevance?

RLHF (Reinforcement Learning from Human Feedback)

6
New cards

In a chatbot system architecture, what is the core function of the Dialogue Manager layer?

To track conversation state using session memory and vector stores.

7
New cards

What does the classical text evaluation metric BLEU (Bilingual Evaluation Understudy) measure?

The weighted geometric mean of modified nn-gram precisions.

8
New cards

How is Word Error Rate (WER) calculated in speech evaluation?

substitutions+deletions+insertionstotal words\frac{\text{substitutions} + \text{deletions} + \text{insertions}}{\text{total words}}

9
New cards

What does the Fréchet Inception Distance (FID) metric measure when evaluating image generation?

The distributional similarity between generated and real images, measured via features extracted from the Inception network.

10
New cards

What is the human evaluation method known as Pairwise Comparison?

An evaluation approach where the evaluator is presented with two AI-generated responses and tasked with selecting the better one.