Master Data Science

Latest posts

LLM_log #037: Coding Agents — Localize, Edit, Verify

Coding Agents — Localize, Edit, Verify Highlights: Coding agents now fix real repository issues: Hybrid-Gym lifts SWE-bench Verified from 7% to 32.4%. Graham Neubig’s lecture in the CMU 11-768 AI Agents course (Fall 2026) examines the transition from one-pass code prompting to iterative agentic software engineering. We walk through the localize-edit-verify repair loop, diff format tradeoffs, synthetic task generation via mutation, and multi-harness reinforcement learning. We also cover multimodal frontend testing and expanding agent evaluation…
Read more

LLM_log #036: Training Code LLMs — Data, Infilling, Tests

Training Code LLMs — Data, Infilling, Tests Highlights: Train only on code and MATH scores collapse from 33.2 to 10.3. The right data mix, infilling and test feedback make code models work. Graham Neubig’s lecture in CMU 11-768 AI Agents (Fall 2026) outlines the technical foundations required to build autonomous code generation systems and repository-level software engineers. We walk through the progression across three capability tiers, data curation and whitespace-preserving tokenization, bidirectional causal infilling, and…
Read more

LLM_log #035: Manager + Worker Agents — Planning That Scales

Manager + Worker Agents — Planning That Scales Highlights: A strong planner on top of a small worker lifts OSWorld success from 25% to 58%. Daniel Fried’s lecture in CMU 11-768 AI Agents (Fall 2026) analyzes modular system designs that decouple high-level planning from low-level grounded execution. We walk through the trade-offs between prolonged internal deliberation and empirical interaction scaling, the compounding failure modes that destabilize long-horizon trajectories, and multi-agent coordination frameworks for desktop computer…
Read more

LLM_log #034: Why Agents Plan — From Chain-of-Thought to Action

Why Agents Plan — From Chain-of-Thought to Action Highlights: Thinking step by step is not enough once actions change the world. Here is why agents need explicit plans. Daniel Fried’s lecture in the CMU 11-768 AI Agents course (Fall 2026) examines why purely reactive execution loops break down across complex, long-horizon tasks. We walk through the trade-offs between upfront commitment and dynamic replanning, the shift from classical STRIPS search to grounded verification, and modular architectures…
Read more

LLM_log #033: Agents That Learn Skills — Reusable Workflows from Past Runs

Agents That Learn Skills — Reusable Workflows from Past Runs Highlights: Instead of solving every task from scratch, agents can mine their own past runs for reusable workflows and code skills. Daniel Fried’s lecture in Carnegie Mellon University’s CMU 11-768 AI Agents course (Fall 2026) examines how autonomous agents discover, verify, and maintain reusable skills across sequential web tasks. We walk through the representational trade-offs between natural language workflows and executable Python tools, automated verification…
Read more

LLM_log #032: Agent Memory — Skill Files and External Storage

Agent Memory — Skill Files and External Storage Highlights: Context windows forget everything between sessions. Skill files and tiered external memory let agents keep what they learn. Daniel Fried’s lecture in CMU 11-768 AI Agents (Fall 2026) examines how autonomous agents extract reusable operational skills and manage structured memory across multi-step tasks. We walk through the AgentSkills specification standard, progressive disclosure mechanisms that protect context windows, and benchmarked gains on SkillsBench. Finally, we explore tiered…
Read more

LLM_log #031: Long Context in Practice — Training, Caching, Compaction

Long Context in Practice — Training, Caching, Compaction Highlights: Coherent 128K-token documents are scarce, so models reach 1M tokens through staged training, then stay affordable through caching and compaction. In this second part of the long-context lecture from CMU’s 11-768 AI Agents course (Fall 2026, Graham Neubig), the focus shifts from model architecture to everything that surrounds it: how long-context models are trained, served, and kept affordable. We walk through staged short-to-long training pipelines, positional…
Read more

LLM_log #030: Why Agent Context Explodes — and How to Serve It

Why Agent Context Explodes — and How to Serve It Highlights: Five agent turns already process 80K input tokens, and 37% of agent tokens are tool results. Graham Neubig’s lecture in the CMU 11-768 AI Agents course (Fall 2026) looks at why agent context grows quadratically and what architectures make long context affordable to serve. We walk through the token composition of real OpenHands sessions, the prefill/decode split and its serving metrics, and the local,…
Read more

