Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
PyTorch Deep Learning Hands-On

You're reading from   PyTorch Deep Learning Hands-On Build CNNs, RNNs, GANs, reinforcement learning, and more, quickly and easily

Arrow left icon
Product type Paperback
Published in Apr 2019
Publisher Packt
ISBN-13 9781788834131
Length 250 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Sherin Thomas Sherin Thomas
Author Profile Icon Sherin Thomas
Sherin Thomas
Sudhanshu Passi Sudhanshu Passi
Author Profile Icon Sudhanshu Passi
Sudhanshu Passi
Arrow right icon
View More author details
Toc

Autoregressive models

Autoregressive models use information from the previous steps and create the next output. RNNs generating text for a language modeling task is a typical example of the autoregressive model.

Autoregressive models

Figure 6.3: Autoregressive model for RNN language modeling

Autoregressive models generate the first input independently, or we give this to the network. For example, in the case of RNNs, we give the first word to the network and the network uses the first word we provided to assume what the second word would be. Then it uses the first and second word to predict the third word and so on.

Although most generation tasks are done on images, our autoregressive generation is on audio. We will build WaveNet, a research result from Google DeepMind, which is the current state-of-the-art implementation of audio generation and especially for text-to-speech processing. Through this, we'll be exploring what the PyTorch APIs for audio processing are. But before looking at WaveNet,...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image