Leanpub Header

Skip to main content

Filters

Category: "Large language models"

Large language models

New to Artificial Intelligence? Read the Artificial Intelligence article

  1. The Art and Science of LLM Jailbreaking
    The Art and Science of LLM Jailbreaking
    A Comprehensive Guide to Techniques, Strategies, Methodologies, Exploitation Approaches and AI Security Research
    Steve Publications

    Explore the hidden weaknesses of large language models and the techniques used to push their safety boundaries. From foundational concepts to advanced exploitation strategies, this book offers a deep dive into the mechanics of AI jailbreaking, backed by practical demonstrations and research-driven insights into detection, mitigation and responsible AI security.

  2. How Transformers Actually Work
    How Transformers Actually Work
    From First Principles to Production Inference
    Steve Publications

    Go beyond calling transformer libraries and learn what actually happens under the hood. Starting from first principles, this book builds transformers from scratch with NumPy and PyTorch, then takes you through training, optimization and production inference. Along the way, you’ll work through the math, code and practical techniques behind modern transformer systems.

  3. Local AI Engineering with Ollama
    Local AI Engineering with Ollama
    Run, understand, customize, fine-tune, and build agentic apps on your own hardware
    Aymen El Amri

    Pull a model onto a machine you own, shape it with a Modelfile, fine-tune your own adapter, and build a chat app that calls tools and talks to an MCP server, all running on your own hardware. By the end, you'll know exactly where owning your AI beats renting it, and where it doesn't.

  4. Enterprise AI Platform
    Enterprise AI Platform
    Lab Guide — GPU Infrastructure, Model Serving and Operations
    Thomas Zachmann

    Somewhere there is a server with two GPUs for which no operational process exists. This book turns that into an operable platform — hands-on, in 23 labs: vLLM, KServe, LiteLLM, the NVIDIA GPU Operator, Keycloak, OpenBao, ArgoCD, pgvector. At the end your developers write code with local and external models through a governed gateway.

  5. Building AI Agents in Go
    No Description Available
  6. vLLM and the Engineering of Fast LLM Inference
    vLLM and the Engineering of Fast LLM Inference
    A Systems Guide to High-Performance Large Language Model Serving
    Steve Publications

    Building fast LLM inference is about far more than turning the right knobs. This book takes you inside vLLM and the systems behind it, showing how memory, scheduling, GPUs and distributed serving shape real-world performance. Learn how to measure what matters, find bottlenecks and build inference infrastructure that scales without wasting money.

  7. Claude Code: Von den Grundlagen zur Meisterschaft
    Claude Code: Von den Grundlagen zur Meisterschaft
    Der umfassende Leitfaden zur Entwicklung agentenbasierter Software im Jahr 2026
    Steve Publications

    Die Softwareentwicklung wandelt sich rasant, und Claude Code steht im Zentrum dieses Wandels. „Mastering Claude Code“ zeigt, wie Entwickler mit KI-Agenten Code schreiben, Arbeitsabläufe automatisieren und auch komplexe Projekte effizient umsetzen. Praxisnah vermittelt das Buch Einrichtung, Prompt-Design und bewährte Engineering-Praktiken für moderne Softwareentwicklung im Jahr 2026.

  8. CrewAI in Action
    CrewAI in Action
    Building Production-Ready AI Agents and Multi-Agent Systems
    Steve Publications

    Discover how to build production-ready AI agents and multi-agent systems with CrewAI. Through practical examples and real-world projects, you will learn to create autonomous agents that collaborate, use tools, integrate with external data, and scale from prototype to production.

  9. AI-Assisted Development
    AI-Assisted Development
    Working With Coding Agents
    Yohan J. Rodríguez

    A working engineer's guide to building and maintaining production software with autonomous terminal coding agents (382 manuscript pages).

  10. The Forbidden Promptbook
    The Forbidden Promptbook
    Unlocking the Hidden Capabilities of Uncensored Models
    Steve Publications

    What happens when AI operates without the usual restrictions? Discover the world of uncensored and abliterated models and learn how to unlock their full potential. Packed with practical code examples, tested prompts and technical insights, this guide shows you how to find, configure and use powerful open-weight models for research, analysis and creative work.

  11. Uncensored AI: Unleashed
    Uncensored AI: Unleashed
    Deploy, Run and Master Unfiltered LLMs in the Cloud
    Steve Publications

    Take control of your own AI infrastructure. Learn how to find, deploy and run uncensored LLMs on rented GPU servers, from choosing the right models and hardware to configuring inference engines and scaling APIs. Packed with practical guidance and real-world tools, this book shows you how to build powerful private AI deployments without unnecessary restrictions.

  12. Inside llama.cpp
    Inside llama.cpp
    The Complete Guide to Building, Running, and Optimizing Local LLM Inference
    Steve Publications

    Learn how to build, run, and optimize llama.cpp from the ground up. This book covers everything from compiling the code and working with GGUF models to deploying fast, production-ready local LLM inference.

  13. Irreplaceable
    Irreplaceable
    Learn the craft of working with AI, and your value goes up, not away.
    Duncan McTavish

    Written for people who never asked to become AI users and now are. Not a tour of the technology, but a practical guide to working with it well — the habits that make good results repeatable, and the judgement to know when to check.

  14. Mastering LLM Quantization: Architecture and Code

    A Comprehensive Engineering Guide to Low-Precision AI, Quantized Inference, GPU Kernels, and Production DeploymentQuantization is one of the key techniques for making large language models more efficient. By representing weights, activations, and other model data at reduced precision, engineers can lower memory requirements, improve hardware utilization, and potentially increase inference throughput. Achieving these benefits, however, requires careful trade-offs between numerical accuracy, computational cost, memory bandwidth, and hardware support. Mastering LLM Quantization: Architecture and Code is a 44-chapter engineering reference covering the mathematics, algorithms, implementation techniques, GPU kernels, evaluation methods, and deployment systems behind quantized language models. It connects theoretical foundations with practical approaches to building and optimizing low-precision inference pipelines.

  15. Claude Code
    Claude Code
    A practical guide for those who want to start using Claude Code professionally
    Maurizio Pelizzone

    A practical guide to Claude Code, written with Claude Code.Over 300 pages built on the official Anthropic documentation and verified on Claude Code v2.1.311: from installation to Plan Mode, CLAUDE.md, context management, permissions, Skills, subagents, hooks, MCP and plugins, with real examples on WordPress and Node.js instead of slide-deck demos. It opens with a foreword written by Claude Opus, which read the manuscript and commented on it candidly.The book is free: pay-what-you-want with a $0 minimum, you decide whether and how much to contribute. The Creative Commons BY-SA 4.0 license lets you redistribute and modify it, as long as you credit the source and keep the same license.