Guides & Tutorials

Step-by-step tutorials to help you build AI apps, master new frameworks, and optimize your workflows.

Sort by:
guides
Shan • October 18, 2026
smolagentsHugging Facedata analysiscode agentmachine learning

Build a Titanic Data Analyst Agent with smolagents

Use smolagents CodeAgent to explore Titanic data, generate plots, and train an ML baseline from one natural-language prompt.

Read more →
guides
Shan • October 17, 2026
AutoGenFastAPIWebSocketmulti-agentPython

Run a Microsoft AutoGen Team as a FastAPI WebSocket App

Adapt Microsoft AutoGen's app_team.py into a FastAPI WebSocket endpoint that streams multi-agent chat, persists state, and serves a browser UI.

Read more →
guides
Shan • October 15, 2026
PEFTLoftQquantizationGSM8KLlamafine-tuning

Fine-Tune a Quantized Llama on GSM8K with PEFT LoftQ

A step-by-step walkthrough of the Hugging Face PEFT GSM8K LoftQ script: 4-bit NF4 loading, preprocessing, training, and exact-match accuracy.

Read more →
guides
Shan • October 13, 2026
llama.cppevaluationbenchmarkingLLMGGUFAI engineering

Benchmark Local Models with llama.cpp's llama-eval.py

Use llama.cpp's single-file eval harness to run reproducible AIME, GSM8K, and GPQA benchmarks against a local server with Wilson confidence intervals.

Read more →
guides
Shan • October 11, 2026
DPOFSDPtorchtuneRLHFdistributed trainingPyTorch

Run Distributed Full-Model DPO with PyTorch FSDP

Implement full-parameter DPO across multi-GPU nodes using torchtune's FSDP recipe, concatenated forward passes, and activation memory controls.

Read more →
guides
Shan • October 11, 2026
local-ragollamaopen-webuidocument-aiembeddingsvector-search

Run an LLM Locally to Interact with Your Documents: Complete Ollama & Open WebUI Guide

Build a completely offline, zero-leakage local document intelligence system using Ollama, Open WebUI, and nomic-embed-text with custom chunking and system prompt engineering.

Read more →

Showing 6 of 76 guides

Complete guides archive

Browse every published entry. Newest stories and guides remain available above.

Browse all 76 entries

2026