Topic 5 - Generative AI Flashcards
(28 cards)
Generative AI (GenAI)
A type of artificial intelligence that creates new content based on patterns learned from existing data.
Training
The process by which a Generative AI model learns from existing content to create a statistical model.
Statistical Model
A model created during training that Generative AI uses to predict expected responses and generate new content.
Discriminative Models
Traditional machine learning models that classify or predict based on labelled data.
Generative Models
AI models that generate new data similar to their training data.
Large Language Model (LLM)
A statistical language model, typically based on deep learning architectures, trained on a massive amount of data for generating and translating text and performing NLP tasks.
Transformer
A deep learning architecture developed by Google in 2017, commonly used as the basis for LLMs.
Vector
A single-dimensional array used to represent data numerically for machine processing.
Tokenization
The process of breaking down input data into basic units called tokens.
Tokens
Basic units of data processed by LLMs, which can be words, subwords, or characters.
Context Length
The maximum number of tokens an LLM can accept as input and generate as output.
Embeddings
Tokens that have semantic context, representing the meaning and relationships between words and phrases.
Model Parameters
Settings that control the behaviour and output of a Generative AI model.
Max Output Tokens
Specifies the maximum number of tokens allowed in the model’s response.
Temperature
Controls the degree of randomness in token selection; lower values are more deterministic, higher values are more creative.
Hallucinations
Nonsensical or grammatically incorrect words or phrases generated by a model.
TopK
A parameter that changes how the model selects tokens for output by considering the K most probable tokens.
TopP
A parameter that changes how the model selects tokens for output by selecting from the most probable tokens until their cumulative probability reaches the specified P value.
Stop Sequence
A sequence of characters that tells the model to stop generating text.
Prompt Design
The process of creating effective prompts to elicit desired responses from language models.
Prompt
A natural language request submitted to a language model.
Zero-shot Prompting
A prompt that provides no examples.
One-shot Prompting
A prompt that includes a single example.
Few-shot Prompting
A prompt that includes multiple examples.