Save this video free

Tool use

Mohit Iyyer · 1:08:36 · Watch on YouTube

Part of University of Maryland CMSC 723. See all 20 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Mohit Iyyer connects two ways to extend language-model reasoning: DeepSeek R1-style explicit thinking tokens and looped transformers that spend more compute by reusing layers. He then explains tool use as a model-harness loop, covering tool schemas, prompting, supervised fine-tuning, reinforcement learning, and how flexible search tools generalize beyond fixed retrieval-augmented generation pipelines.

Key takeaways

Chapters

0:00 DeepSeek R1 and the Role of Explicit Reasoning Tokens
4:20 Looped Transformers Reuse Layers to Increase Compute
8:11 Latent Reasoning Requires Models Trained to Loop
12:29 Choosing Loop Counts and Reasoning Budgets
16:29 Looping Versus Chain-of-Thought Reasoning
21:10 Interpretability and Scaling Challenges for Looped Models
26:10 Why Language Models Need Tools
28:20 Calculators, Web Search, and Actions Beyond Model Knowledge
33:58 Tool APIs, Harnesses, and Reinforcement Learning
36:38 Tool Results Become Context for Further Reasoning
44:39 System Prompts and a Calculator Tool-Call Example
56:17 From ReAct and Toolformer to Reinforcement Learning
1:03:00 RAG as a Fixed Retrieval Pipeline

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:06 Okay, let's get started everyone. >> Hope everyone had a good break. Uh, today we are going to be finishing up the reasoning lecture that we um had started right before the break and then we're going to start talking about uh tool use and agents. So how we can um kind of move past the singleshot decoding that we've been talking about and um link our models up to external APIs and tools um to get to something like what we see with modern um AI systems where you know if you go to chat GBT or claude right now you are likely going to um with whatever query you you

0:56 send interact with many tools like a web search, a restaurant booking, a calculator, a code interpreter. Um it's clear that you know the capabilities of today's uh AI go far beyond just generating tokens. And so uh we're going to see how um kind of simple it is to get uh these kinds of capabilities out of the models that we've pre and postrained. Okay. Um so to start with uh from last time we were discussing reasoning models and as a recap we uh covered kind of the deepseek R10

1:44 approach where we um kind of gave the model a reward if it correctly solved a math problem. uh but we also allowed it to think using these special thinking tokens and importantly our reward has no bearing over the content of those thinking tokens. So the model can produce whatever tokens it wants as long as at the end of the day the final answer is correct. Um and we kind of talked about how um more thinking tokens um results in more test time compute

2:34 being used uh because the model is producing you know potentially thousands

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, Mohit Iyyer.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.