Large Language Models | Towards Data Science https://towardsdatascience.com/category/artificial-intelligence/large-language-models/ Publish AI, ML & data-science insights to a global community of data professionals. Mon, 14 Jul 2025 23:44:33 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.1 https://towardsdatascience.com/wp-content/uploads/2025/02/cropped-Favicon-32x32.png Large Language Models | Towards Data Science https://towardsdatascience.com/category/artificial-intelligence/large-language-models/ 32 32 Topic Model Labelling with LLMs https://towardsdatascience.com/topic-model-labelling-with-llms/ Mon, 14 Jul 2025 23:44:18 +0000 https://towardsdatascience.com/?p=606581 Python tutorial for reproducible labeling of cutting-edge topic models with GPT4-o-mini.

The post Topic Model Labelling with LLMs appeared first on Towards Data Science.

]]>
Are You Being Unfair to LLMs? https://towardsdatascience.com/are-you-being-unfair-to-llms/ Fri, 11 Jul 2025 18:40:50 +0000 https://towardsdatascience.com/?p=606563 They may deserve better.

The post Are You Being Unfair to LLMs? appeared first on Towards Data Science.

]]>
Hitchhiker’s Guide to RAG: From Tiny Files to Tolstoy with OpenAI’s API and LangChain https://towardsdatascience.com/hitchhikers-guide-to-rag-from-tiny-files-to-tolstoy-with-openais-api-and-langchain/ Fri, 11 Jul 2025 17:56:46 +0000 https://towardsdatascience.com/?p=606560 Scaling a simple RAG pipeline from simple notes to full books

The post Hitchhiker’s Guide to RAG: From Tiny Files to Tolstoy with OpenAI’s API and LangChain appeared first on Towards Data Science.

]]>
Evaluation-Driven Development for LLM-Powered Products: Lessons from Building in Healthcare https://towardsdatascience.com/evaluation-driven-development-for-llm-powered-products-lessons-from-building-in-healthcare/ Thu, 10 Jul 2025 17:58:58 +0000 https://towardsdatascience.com/?p=606546 How metrics and monitoring combine with human expertise to build trustworthy AI in healthcare.

The post Evaluation-Driven Development for LLM-Powered Products: Lessons from Building in Healthcare appeared first on Towards Data Science.

]]>
Worried About AI? Use It to Your Advantage https://towardsdatascience.com/worried-about-ai-use-it-to-your-advantage/ Thu, 10 Jul 2025 11:00:00 +0000 https://towardsdatascience.com/?p=606557 This week, we focus on the future of data science and the opportunities that can arise amid uncertainty.

The post Worried About AI? Use It to Your Advantage appeared first on Towards Data Science.

]]>
Work Data Is the Next Frontier for GenAI https://towardsdatascience.com/work-data-is-the-next-frontier-for-genai/ Wed, 09 Jul 2025 22:04:32 +0000 https://towardsdatascience.com/?p=606542 9 reasons why work data is the single most valuable data source for LLM training, uniquely capable of propelling LLM performance to unprecedented heights.

The post Work Data Is the Next Frontier for GenAI appeared first on Towards Data Science.

]]>
Recap of all types of LLM Agents https://towardsdatascience.com/recap-of-all-types-of-llm-agents/ Wed, 09 Jul 2025 19:26:24 +0000 https://towardsdatascience.com/?p=606540 Regular, ReAct, Chain-of-Thought, Reflexion, ToT, GoT, PoT

The post Recap of all types of LLM Agents appeared first on Towards Data Science.

]]>
How to Fine-Tune Small Language Models to Think with Reinforcement Learning https://towardsdatascience.com/how-to-finetune-small-language-models-to-think-with-reinforcement-learning/ Wed, 09 Jul 2025 01:59:20 +0000 https://towardsdatascience.com/?p=606531 A visual tour and from-scratch guide to train GRPO reasoning models in PyTorch

The post How to Fine-Tune Small Language Models to Think with Reinforcement Learning appeared first on Towards Data Science.

]]>
Fairness Pruning: Precision Surgery to Reduce Bias in LLMs https://towardsdatascience.com/fairness-pruning-precision-surgery-to-reduce-bias-in-llms/ Thu, 03 Jul 2025 23:29:08 +0000 https://towardsdatascience.com/?p=606492 From unjustified shootings to neutral stories: how to fix toxic narratives with selective pruning

