Book description
Unlock the TensorFlow design secrets behind successful deep learning applications! Deep learning StackOverflow contributor Thushan Ganegedara teaches you the new features of TensorFlow 2 in this hands-on guide.In TensorFlow in Action you will learn:
- Fundamentals of TensorFlow
- Implementing deep learning networks
- Picking a high-level Keras API for model building with confidence
- Writing comprehensive end-to-end data pipelines
- Building models for computer vision and natural language processing
- Utilizing pretrained NLP models
- Recent algorithms including transformers, attention models, and ElMo
In TensorFlow in Action, you'll dig into the newest version of Google's amazing TensorFlow framework as you learn to create incredible deep learning applications. Author Thushan Ganegedara uses quirky stories, practical examples, and behind-the-scenes explanations to demystify concepts otherwise trapped in dense academic papers. As you dive into modern deep learning techniques like transformer and attention models, you’ll benefit from the unique insights of a top StackOverflow contributor for deep learning and NLP.
About the Technology
Google’s TensorFlow framework sits at the heart of modern deep learning. Boasting practical features like multi-GPU support, network data visualization, and easy production pipelines using TensorFlow Extended (TFX), TensorFlow provides the most efficient path to professional AI applications. And the Keras library, fully integrated into TensorFlow 2, makes it a snap to build and train even complex models for vision, language, and more.
About the Book
TensorFlow in Action teaches you to construct, train, and deploy deep learning models using TensorFlow 2. In this practical tutorial, you’ll build reusable skill hands-on as you create production-ready applications such as a French-to-English translator and a neural network that can write fiction. You’ll appreciate the in-depth explanations that go from DL basics to advanced applications in NLP, image processing, and MLOps, complete with important details that you’ll return to reference over and over.
What's Inside
- Covers TensorFlow 2.9
- Recent algorithms including transformers, attention models, and ElMo
- Build on pretrained models
- Writing end-to-end data pipelines with TFX
About the Reader
For Python programmers with basic deep learning skills.
About the Author
Thushan Ganegedara is a senior ML engineer at Canva and TensorFlow expert. He holds a PhD in machine learning from the University of Sydney.
Quotes
A nice dive into TensorFlow 2. It outlines modern techniques and reinforces them with concrete sample projects.
- Joshua A. McAdams, Google
Practical and hands-on. A valuable resource for practitioners and newbies.
- Amaresh Rajasekharan, IBM
Comprehensive. Covers advanced topics such as atrous convolution, Transformers, and MLOps.
- Wei Luo, Deakin University
Recommended for practitioners. There are code examples for every topic.
- Vidhya Vinay, Streamingo.ai
Table of contents
- TensorFlow in Action
- Copyright
- dedication
- contents
- front matter
- Part 1 Foundations of TensorFlow 2 and deep learning
- 1 The amazing world of TensorFlow
- 2 TensorFlow 2
- 3 Keras and data retrieval in TensorFlow 2
- 4 Dipping toes in deep learning
-
5 State-of-the-art in deep learning: Transformers
- 5.1 Representing text as numbers
-
5.2 Understanding the Transformer model
- 5.2.1 The encoder-decoder view of the Transformer
- 5.2.2 Diving deeper
- 5.2.3 Self-attention layer
- 5.2.4 Understanding self-attention using scalars
- 5.2.5 Self-attention as a cooking competition
- 5.2.6 Masked self-attention layers
- 5.2.7 Multi-head attention
- 5.2.8 Fully connected layer
- 5.2.9 Putting everything together
- Summary
- Answers to exercises
- Part 2 Look ma, no hands! Deep networks in the real world
- 6 Teaching machines to see: Image classification with CNNs
- 7 Teaching machines to see better: Improving CNNs and making them confess
-
8 Telling things apart: Image segmentation
- 8.1 Understanding the data
- 8.2 Getting serious: Defining a TensorFlow data pipeline
- 8.3 DeepLabv3: Using pretrained networks to segment images
- 8.4 Compiling the model: Loss functions and evaluation metrics in image segmentation
- 8.5 Training the model
- 8.6 Evaluating the model
- Summary
- Answers to exercises
-
9 Natural language processing with TensorFlow: Sentiment analysis
- 9.1 What the text? Exploring and processing text
- 9.2 Getting text ready for the model
- 9.3 Defining an end-to-end NLP pipeline with TensorFlow
- 9.4 Happy reviews mean happy customers: Sentiment analysis
- 9.5 Training and evaluating the model
- 9.6 Injecting semantics with word vectors
- Summary
- Answers to exercises
-
10 Natural language processing with TensorFlow: Language modeling
- 10.1 Processing the data
- 10.2 GRUs in Wonderland: Generating text with deep learning
- 10.3 Measuring the quality of the generated text
- 10.4 Training and evaluating the language model
- 10.5 Generating new text from the language model: Greedy decoding
- 10.6 Beam search: Enhancing the predictive power of sequential models
- Summary
- Answers to exercises
- Part 3 Advanced deep networks for complex problems
- 11 Sequence-to-sequence learning: Part 1
- 12 Sequence-to-sequence learning: Part 2
- 13 Transformers
- 14 TensorBoard: Big brother of TensorFlow
- 15 TFX: MLOps and deploying models with TensorFlow
- appendix A Setting up the environment
- appendix B Computer vision
- appendix C Natural language processing
- index
Product information
- Title: TensorFlow in Action
- Author(s):
- Release date: October 2022
- Publisher(s): Manning Publications
- ISBN: 9781617298349
You might also like
book
Deep Learning with TensorFlow and Keras - Third Edition
Build cutting edge machine and deep learning systems for the lab, production, and mobile devices. Purchase …
video
Deep Learning with TensorFlow, Keras, and PyTorch
7+ Hours of Video Instruction An intuitive, application-focused introduction to deep learning and TensorFlow, Keras, and …
book
Deep Learning with PyTorch
Every other day we hear about new ways to put deep learning to good use: improved …
book
Machine Learning for Time-Series with Python
Get better insights from time-series data and become proficient in model performance analysis Key Features Explore …