How to Build Tool-Calling Local AI Agents in Python
In this article, you will learn how to build a local AI agent in Python that uses Ollama and Qwen3 to call tools that search,…
In this article, you will learn how to build a local AI agent in Python that uses Ollama and Qwen3 to call tools that search,…
Overview This post is divided into six parts; they are: • Running Decoding Policies with vLLM • Sampling Filters and Per-Token Work • Multiple Outputs and Beam Search • Stop Conditions and Request Lifetime • Structured Outputs • Batching and Runtime Cost Running Decoding Policies with vLLM vLLM separates model execution from token selection.
Three events that look alike need separate names.
Overview This post is divided into three parts; they are: • Pruning and Sparsity • Structured Pruning • Knowledge Distillation Pruning and Sparsity Pruning sets selected model parameters to zero or removes larger structures.
In this article, you will learn how information entropy and cross-entropy loss connect classical information theory to the way large language models are trained to…
Prerequisites You’ll need Python 3.
In this article, you will learn how gradient boosting, random forest, neural networks, and tabular foundation models compare on accuracy, speed, and data requirements in…
Overview This post is divided into three parts; they are: • Why Activations Are Hard to Quantize • W8A8 Inference and SmoothQuant • Floating-Point Quantization Why Activations Are Hard to Quantize
In this article, you will learn how to serve a Scikit-LLM zero-shot text classification pipeline, powered by a local Ollama model, as a REST API…
Overview This post is divided into five parts; they are: • Asymmetric Affine Quantization • Post-Training Quantization with PyTorch • GPTQ and AWQ • Quantizing a Model to GGUF • Evaluating Weight-Only Quantization Note: The code examples in this post use TorchAO and require a CUDA-enabled PyTorch installation.