✕ Clear all filters
403 articles
▶ Videos →

📰 Medium · Python

403 articles · Updated every 3 hours · View all reads

All Articles 133,220Blog Posts 137,666Tech Tutorials 34,544Research Papers 25,940News 18,846 ⚡ AI Lessons
Getting Started with Microsoft Foundry Local: Running AI Models Without the Cloud
Medium · Python 🧠 Large Language Models ⚡ AI Lesson 6d ago
Getting Started with Microsoft Foundry Local: Running AI Models Without the Cloud
My journey of setting up Microsoft Foundry Local, running my first local AI model, and starting a fully local RAG assistant. Continue reading on Medium »
Medium · Python 🧠 Large Language Models ⚡ AI Lesson 1w ago
Creating Token Embeddings in PyTorch: The First Trainable Layer of a GPT Model
Token IDs are just labels. The embedding layer transforms those labels into dense vectors that the transformer can actually learn from. Continue reading on Medi
I Added Observability to My AI PR Agent and It Was Silently Failing the Whole Time
Medium · Python 🧠 Large Language Models ⚡ AI Lesson 1w ago
I Added Observability to My AI PR Agent and It Was Silently Failing the Whole Time
Recon auto-generates PR descriptions using Groq’s Llama 3.3 and updates a Cognee knowledge graph based on how much developers rewrite them… Continue reading on
How to Fine-Tune an LLM
Medium · Python 🧠 Large Language Models ⚡ AI Lesson 1w ago
How to Fine-Tune an LLM
Fine-tuning is powerful — but it is not always the right answer Continue reading on Medium »
Building a Custom GPT / Chatbot for Your Own Use Case
Medium · Python 🧠 Large Language Models ⚡ AI Lesson 1w ago
Building a Custom GPT / Chatbot for Your Own Use Case
“Build a chatbot” means different things depending on what you actually need. Continue reading on Medium »
Four Python Libraries That Killed Most of My LLM Boilerplate in 2026
Medium · Python 🧠 Large Language Models ⚡ AI Lesson 1w ago
Four Python Libraries That Killed Most of My LLM Boilerplate in 2026
Sometime last spring I opened a file in one of our services called llm_client.py Continue reading on Python in Plain English »
The 30,000 LKR AI Setup: Running Ornith 9B and VS Code Locally
Medium · Python 🧠 Large Language Models ⚡ AI Lesson 1w ago
The 30,000 LKR AI Setup: Running Ornith 9B and VS Code Locally
How to Install and Run the Ornith 9B Local LLM on an Older Laptop Continue reading on Medium »
LangChain Prompts in Depth: Templates, Few-Shot Examples, and Versioning That Survives Production
Medium · Python 🧠 Large Language Models ⚡ AI Lesson 1w ago
LangChain Prompts in Depth: Templates, Few-Shot Examples, and Versioning That Survives Production
A practitioner’s guide to PromptTemplate, few-shot prompting, and treating prompts like versioned code in LangChain 1.0 Continue reading on Medium »
Getting Started with Docling!
Medium · Python 🧠 Large Language Models ⚡ AI Lesson 1w ago
Getting Started with Docling!
Tentative Continue reading on Medium »
The Government Just Put a Lock on GPT-5.6. This Changes Everything.
Medium · Python 🧠 Large Language Models ⚡ AI Lesson 2w ago
The Government Just Put a Lock on GPT-5.6. This Changes Everything.
OpenAI dropped its most powerful model on June 26. You can’t use it. Here’s what that actually means for developers and the future of AI… Continue reading on Ar
LangChain Messages: The Data Structure Your Entire Agent Runs On
Medium · Python 🧠 Large Language Models ⚡ AI Lesson 2w ago
LangChain Messages: The Data Structure Your Entire Agent Runs On
Every conversation your LLM app has is just a list of these objects, and most tutorials skip how they work Continue reading on Medium »
I Built a Free AI-Powered Travel Scrapbook App with Python — No Paid APIs, No Subscriptions
Medium · Python 🧠 Large Language Models ⚡ AI Lesson 2w ago
I Built a Free AI-Powered Travel Scrapbook App with Python — No Paid APIs, No Subscriptions
How I turned my holiday photos into a vintage-style magazine memoir using Streamlit, Groq’s free LLM tier, and a lot of CSS craft. Continue reading on Medium »
Research shows Claude Has a Hidden Reasoning Room Where It Thinks Before It Speaks.
Medium · Python 🧠 Large Language Models ⚡ AI Lesson 2w ago
Research shows Claude Has a Hidden Reasoning Room Where It Thinks Before It Speaks.
Why That Should Change How You Build. Continue reading on Medium »
Proceedings of the First (and Last) Intent-Inference Conference
Medium · Python 🧠 Large Language Models ⚡ AI Lesson 2w ago
Proceedings of the First (and Last) Intent-Inference Conference
OR: I Asked Three AIs to Build One Thing, and They Held a Conference to Explain Why a Human Should Do It Instead Continue reading on Medium »
Medium · Python 🧠 Large Language Models ⚡ AI Lesson 2w ago
TDD Doesn’t Work on LLM Code. Here’s What Does.
Benchmark-Driven Development: red is a fraction, green is a probability bar, and “cannot reproduce” stops being a resolution. Continue reading on Medium »
I Built RAG for 10 Million Documents. Here’s What Actually Stops Hallucination
Medium · Python 🧠 Large Language Models ⚡ AI Lesson 2w ago
I Built RAG for 10 Million Documents. Here’s What Actually Stops Hallucination
What actually changes when you go from a 10K-document demo to a production system handling ten million, and why most RAG tutorials quietly… Continue reading on
21 Days of LLMs, Day 1: What Actually Happens When You Call an LLM API
Medium · Python 🧠 Large Language Models ⚡ AI Lesson 2w ago
21 Days of LLMs, Day 1: What Actually Happens When You Call an LLM API
Most developers treat LLM APIs like magic boxes. Here’s what’s really going on under the hood. Continue reading on Medium »
I Ran the Best Local LLMs of 2026 on a Normal Laptop. Here’s Which One to Use for Each Job.
Medium · Python 🧠 Large Language Models ⚡ AI Lesson 2w ago
I Ran the Best Local LLMs of 2026 on a Normal Laptop. Here’s Which One to Use for Each Job.
The model that tops the benchmarks is not the one open on my machine right now. After a month of real work I stopped ranking models by… Continue reading on Medi
Interesting failure modes for AI in Jupyter notebooks
Medium · Python 🧠 Large Language Models ⚡ AI Lesson 2w ago
Interesting failure modes for AI in Jupyter notebooks
A collection of unusual quirks from the use of LLMs in data analysis Continue reading on CodeX »
Why I Built a Memory Engine That Composes Not Just Retrieves
Medium · Python 🧠 Large Language Models ⚡ AI Lesson 2w ago
Why I Built a Memory Engine That Composes Not Just Retrieves
Vector databases have a dirty secret: they don’t actually understand relationships between memories. Continue reading on Medium »