
Building LLMs with PyTorch
A step-by-step guide to building advanced AI models with PyTorch (English Edition)
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Building LLMs with PyTorch
A step-by-step guide to building advanced AI models with PyTorch (English Edition)
About this book
Description
PyTorch has become the go-to framework for building cutting-edge large language models (LLMs), enabling developers to harness the power of deep learning for natural language processing. This book serves as your practical guide to navigating the intricacies of PyTorch, empowering you to create your own LLMs from the ground up. You will begin by mastering PyTorch fundamentals, including tensors, autograd, and model creation, before diving into core neural network concepts like gradients, loss functions, and backpropagation. Progressing through regression and image classification with convolutional neural networks, you will then explore advanced image processing through object detection and segmentation. The book seamlessly transitions into NLP, covering RNNs, LSTMs, and attention mechanisms, culminating in the construction of Transformer-based LLMs, including a practical mini-GPT project. You will also get a strong understanding of generative models like VAEs and GANs.By the end of this book, you will possess the technical proficiency to build, train, and deploy sophisticated LLMs using PyTorch, equipping you to contribute to the rapidly evolving landscape of AI.
What you will learn
? Build and train PyTorch models for linear and logistic regression.
? Configure PyTorch environments and utilize GPU acceleration with CUDA.
? Construct CNNs for image classification and apply transfer learning techniques.
? Master PyTorch tensors, autograd, and build fundamental neural networks.
? Utilize SSD and YOLO for object detection and perform image segmentation.
? Develop RNNs and LSTMs for sequence modeling and text generation.
? Implement attention mechanisms and build Transformer-based language models.
? Create generative models using VAEs and GANs for diverse applications.
? Build and deploy your own mini-GPT language model, applying the acquired skills.
Who this book is for
Software engineers, AI researchers, architects seeking AI insights, and professionals in finance, medical, engineering, and mathematics will find this book a comprehensive starting point, regardless of prior deep learning expertise.
Table of Contents
1. Introduction to Deep Learning
2. Nuts and Bolts of AI with PyTorch
3. Introduction to Convolution Neural Network
4. Model Building with Custom Layers and PyTorch 2.0
5. Advances in Computer Vision: Transfer Learning and Object Detection
6. Advanced Object Detection and Segmentation
7. Mastering Object Detection with Detectron2
8. Introduction to RNNs and LSTMs
9. Understanding Text Processing and Generation in Machine Learning
10. Transformers Unleashed
11. Introduction to GANs: Building Blocks of Generative Models
12. Conditional GANs, Latent Spaces, and Diffusion Models
13. PyTorch 2.0: New Features, Efficient CUDA Usage, and Accelerated Model Training
14. Building Large Language Models from Scratch
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Table of contents
- Cover
- Title Page
- Copyright Page
- Dedication Page
- About the Author
- Acknowledgement
- Preface
- Table of Contents
- 1.âIntroduction to Deep Learning
- 2.âNuts and Bolts of AI with PyTorch
- 3.âIntroduction to Convolution Neural Network
- 4.âModel Building with Custom Layers and PyTorch 2.0
- 5.âAdvances in Computer Vision: Transfer Learning and Object Detection
- 6.âAdvanced Object Detection and Segmentation
- 7.âMastering Object Detection with Detectron2
- 8.âIntroduction to RNNs and LSTMs
- 9.âUnderstanding Text Processing and Generation in Machine Learning
- 10.âTransformers Unleashed
- 11.âIntroduction to GANs: Building Blocks of Generative Models
- 12.âConditional GANs, Latent Spaces, and Diffusion Models
- 13.âPyTorch 2.0: New Features, Efficient CUDA Usage, and Accelerated Model Training
- 14.âBuilding Large Language Models from Scratch
- Index