FlashKeepers

Machine Learning · College · College and University

Large Language Models: Concepts

Tokenization, pretraining, fine-tuning, RLHF, context windows, sampling temperature, hallucination, evaluation and alignment.

About this set

40 basic cards for College Machine Learning. It opens with "What is tokenization in the context of language models?" and "What is a token in NLP?". Study it alongside the other College sets below.

40 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What is tokenization in the context of language models?
Show answerBreaking input text into smaller units (tokens) that the model can process
What is a token in NLP?
Show answerA unit of text, typically a word or subword, that a language model processes
How does subword tokenization improve handling of rare words?
Show answerIt breaks rare words into smaller units that appear in the training vocabulary, avoiding out-of-vocabulary problems
____ is a tokenization method that splits words into frequently used subword units
Show answerByte Pair Encoding
Why do language models require tokenization as a preprocessing step?
Show answerIt converts raw text into discrete units that can be mapped to embeddings and processed by the model
What is pretraining in the context of language models?
Show answerTraining a model on large unlabeled text corpora to learn general language patterns and knowledge
What is the primary objective of masked language modeling during pretraining?
Show answerPredicting randomly masked tokens in a sequence using the surrounding context
What pretraining task where a model predicts the next token from previous tokens is called ____?
Show answercausal language modeling
Why is pretraining on large datasets essential for modern LLMs?
Show answerIt allows the model to learn broad linguistic knowledge and general world facts before task-specific fine-tuning
At what scale are modern language models typically pretrained?
Show answerOn hundreds of billions to trillions of tokens
What is fine-tuning in machine learning?
Show answerAdapting a pretrained model to a specific downstream task using labeled data
How does the learning rate for fine-tuning compare to pretraining?
Show answerFine-tuning uses a much lower learning rate to preserve previously learned knowledge
What is the purpose of instruction fine-tuning?
Show answerTraining the model to follow user instructions and produce more helpful, task-oriented responses
Name a parameter-efficient fine-tuning method that requires fewer trainable parameters than full fine-tuning
Show answerLoRA (Low-Rank Adaptation)
What is catastrophic forgetting in the context of fine-tuning?
Show answerLoss of previously learned knowledge when a model is aggressively fine-tuned on a small dataset

25 more cards in the app

Study this set free