The post Fairness Pruning: Precision Surgery to Reduce Bias in LLMs appeared first on Towards Data Science.

]]>
June Must-Reads: AI Agents, Dashboards, and More https://towardsdatascience.com/june-must-reads-ai-agents-dashboards-and-more/ Thu, 03 Jul 2025 11:00:00 +0000 https://towardsdatascience.com/?p=606559 A selection of our most-read and -shared articles of the past month.

The post June Must-Reads: AI Agents, Dashboards, and More appeared first on Towards Data Science.

]]>
Software Engineering in the LLM Era https://towardsdatascience.com/software-engineering-in-the-llm-era/ Wed, 02 Jul 2025 19:27:46 +0000 https://towardsdatascience.com/?p=606485 On growing new software engineers, even when it’s inefficient

The post Software Engineering in the LLM Era appeared first on Towards Data Science.

]]>
From Pixels to Plots https://towardsdatascience.com/from-pixels-to-plots/ Mon, 30 Jun 2025 16:53:16 +0000 https://towardsdatascience.com/?p=606458 How I built an AI-powered prototype to turn images into insights

The post From Pixels to Plots appeared first on Towards Data Science.

]]>
Become a Better Data Scientist with These Prompt Engineering Tips and Tricks https://towardsdatascience.com/become-a-better-data-scientist-with-these-prompt-engineering-hacks/ Mon, 30 Jun 2025 15:54:37 +0000 https://towardsdatascience.com/?p=606455 Part 1: prompt engineering for planning, cleaning, and EDA

The post Become a Better Data Scientist with These Prompt Engineering Tips and Tricks appeared first on Towards Data Science.

]]>
A Developer’s Guide to Building Scalable AI: Workflows vs Agents https://towardsdatascience.com/a-developers-guide-to-building-scalable-ai-workflows-vs-agents/ Fri, 27 Jun 2025 18:38:23 +0000 https://towardsdatascience.com/?p=606443 A practical guide to choosing between AI agents and workflows for production systems, covering the hidden costs, architectural trade-offs, and decision framework that can save you thousands in deployment mistakes. Includes real-world examples and a scoring system to determine which approach fits your specific use case.

The post A Developer’s Guide to Building Scalable AI: Workflows vs Agents appeared first on Towards Data Science.

]]>
AI Agent with Multi-Session Memory https://towardsdatascience.com/ai-agent-with-multi-session-memory/ Thu, 26 Jun 2025 17:12:47 +0000 https://towardsdatascience.com/?p=606426 Build from scratch using only Python & Ollama (no GPU, no APIKEY)

The post AI Agent with Multi-Session Memory appeared first on Towards Data Science.

]]>
Use OpenAI Whisper for Automated Transcriptions https://towardsdatascience.com/use-openai-whisper-for-automated-transcriptions/ Thu, 26 Jun 2025 00:34:40 +0000 https://towardsdatascience.com/?p=606422 Streamline your computer interactions using OpenAI's Whisper model

The post Use OpenAI Whisper for Automated Transcriptions appeared first on Towards Data Science.

]]>
How to Train a Chatbot Using RAG and Custom Data https://towardsdatascience.com/how-to-train-a-chatbot-using-rag-and-custom-data/ Wed, 25 Jun 2025 17:21:53 +0000 https://towardsdatascience.com/?p=606413 Retrieval-Augmented Generation made easy with Llama

The post How to Train a Chatbot Using RAG and Custom Data appeared first on Towards Data Science.

]]>
Why Your Next LLM Might Not Have A Tokenizer https://towardsdatascience.com/why-your-next-llm-might-not-have-a-tokenizer/ Tue, 24 Jun 2025 19:17:49 +0000 https://towardsdatascience.com/?p=606399 The Tokenizer Has Been a Necessary Evil, but This Radical Approach Shows That It Might Not Be Necessary Anymore.

The post Why Your Next LLM Might Not Have A Tokenizer appeared first on Towards Data Science.

]]>
Reinforcement Learning from Human Feedback, Explained Simply https://towardsdatascience.com/explained-simply-reinforcement-learning-from-human-feedback/ Mon, 23 Jun 2025 23:31:07 +0000 https://towardsdatascience.com/?p=606394 The one technique that made ChatGPT so smart

The post Reinforcement Learning from Human Feedback, Explained Simply appeared first on Towards Data Science.

]]>
LLM-as-a-Judge: A Practical Guide https://towardsdatascience.com/llm-as-a-judge-a-practical-guide/ Thu, 19 Jun 2025 19:03:29 +0000 https://towardsdatascience.com/?p=606372 How to Scale LLM Evaluations Beyond Manual Review

The post LLM-as-a-Judge: A Practical Guide appeared first on Towards Data Science.

]]>