LLM_log #029: Tools Over the Network — REST, MCP, Benchmarks

Tools Over the Network — REST, MCP, Benchmarks Highlights: The same model can fail 15% of tool calls on one provider and 0.01% on another. This session of CMU’s 11-768 AI Agents course (Fall 2026, Graham Neubig) moves tool calling out of the notebook and into the network, tracing the path from in-process Python libraries to REST endpoints, MCP servers, and the serving stacks underneath them. We walk through wrapping tools with FastAPI and Pydantic,…
Read more

LLM_log #028: How LLMs Call Tools — CodeAct and Schemas

How LLMs Call Tools — CodeAct and Schemas Highlights: Letting the model write code instead of single API calls gave the best success rate for 8 of 8 models in CodeAct. Graham Neubig’s lecture on tool use in the CMU 11-768 AI Agents course (Fall 2026) treats tools as the interface through which a language model invokes an external program, and code as a meta-tool that collapses long chains of single API calls into one…
Read more

LLM_log #027: Agents Are Systems — Harness vs. Training

Agents Are Systems — Harness vs. Training Highlights: Assembling an agent is easy; making it reliable is not. Most fixes land in the harness first, then move into the weights. In Graham Neubig’s segment of CMU 11-768: AI Agents (taught with Daniel Fried), the argument is that assembling an agent is easy while making one work reliably is not. We walk through the capabilities that separate the two — tool calling, long-context coherence, customizability, task…
Read more

LLM_log #026: What Is an AI Agent? — A Model in a Loop

What Is an AI Agent? — A Model in a Loop Highlights: An agent deleted a user’s emails after context compaction dropped the one instruction not to. Here is how agents actually work. The opening lecture of CMU’s 11-768: AI Agents (Fall 2026), taught by Daniel Fried and Graham Neubig, sets out what an agent actually is and where current systems break down. We walk through the anatomy of an agent — environment, observations, actions,…
Read more

Featured posts

#004 How to smooth and sharpen an image in OpenCV?

Highlight: In our previous posts we mastered some basic image processing techniques and now we are ready to move on to more advanced concepts. In this post, we are going to explain how to blur and sharpen images. When we want to blur or sharpen our image, we need to apply a linear filter. You will learn several types of filters that we often use in the image processing In addition, we will also show…
Read more

#000 How to access and edit pixel values in OpenCV with Python?

Highlight: Welcome to another datahacker.rs post series! We are going to talk about digital image processing using OpenCV in Python. In this series, you will be introduced to the basic concepts of OpenCV and you will be able to start writing your first scripts in Python. Our first post will provide you with an introduction to the OpenCV library and some basic concepts that are necessary for building your computer vision applications. You will learn…
Read more

#006 Linear Algebra – Inner or Dot Product of two Vectors

Highlight: In this post we will review one of the fundamental operators in Linear Algebra. It is known as a Dot product or an Inner product of two vectors. Most of you are already familiar with this operator, and actually it’s quite easy to explain. And yet, we will give some additional insights as well as some basic info how to use it in Python. Tutorial Overview: Dot product :: Definition and properties Linear functions…
Read more

#008 Linear Algebra – Eigenvectors and Eigenvalues

Highlight: In this post we will talk about eigenvalues and eigenvectors. This concept proved to be quite puzzling to comprehend for many machine learning and linear algebra practitioners. However, with a very good and solid introduction that we provided in our previous posts we will be able to explain eigenvalues and eigenvectors and enable very good visual interpretation and intuition of these topics. We give some Python recipes as well. Tutorial Overview: Intuition about eigenvectors…
Read more

#011 TF How to improve the model performance with Data Augmentation?

Highlights: In this post we will show the benefits of data augmentation techniques as a way to improve performance of a model. This method will be very beneficial when we do not have enough data at our disposal. Tutorial Overview: Training without data augmentation What is data augmentation? Training with data augmentation Visualization 1. Training without data augmentation A familiar question is “why should we use data augmentation?”. So, let’s see the answer. In order…
Read more