Leanpub Header

Skip to main content

Filters

Category: "Large language models"

Large language models

New to Artificial Intelligence? Read the Artificial Intelligence article

  1. AI-Driven Scientific Discovery
    AI-Driven Scientific Discovery
    Models, Simulations and Autonomous Experiments
    Steve Publications

    Discover how artificial intelligence is transforming scientific research, from hypothesis generation to autonomous experimentation. This book explores the models, algorithms and computational tools driving a new era of discovery, offering researchers and engineers the knowledge to understand, build and apply AI-powered scientific systems.

  2. ArtCraft: The Agentic Creative Studio in TypeScript
    ArtCraft: The Agentic Creative Studio in TypeScript
    Headless Automation, MCP Servers, and Vision-Model Feedback for Photo, Video, Vector, and Publishing Workflows
    Edgar Milvus
    No Description Available
  3. Advanced Harness Design
    Advanced Harness Design
    The New Frontier of AI Engineering
    Steve Publications

    As AI models become increasingly accessible, the real challenge lies in making them work reliably in production. Advanced Harness Design explores the engineering behind robust AI systems, from architecture and orchestration to security and operations. Discover the patterns, tools and practical techniques needed to build dependable AI systems that perform in the real world.

  4. Claude Code Pocket Guide
    Claude Code Pocket Guide
    Mastering Features, Workflows, Techniques and Best Practices
    Steve Publications

    Get more out of Claude Code with practical tips, proven workflows and clear guidance you can put to work right away. Whether you're just getting started or already using it daily, this guide helps you write better code, work smarter and avoid common pitfalls while making the most of what Claude Code has to offer.

  5. Building Self-Improving Agents
    Building Self-Improving Agents
    Architecture, Memory, Learning Systems and Practical Implementation
    Steve Publications

    What if your AI agents could learn from their mistakes instead of repeating them? Discover how to build systems that remember past experiences, adapt to new challenges and improve with every task. From memory architecture to practical implementation, this book shows you how to create agents that get better over time.

  6. A Practical Guide to Pruning Experts in Mixture-of-Experts (MoE) Models
    A Practical Guide to Pruning Experts in Mixture-of-Experts (MoE) Models
    From First Principles to Production Deployment
    Steve Publications

    What if you could make massive Mixture-of-Experts models smaller without retraining them from scratch? This book takes you from the fundamentals of expert pruning to practical implementation, covering proven methods, working code and real-world deployment challenges. Learn how to identify redundant experts, preserve model performance and build pruning solutions that work in production.

  7. Learning Ansible, Second Edition
    Learning Ansible, Second Edition
    Automate Modern IT Operations for Linux, Windows, Cloud and Kubernetes using ansible-core, Event-Driven Remediation, AI Agents and MCP
    GitforGits | Asian Publishing House

    In this 2nd edition, I'm going to be working with you on a single app called OrderDesk. We'll build its inventory, roles and secrets, and then we'll patch its servers, provision its cloud resources and deploy it to Kubernetes. Later, we'll watch it with Prometheus, heal it with Event-Driven Ansible and diagnose its failures with playbooks that collect evidence in seconds. Then, in the last few chapters, we'll start inviting AI agents through tools and MCP servers, while approvals and check mode make sure that everyone keeps control of the decisions. You don't need to be a pro programmer to follow along.

  8. Programming Knowledge Graphs with Python
    Programming Knowledge Graphs with Python
    Model, Build, and Query AI-Ready Knowledge with Cypher, Neo4j, and AI Agents
    GitforGits | Asian Publishing House

    We'll start with nodes, relationships and Cypher, as it'll make everything else easier later on. Then, we design a schema, chunk documents, extract entities and add embeddings. Then, we'll mix vectors with structure, run graph algorithms, think about rules and ontologies, and connect AI agents through safe, traceable tools. We'll also keep the graph fresh, measured and recoverable, because if it's stale, users won't trust it.

  9. The Third Intelligence: Prelude to a hypothesis

    In Place of a PrefaceSometimes a thought arrives before the language to express it. It is already there: you can sense it, circle around it a few times, argue about it, put it to use - and still not quite understand what is happening. Until a thought has a name, it remains almost invisible. Not because it does not exist, but because we keep looking at it through old words.This work began at precisely that point. Not where a complete theory, a rigorous methodology and a settled system of concepts are already in place. Earlier: at the moment when familiar language began to fail, and it became clear that something important was happening, but the old words were no longer enough to name it.So what you have before you is not a conclusion. Not a treatise. Not even a theory in the strict sense of the word.It is a prelude to a hypothesis.The first recorded trace of a question still searching for its own form.That qualification matters. The first account of a new idea cannot be expected to contain everything that must come later: a fully operational definition, an empirical foundation, a classification of cases, a legal framework, an educational protocol and a definitive methodology. All of that will be needed. Perhaps that is exactly what the next step should be. But the first step works differently: it notices rather than proves; it opens rather than closes; it offers no finished map, but draws a first line where there may once have seemed to be nothing.Of course, we are not starting from scratch, nor do we claim that the question itself is wholly new. Long before today, others...

  10. Третий Интеллект: Пролог к Гипотезе

    Вместо предисловияИногда мысль появляется раньше своего языка. Она уже есть: ее можно почувствовать, несколько раз обойти вокруг, спорить о ней, пользоваться ею — и все же не до конца понимать, что именно происходит. Пока у мысли нет имени, она остается почти невидимой не потому, что ее нет, а потому, что мы продолжаем смотреть на нее через старые слова.Эта работа возникла именно в такой точке. Не там, где уже есть законченная теория, строгая методология и окончательная система понятий. А раньше — в моменте, когда привычный язык начал давать сбой и стало ясно: происходит нечто важное, но назвать это прежними словами уже недостаточно.Поэтому перед вами не итог. Не трактат. И даже не теория в строгом смысле слова.Перед вами — пролог к гипотезе.Первый зафиксированный след вопроса, который еще только ищет собственную форму.Эта оговорка важна. От первого текста о новой мысли не- льзя требовать того, что должно появиться на следующих этапах: полной операционализации, эмпирической базы, классификации кейсов, юридической модели, образовательного протокола и окончательной методологии. Все это понадобится. Возможно, именно это и должно стать следующим шагом. Но первый шаг устроен иначе: он не доказывает — он замечает; не закрывает — открывает; не дает окончательную карту — проводит первую линию там, где раньше, возможно, казалось пустое место.

  11. Java AI Frameworks
    Java AI Frameworks
    A hands-on comparison of Spring AI and LangChain4j
    Nicolas Duminil

    This is a hands-on, code-first book. Every example is real, tested, and runs against a local model with no cloud key required, except where a capability genuinely needs one. You get working Maven projects, not snippets, and a clear-eyed account of each stack's strengths, gaps, and surprises. The full source code is on GitHub under an open-source license What you'll learn:Build a working AI service in three stacks and grade them with one shared testGround answers in your own documents with RAG, and tune what retrieval returnsGive a model memory and tools, and reach external systems over the Model Context ProtocolAdd vision and audio, structured output, production observability, and securityGo from assistants to agents, and see where the JVM's agent story is headingWho it's for: Java developers and architects choosing an AI stack, or already committed to one and curious what the alternatives do differently. Comfort with modern Java and either Spring Boot or Quarkus is all you need. No machine-learning background required.

  12. Inside DeepInfer
    Inside DeepInfer
    How an LLM Inference Engine Works
    Jianxin Zhao

    A generation loop fits in a few lines of Python, yet serving it to many users at once raises hard questions: who owns the cached state, when memory can be reused, and when a guessed token is worth checking. This book answers them through small experiments you can run on your laptop and the source code of DeepInfer, the open-source engine behind DeepSeek's production service.

  13. AI Engineering Visualized, Volume 2: Agents
    AI Engineering Visualized, Volume 2: Agents
    A Visual Guide to Designing Agents That Plan, Act and Recover
    Prateek Singh

    Agents that plan, act and recover: the harness around the model. Tools, plans, checks, state, approvals and memory, drawn and built in Python.

  14. AHORRA TOKENS EN CHATGPT 💸 El Prompt que Bajó mi Gasto 60%

    Aprende el prompt MODO ULTRA-AHORRO y baja tu gasto de tokens ~60% en ChatGPT y cualquier IA, con ejemplos y checklist.

  15. vLLM & SGLang: From First Request to Production

    vLLM and SGLang, side by side. Learn how LLM serving works, measure both engines fairly, tune them with evidence, and take a model from an empty GPU to a deployment with a cost per million tokens you can defend.