Deep Reinforcement Learning with Python, 2nd Edition
eBook Details:
- Paperback: 659 pages
- Publisher: WOW! eBook (July 28, 2024)
- Language: English
- ISBN-10: 8868802720
- ISBN-13: 978-8868802720
eBook Description:
Deep Reinforcement Learning with Python: RLHF for Chatbots and Large Language Models, 2nd Edition
Gain a theoretical understanding to the most popular libraries in deep reinforcement learning (deep RL). This new Deep Reinforcement Learning with Python, 2nd Edition focuses on the latest advances in deep RL using a learn-by-coding approach, allowing readers to assimilate and replicate the latest research in this field.
New agent environments ranging from games, and robotics to finance are explained to help you try different ways to apply reinforcement learning. A chapter on multi-agent reinforcement learning covers how multiple agents compete, while another chapter focuses on the widely used deep RL algorithm, proximal policy optimization (PPO). You’ll see how reinforcement learning with human feedback (RLHF) has been used by chatbots, built using Large Language Models, e.g. ChatGPT to improve conversational capabilities.
You’ll also review the steps for using the code on multiple cloud systems and deploying models on platforms such as Hugging Face Hub. The code is in Jupyter Notebook, which canbe run on Google Colab, and other similar deep learning cloud platforms, allowing you to tailor the code to your own needs.
What You’ll Learn
- Explore Python-based RL libraries, including StableBaselines3 and CleanRL
- Work with diverse RL environments like Gymnasium, Pybullet, and Unity ML
- Understand instruction finetuning of Large Language Models using RLHF and PPO
- Study training and optimization techniques using HuggingFace, Weights and Biases, and Optuna
Whether it’s for applications in gaming, robotics, or Generative AI, Deep Reinforcement Learning with Python, 2nd Edition will help keep you ahead of the curve.