University of Utah CS 6340
Professor Marasović · University of Utah · 25 lectures with notes
Every lecture with its full transcript and chapters, and one search across all 25 lectures.
UUtah CS 6340 NLP | Fall 2026 | LLM efficiency: Mixture-of-Experts & Attention variants
MoE routing and attention variants make long-context transformer inference faster or less memory-intensive through sparse computation and compressed caches.
UUtah CS 6340 NLP | Fall 2026 | LLM efficiency: QLoRA, Caching, Speculative Decoding
QLoRA reduces fine-tuning memory, while KV and prompt caching and speculative decoding make LLM inference more efficient.
UUtah CS 6340 NLP | Fall 2026 | LLM efficiency: quantization, LoRA
Quantization compresses LLM weights, while LoRA makes fine-tuning cheaper by training low-rank adapters instead of all model parameters.
UUtah CS 6340 NLP | Fall 2026 | Post-training: DPO, GRPO, RLVR, reasoning
DPO, GRPO, and verifiable rewards simplify LLM post-training, while reasoning and tools extend what models can do.
UUtah CS 6340 NLP | Fall 2026 | Post-training: RLHF/PPO
RLHF uses preference-trained reward models and PPO to improve language-model responses while controlling policy drift.
UUtah CS 6340 NLP | Fall 2026 | Post-training: SFT
SFT teaches pretrained models to follow conversational instructions; preference learning and reward models address its data and supervision limits.
UUtah CS 6340 NLP | Fall 2026 | LLM-as-a-judge
LLM judges scale nuanced evaluation, but only after validation against human judgments and careful checks for bias.
UUtah CS 6340 NLP | Fall 2026 | Intro to prompting
Instruction fine-tuning turns pretrained language models into more reliable instruction followers, while prompting supplies task-specific context without changing model weights.
UUtah CS 6340 NLP | Fall 2026 | RAG & ODQA-pipeline training
RAG improves grounded question answering, and in-batch joint training connects retrieval quality to answer quality without scoring an entire billion-document store.
UUtah CS 6340 NLP | Fall 2026 | Intro to summarization
Effective summarization selects essential details, presents them faithfully, and balances concision with the intended audience’s needs.
UUtah CS 6340 NLP | Fall 2026 | Retrieval (cont.) & Answer extraction
Faiss-based retrieval, BERT answer-span extraction, and RAG form complementary ways to ground question answering in retrieved evidence.
UUtah CS 6340 NLP | Fall 2026 | Intro to QA & Retrieval methods
Open-domain QA combines retrieval and answering, with BM25, DPR, and ColBERT offering different tradeoffs in matching quality and speed.
UUtah CS 6340 NLP | Fall 2026 | HuggingFace transformers & running GPU jobs
Learn Hugging Face model workflows and submit GPU training jobs to the University of Utah CHPC cluster.
UUtah CS 6340 NLP | Fall 2026 | Pretraining & finetuning
Decoder-only next-token pretraining and encoder-only masked-language pretraining support different downstream uses, while corpus quality constrains both.
UUtah CS 6340 NLP | Fall 2026 | Transformers: Self-attention
Self-attention uses learned query, key, and value projections to turn static token embeddings into contextualized representations.
UUtah CS 6340 NLP | Fall 2026 | Transformers: Part 2/2
Causal masking lets Transformers train all next-token predictions in parallel, while RoPE and other design choices shape how modern LLMs handle sequence order and context.
UUtah CS 6340 NLP | Fall 2026 | seq2seq & attention
Dot-product attention lets each decoder step retrieve a weighted, task-specific summary of the source sequence.
UUtah CS 6340 NLP | Fall 2026 | Language modeling
Language models predict tokens sequentially, while recurrent neural networks preserve more history than count-based n-gram models.
UUtah CS 6340 NLP | Fall 2026 | RNN LMs
RNN language models predict one token at a time, while teacher forcing supplies correct prior tokens but does not parallelize recurrent computation.
UUtah CS 6340 NLP | Fall 2026 | Word embeddings (Part 2)
Static word embeddings provide compact neural-network inputs, but lose word order, encode social biases, and must be evaluated on downstream tasks.
UUtah CS 6340 NLP | Fall 2026 | Word embeddings (Part 1)
SGNS turns word-context co-occurrence into dense embeddings, but static vectors collapse a word’s different senses.
UUtah CS 6340 NLP | Fall 2026 | BPE Tokenizer (Part 2)
BPE design choices affect multilingual fairness, model behavior, and performance, while low token fertility alone does not predict downstream success.
UUtah CS 6340 NLP | Fall 2026 | Intro to vector semantics
One-hot and bag-of-words vectors identify tokens but miss the semantic relationships dense embeddings aim to represent.
UUtah CS 6340 NLP | Fall 2026 | BPE Tokenizer (Part 1)
BPE builds a subword vocabulary by repeatedly merging frequent adjacent tokens, while character fallback lets it handle unseen words.
UUtah CS 6340 NLP | Fall 2026 | Course Overview & Logistics
CS 6340 teaches the LLM development pipeline and evaluates students through in-person quizzes and programming practicums.