BERT explained: bidirectional encoder, masked language modelling, fine-tuning for classification with Hugging Face, BERT variants and BERT vs LLMs.
Read More »How to Run LLMs Locally with Ollama (Python Guide)
Run open-weight LLMs like Llama, Gemma and Qwen on your laptop with Ollama: hardware and quantization guide, commands, Python and OpenAI-compatible API use.
Read More »LLM Hallucinations and Prompt Injection: Causes and Fixes
Why LLMs hallucinate, types of hallucination, techniques like RAG and grounding to reduce them, prompt injection risks and a safety checklist for LLM apps.
Read More »AI Agent Frameworks Compared: LangGraph vs CrewAI vs OpenAI Agents SDK
Compare AI agent frameworks in 2026: LangGraph, CrewAI, OpenAI Agents SDK, Claude Agent SDK, Google ADK and Microsoft Agent Framework, with code and how to choose.
Read More »Model Context Protocol (MCP) Explained: Build an MCP Server in Python
What the Model Context Protocol (MCP) is, hosts, clients and servers, a Python MCP server example, the 2026-07-28 stateless spec and security tips.
Read More »LLM Function Calling and Tool Use Explained (Python)
How LLM function calling and tool use work: the tool loop simulated in tested Python, JSON Schema tools, OpenAI and Anthropic examples and safety tips.
Read More »Text Embeddings Explained: Semantic Search with Python
What text embeddings are, cosine similarity, TF-IDF vs semantic embeddings with tested Python, sentence-transformers and uses in search, clustering and RAG.
Read More »Tokenization in LLMs: BPE Explained with Python
How LLM tokenization works: word vs sub-word tokens, Byte-Pair Encoding implemented in Python, counting tokens with tiktoken and effects on cost and context.
Read More »Vector Databases Explained: Embeddings, Similarity Search and ChromaDB
What vector databases are, cosine similarity in NumPy, ChromaDB with filters, ANN indexes and tool comparison.
Read More »LLM Evaluation: Metrics for LLM and RAG Applications
Evaluate LLM apps: golden test sets, exact match and F1 in Python, LLM-as-a-judge, RAG metrics and best practice.
Read More »
Machine Learning Tutorials, Courses and Certifications