Skill 2.1.1
Define foundational GenAI concepts (for example, tokens, chunking, embeddings, vectors, prompt engineering, transformer-based large language models [LLMs], foundation models [FMs], multi-modal models, diffusion models)
Key Concepts
Tokens are the pieces of text a model processes (roughly three-quarters of a word in English). Chunking splits documents into passages for retrieval. Embeddings are dense numeric vectors that capture meaning, so semantically similar text has nearby vectors. Prompt engineering is crafting inputs to get better outputs.
Transformer-based LLMs use self-attention to weigh the relationships between all tokens in the context and predict the next token. Foundation models are large models pre-trained on broad data and adaptable to many tasks. Multi-modal models accept or produce several modalities (text, images, audio, video). Diffusion models generate images (and video) by learning to remove noise step by step.