Speculative Decoding on CPUs: Nearly 4x Faster Token Generation with DFlash | Towards Data Science
Towards Data Science - Mediumby Ehssan Khan·3h ago
This post explains what speculative decoding is, and how DFlash in particular allows you to speed up your AI workloads on CPU.
AI Agents Don’t Need More Context — They Need Typed Context | Towards Data Science
Towards Data Science - Mediumby Emmimal P Alexander·5h ago
TL;DR - Some AI agent bugs don’t start with a bad model. They start earlier, when instructions, evidence, memory, and tool output are flattened into ordinary strings before the prompt is built...
Survival Analysis and the Cox Proportional Hazards Model: A Beginner-Friendly Guide | Towards Data Science
Towards Data Science - Mediumby Ananya Bhattacharyya·1d ago
The question ordinary regression can’t answer Here is a dataset. 432 people were released from prison and were followed for one year. They were being watched for a single event: re-arrest.
Parse the Folder, Not Just the PDFs: The Relational Tables RAG Needs on a Case File | Towards Data Science
Towards Data Science - Mediumby angela shi·1d ago
On a case file that advice nearly works. Eleven PDFs about one insurance claim come to sixty-odd pages, which fits inside a 200,000-token window several times over.
Building a Proper Backend for My LangGraph AI Agent | Towards Data Science
Towards Data Science - Mediumby Soner Yıldırım·2d ago
The agent handles the entire booking process like a real customer service representative. It’s a LangGraph-based agent that orchestrates the following operations: - Responds to customer queries and...
Multi-Document RAG: A Folder of Unrelated PDFs Is One Long Document with a Nested Outline | Towards Data Science
Towards Data Science - Mediumby angela shi·2d ago
That advice assumes the documents have fields in common. Plenty of folders do not. Take a research folder: a 492-page catalogue of security controls, a zero-trust architecture spec, an AI risk...
Why We Fine-Tuned SigLip (And Why That’s Not Always the Right Call) | Towards Data Science
Towards Data Science - Mediumby Miikka Silfverberg·2d ago
This post was co-authored with Max Silfverberg (Data Scientist, AI Solutions Lead), Antti Hallavo (Lead AI Software Engineer), and Pontus Huotari (Lead Data Scientist).
Running Codex as a Headless Agent | Towards Data Science
Towards Data Science - Mediumby Shuai Guo·2d ago
This is useful. But it also leads to a natural question: Can Codex become a callable part of our own workflow? Let’s answer that in this post.
Estimating from No Data: Deriving a Continuous Score from Categories | Towards Data Science
Towards Data Science - Mediumby Elod Pal Csirmaz·3d ago
It has proven trivial to train a neural net to predict one of the three outcomes from the 8 features with almost complete accuracy.
Retrieve One Row from a Table, Not the Whole Table: Row-Level Chunks for RAG | Towards Data Science
Towards Data Science - Mediumby Kezhan Shi·3d ago
This article is part of Part II of Enterprise Document Intelligence, a series that builds an enterprise RAG system from four bricks.
The Types of Dimensions in a Star Schema, and How to Use Them | Towards Data Science
Towards Data Science - Mediumby Salvatore Cagliari·3d ago
A short Intro to Dimensional modelling To begin, here is a short introduction to what a Star Schema is and what dimensional modelling is.
Bayesian Guardrails for AI Decisions: Measuring Uncertainty Before Automating Decisions | Towards Data Science
Towards Data Science - Mediumby Mahe Jabeen Abdul·3d ago
Most AI systems in production are optimized to provide an answer. This format can make the model seem more certain than it actually is.
How Benders Decomposition Works, Part II: Feasibility Cuts | Towards Data Science
Towards Data Science - Mediumby Luis Fernando Pérez Armas·3d ago
That value allowed us to generate an optimality cut. The subproblem effectively told the master that its decision was feasible, but that operating under it would cost more than expected.
How to Effectively Align Your Intent with Claude Code | Towards Data Science
Towards Data Science - Mediumby Eivind Kjosbakken·3d ago
There are numerous bottlenecks that I’ve experienced now that coding has become commoditized and we can write more code a lot faster with Claude Code and Codex.
The LLM Judge That Kept Agreeing With Itself | Towards Data Science
Towards Data Science - Mediumby Priyansh Bhardwaj·4d ago
For a few weeks it worked well enough that we stopped watching it closely. Then a query that should have been flagged got approved and ran.
Three Kinds of RAG Corpus, and What It Costs to Build for the Wrong One | Towards Data Science
Towards Data Science - Mediumby angela shi·4d ago
On a demo folder that works. On an enterprise shelf it stops working, and not because a parameter is set wrong.
How to Fine-Tune an LLM: An End-to-End Guide | Towards Data Science
Towards Data Science - Mediumby Sam Black·4d ago
Why fine-tune ? Let me provide a real, personal example. We fine-tuned a 7B parameter model which completely blows foundation models out of the water, but just for this very narrow subtask: Filling...
Making the Knowledge Layer a Graph You Actually Traverse | Towards Data Science
Towards Data Science - Mediumby Miodrag Cekikj·4d ago
The architecture held up. The contradiction register refused to answer a question the firm itself had not settled.
How to Scale an Integration Pipeline Without Breaking Correctness | Towards Data Science
Towards Data Science - Mediumby Yuelin Ou·4d ago
I went back and forth for a while on whether to It sounds simple. System A calls system B’s API, what’s the big deal.
Understanding Anti-AI Public Opinion | Towards Data Science
Towards Data Science - Mediumby Stephanie Kirmer·5d ago
Many journalists and politicians are looking for a single factor to explain this pattern. Is it the power bills? AI slop taking over our social media feeds? The irritating noise data centers make?
Your filters hide everything on this page. Adjust them in preferences.