UUtah CS 6340 NLP | Fall 2026 | Course Overview & Logistics
Overview
Anna Marasovich introduces University of Utah CS 6340, a Fall 2026 NLP course centered on how large language models are built, adapted, evaluated, and made more efficient. The course moves from tokenization, embeddings, transformers, and next-token generation to instruction tuning and applications; it excludes much classical NLP and assumes students know neural networks and PyTorch. Grading is split evenly between in-person quizzes and four in-person programming practicums, with no midterm or final exam.
Key takeaways
- CS 6340 shifts from earlier offerings by assuming students already know neural networks and PyTorch, so students needing a refresher should use the provided assignments, Stanford tutorial, or recordings from four prior lectures.
- The course’s LLM pipeline runs from subword tokenization and token embeddings through transformer attention to next-token probability prediction and iterative sampling.
- Natural language ambiguity makes probability and context central to NLP: pronoun reference and the multiple meanings of “basin” cannot reliably be resolved from isolated words alone.
- NLP and AI overlap because language understanding can require reasoning, but NLP also addresses translation, language comparison, summarization, and evaluation beyond traditional AI questions.
- The final grade is 50% in-person quizzes and 50% in-person programming practicums, with four practicums and no midterm or final exam.
- Generative AI is permitted for learning during practice, but independent coding matters because graded practicums prohibit AI and other unauthorized resources.
Chapters
- Instructor Anna Marasovich researches interpretability and human-centered AI and introduces teaching assistants Ja and Lucas.
- Students are asked to fill out a short questionnaire so Anna can learn about their interests and expectations.
- The opening lecture will define NLP, narrow the course scope, and explain course logistics.
- Natural languages develop organically in communities, unlike deliberately designed programming languages, so they contain ambiguity.
- In “John told Peter about his promotion,” a translation system must determine whether “his” refers to John or Peter, which may require broader context.
- The word “basin” can mean a geographic region or a sink, so NLP systems need to estimate meaning and translation probabilities from context.
- Pronouns, irony, shared knowledge, and changing vocabulary make complete logical formalization of natural language impractical.
- NLP builds computational systems for language tasks such as machine translation, with speech also included in the field.
- Machine learning learns predictions from data; deep learning uses neural networks, and end-to-end systems reduce hand-designed features.
- Large language models are general-purpose neural networks trained on extensive text data and further adapted to follow instructions.
- Advances in GPUs made large-scale matrix and tensor computations faster, supporting the growth of deep-learning NLP.
- A second foundational NLP question is how much of natural language can be simulated computationally.
- Computational linguistics connects NLP with linguistics, cognitive science, and psychology, using computational methods to study language.
- Anna notes that mainstream LLM development for well-served languages uses little explicit linguistic knowledge, while classical methods can still matter for low-resource languages.
- The lecture contrasts roughly 100 well-served languages with about 7,000 languages worldwide.
- Student definitions of AI include humanlike reasoning, performing traditionally human tasks, identifying behavior, and predicting outputs.
- The 1950s conception of AI emphasized human-level cognitive abilities such as thinking and reasoning.
- From the 1990s through roughly 2015, AI often meant prediction and recommendation systems used by services such as Google, Amazon, and Netflix.
- The rise of LLMs has renewed public focus on whether machines can perform humanlike tasks and what intelligence means.
- Language processing is often treated as a component of human intelligence, while resolving language ambiguity can require reasoning.
- The examples “the trophy is too small” and “the trophy is too big” show how reasoning helps resolve what “it” refers to.
- NLP also studies questions beyond traditional AI, including language comparison, translation, summarization, and evaluation.
- Anna’s central distinction is that NLP intersects with AI but neither field fully contains the other.
- The course focuses on the question of how computers can understand and use written natural language, primarily through large language models.
- The first part covers what LLMs are and how the NLP development pipeline works; the second addresses post-training, alignment, reasoning, applications, and efficiency.
- Planned applications include information retrieval and summarization, with evaluation methods for assessing system performance.
- Classical topics such as parsing, semantic role labeling, and coreference resolution are largely outside the course scope.
- Tokenization breaks text into units; modern LLMs commonly use subword tokens rather than treating every complete word as a token.
- A vocabulary maps each token to a numerical identifier, and models represent tokens using high-dimensional vectors called embeddings.
- The distributional hypothesis motivates embeddings: words appearing in similar contexts tend to have similar meanings.
- Embedding vectors can encode relatedness, so “kitten” and “puppy” may be close even though they are not synonyms.
- A model must adjust a token’s representation based on surrounding words to distinguish context-dependent meanings such as different senses of “basin.”
- Transformer attention lets token representations incorporate information from other tokens in the input.
- Anna says students will study transformer components and implement a transformer-related system from scratch in a programming task.
- After transformer processing, the model converts its final representation into probabilities over the vocabulary for the next token.
- Generation repeats by selecting a token, appending it to the prompt, and predicting again; always choosing the most probable token can produce generic text.
- Sampling from a set of likely tokens, such as a set containing 98% of probability mass, adds variation to generated output.
- Pretraining on unlabeled internet text creates reusable weights that can be fine-tuned or used directly through prompting; later topics include instruction following, refusal behavior, efficiency, and hallucinations.
- Students are responsible for reading the syllabus; office-hour availability will be gathered through a scheduling poll, with multiple weekly sessions planned.
- The course now expects students to understand neural networks and have prior PyTorch experience, rather than spending several weeks reteaching ML and deep-learning basics.
- Anna provides previous programming materials with solutions marked to distinguish prerequisite background from new NLP content.
- Students can use Stanford’s PyTorch tutorial and recordings from four earlier course lectures to refresh prerequisite skills.
- The course does not follow a single textbook, but Anna recommends Jurafsky and Martin’s NLP book and plans to post readings, slides, and recordings on the course webpage.
- Piazza is the primary channel for course questions; students should message Anna and the TAs there rather than relying on email.
- Teaching staff guide students through programming problems instead of directly editing code or supplying fixes.
- Anna requests punctual, low-distraction classroom participation, preferably with paper or tablet notes instead of unrelated laptop use.
- All graded work is proctored in person; students complete four programming practicums on personal laptops using provided Colab notebooks.
- Larger ungraded practice assignments prepare students for shorter, timed practicum tasks, including implementing transformer components.
- Practicums prohibit internet and generative-AI assistance, and Colab autocomplete suggestions will be disabled.
- A teaching assistant estimates roughly 6 to 12 hours per practice assignment, with actual time varying by student.
- Short in-person quizzes test lecture material only; the first quiz, scheduled for the following Monday, is ungraded.
- Quiz points are totaled and divided by the total possible points, and quizzes make up 50% of the course grade.
- Programming practicums make up the remaining 50%; there is no midterm or final exam.
- Students are expected to attend scheduled assessments; missed quizzes or practicums may require an oral exam or whiteboard coding with Anna.
- Practicum grading distinguishes major conceptual misunderstandings from minor issues such as small syntax errors.
- Anna plans to offer some extra credit on quizzes and practicums but has not finalized how bonus points will be capped.
- She is reconsidering undergraduate accommodations after a previous policy that dropped the lowest practicum led some students to skip valuable practice.
- Students may suggest undergraduate supports that reduce stress without discouraging participation in programming assignments.
- Misconduct includes sharing or viewing another student’s quiz, using unauthorized resources during a practicum, or collaborating in prohibited ways.
- Generative AI may be used as a learning aid on practice assignments, but graded assessments are completed in person without it.
- Anna warns that relying on AI to solve practice work can create false confidence and leave students unprepared to code independently.
Transcript excerpt
0:01 Okay. Uh, good afternoon everyone. Welcome to MLP. We should have uh more more people in the classroom. I hope um the rest of them aren't in one of the two other locations where we were first sent to. Um so we'll see. Maybe we'll have few people coming in uh later on. Um usually I do start by having intros but I think we are too many to do that effectively today. Um I will introduce myself and our TAs and then they will pass some information uh on on a piece of paper that I would love for you to just you know fill in as the class goes on today and then bring it uh to me later and I will I will read it at home. So first of all, I am Anna Marasovich. Feel free to call me either Anna or
0:50 professor. Um I've been teaching this course for a little bit uh now. Uh and I am also a researcher in NLP specifically in interpretability and human centered AI. Uh your TAs will be Ja and Lupas. Ja, do you want to uh maybe say a few words about yourself? I'm a second year student and I'm also Lucas. >> I'm Lucas. I'm just starting my masters this semester. Um I did my undergrad in computer science and linguistics. So I'm big fan of NLP and this semester. >> Thank you. Um yeah, Lucas is going to be splitting his time between NLP and data
1:39 mining. So you might see him a little bit less than Ja but he is fully committed the whole time he's uh with us and I should say they were both uh students in uh this class last fall and they were top of their class. So I think
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, UofU Data Science.