Generative AI Exercises
Fill in the blanks to test your knowledge.
Name the basic unit of text that LLMs process
// LLMs split text into small pieces called s
Identify the parameter that controls output randomness
response = model.generate(
prompt=prompt,
=0.7
)
Name the role that sets overall model behavior
Identify the role for user-provided input
Name the parameter limiting the number of output tokens
response = model.generate(
prompt=prompt,
=512
)
Identify the type of model that converts text to vectors
// Used for semantic search and similarity
// Called an model
Name the technique of fine-tuning with human feedback
// Aligns model outputs with human preferences
// Acronym:
Identify what RAG stands for in LLM architecture
// Augments LLM with retrieved documents
// RAG = Retrieval- Generation