Tutorials
Newest first · 61 to 90 of 461
- Generative AI and NLPLangGraph Checkpointing: Save & Resume Graph StateSave and resume LangGraph agent state with checkpointers so your conversations survive crashes, restarts, and long breaks between sessions.
- Generative AI and NLPLangGraph Debugging with LangSmith Tracing GuideMaster LangGraph debugging with LangSmith tracing, follow step-by-step examples to inspect agent runs, tag traces, and monitor production performance.
- Generative AI and NLPLangGraph Multi-Agent: Supervisor, Swarm & NetworkBuild multi-agent AI systems in LangGraph using supervisor, swarm, and network patterns, with full code for each and a guide to choosing the right one.
- Generative AI and NLPLangGraph Memory: Short-Term, Long-Term & ConversationBuild LangGraph agents with lasting memory using sliding windows, summaries, and cross-session stores to manage tokens and recall user context.
- Generative AI and NLPLangGraph Map-Reduce: Parallel Execution with Send APILearn how to run LangGraph branches in parallel using the Send API and map-reduce pattern to process multiple items at once and merge results cleanly.
- Generative AI and NLPLangGraph Installation & Setup: Build Your First GraphComplete your LangGraph installation setup in minutes, then build and run your first StateGraph that calls an LLM and returns a response.
- Generative AI and NLPLangGraph Human-in-the-Loop: Add Approval StepsLearn to pause LangGraph agents for human review, accept edits, and resume safely with working interrupt and Command patterns.
- Generative AI and NLPLangGraph Nodes, Edges & State: Core Concepts ExplainedUnderstand LangGraph nodes edges state and conditional routing through visual diagrams and runnable Python examples you can copy and extend.
- Generative AI and NLPLangGraph Error Handling: Retries & Fallback StrategiesMake your LangGraph agents production-ready with retry logic, fallback paths, and error tracking that keeps pipelines alive when things go wrong.
- Generative AI and NLPLangGraph Cycles & Recursion Limits: Control Agent LoopsMaster LangGraph cycles and recursion limits, stop runaway agents, handle GraphRecursionError, and build clean exit strategies for your loops.
- Generative AI and NLPLangGraph Conditional Edges: Dynamic Routing GuideBuild LangGraph workflows that branch at runtime using conditional edges and routing functions. Route by LLM output, user input, or custom logic with examples.
- Generative AI and NLPLangGraph Code Generation Agent: Build & Run PythonStep-by-step guide to building a LangGraph agent that writes Python code, runs it safely, checks the output, and self-corrects until it works.
- Generative AI and NLPLangChain Crash Course, Chains, Models, and Output ParsersFollow this hands-on LangChain tutorial to master chat models, prompt templates, output parsers, and LCEL chains with runnable Python examples.
- Generative AI and NLPIntroduction to LLMs and the OpenAI API in PythonStart using the OpenAI API Python SDK today. Build your first LLM-powered app with runnable code for chat completions, streaming, and token management.
- Generative AI and NLPUnsloth Fine-Tuning, Train LLMs 2x Faster with 70% Less MemoryFine-tune LLMs with Unsloth, 2x faster training, 70% less GPU memory. Step-by-step guide with LoRA, QLoRA, code examples, and deployment tips.
- Generative AI and NLPHow to Evaluate LLMs, Metrics, Benchmarks & Python CodeLearn LLM evaluation from scratch -- benchmarks, metrics (BLEU, ROUGE, perplexity), LLM-as-judge, and custom pipelines with runnable Python code.
- Generative AI and NLPHow to Evaluate an LLM: Benchmarks, Metrics, and Practical WorkflowsEvaluate your LLM using MMLU, MT-Bench, LLM-as-judge, and ROUGE. Covers lm-evaluation-harness, fine-tuned model comparison, and evaluation pitfalls. With code.
- Machine LearningFine-Tuning LLMs with LoRA and QLoRA in Python, A Complete GuideFine-tune LLMs with LoRA and QLoRA in Python. Complete guide covering memory math, PEFT setup, 4-bit QLoRA, adapter merging, and common mistakes, with runnable code.
- Generative AI and NLPDPO (Direct Preference Optimization), A Simpler Alternative to RLHFAlign LLMs with human preferences using one loss function -- no reward model, no RL. Complete guide with derivation, PyTorch code, and DPO variants.
- Machine LearningHow to Build a Custom Instruction Dataset for LLM Fine-TuningLearn how to build a custom instruction dataset for LLM fine-tuning, covering Alpaca, ShareGPT, and DPO formats, quality filtering, synthetic data generation, token budgeting, and HuggingFace Hub upload with Python.
- Generative AI and NLPHow LLMs Work: Transformers Explained Step-by-StepLearn how LLMs work step by step. Build an inference simulator in Python, tokenize, embed, compute attention, sample, and decode with runnable code at every stage.
- Machine LearningHow to Fine-Tune LLMs with LoRA in Python, A Complete GuideLearn how to fine-tune large language models with LoRA in Python using PEFT and TRL, covers LoraConfig, QLoRA, SFTTrainer, model merging, and common mistakes on consumer GPUs.
- Generative AI and NLPBuild an AI Chatbot with Memory in Python (2026)Build a Python AI chatbot with conversation memory that actually remembers. Raw HTTP tutorial with streaming, 3 hands-on exercises, and complete code you can run today.
- PythonBuild Your First AI App with Python, Step-by-Step TutorialBuild your first AI app with Python and the OpenAI API. Step-by-step tutorial covering chat completions, streaming, error handling, and cost control, with runnable code.
- PythonWhy Python Lacks Traditional OOP EncapsulationUnlike Java Python treats encapsulation as a guideline, not a rule. Understand how this philosophy shapes OOP practices.
- PythonMemory Optimization in Python: How slots WorksUnderstand __slots__ in Python, a technique that replaces dynamic dictionaries with fixed attributes for faster, more efficient classes.
- PythonUnderstanding Python Descriptors and the __set_name__ MethodLearn how Python descriptors work with __set_name__. Control attribute access and understand descriptor protocols with clear examples.
- PythonPython’s Magic Methods: How to Overload Operators ProperlyDiscover how operator overloading is implemented using magic methods, allowing custom classes to integrate with Python's core operations.
- PythonPython @property: Getters, Setters, and Attribute Control GuideLearn to use Python's @property decorator to implement getters and setters for safe attribute access and data validation in OOP.
- PythonPython Method Decorators- @classmethod vs @staticmethod vs @propertyUnderstand Python's key method decorators: when to use @classmethod for class state, @staticmethod for pure functions, and @property for attribute control.