Training LLMs in C++

Prijzen vanaf
43,99

Gesponsorde links

VERGELIJK ALLE AANBIEDERS (3)

Beschrijving

Bol Train a practical language model in modern C++ using two complementary frameworks; MiniDNN, a lightweight CPU-focused library for learning and prototyping, and LibTorch, the production-grade C++ API for PyTorch with full GPU acceleration. This book guides you through both approaches, from setting up your project and preparing text data to building models, configuring training, choosing optimisers, and tracking loss and metrics. You will implement the core components you need in real code: data handling (batching, tokenisation, memory efficiency), model architecture and layer configuration, training utilities (logging, checkpointing), evaluation and cross-validation, and inference for text generation with beam search and sampling. The dual-track approach lets you start with simple, readable MiniDNN code on CPU, then scale to production-ready LibTorch implementations on GPU. Advanced chapters introduce attention mechanisms, transfer learning, and ethical considerations. The appendices provide API references for both frameworks, troubleshooting guidance, and performance benchmarks. If you want a clear, end-to-end path to building and running language models in C++, this book is your starting point.

Vergelijk aanbieders (3)

Gesponsorde links · Sommige shops betalen ons een vergoeding

Sorteren op:

€ 43,99 Gratis verzending

€ 45,56 Gratis verzending

€ 45,56 Gratis verzending

Beschrijving (1)

Train a practical language model in modern C++ using two complementary frameworks; MiniDNN, a lightweight CPU-focused library for learning and prototyping, and LibTorch, the production-grade C++ API for PyTorch with full GPU acceleration. This book guides you through both approaches, from setting up your project and preparing text data to building models, configuring training, choosing optimisers, and tracking loss and metrics. You will implement the core components you need in real code: data handling (batching, tokenisation, memory efficiency), model architecture and layer configuration, training utilities (logging, checkpointing), evaluation and cross-validation, and inference for text generation with beam search and sampling. The dual-track approach lets you start with simple, readable MiniDNN code on CPU, then scale to production-ready LibTorch implementations on GPU. Advanced chapters introduce attention mechanisms, transfer learning, and ethical considerations. The appendices provide API references for both frameworks, troubleshooting guidance, and performance benchmarks. If you want a clear, end-to-end path to building and running language models in C++, this book is your starting point.


Productspecificaties

Merk Independently Published
EAN
  • 9798172751134
Maat


Prijshistorie

* Prijshistorie bevat geen data van Amazon, Amazon Marketplace.

Prijzen voor het laatst bijgewerkt op:

Uitgelichte Keuze
43,99
Naar shop