Skip to Content
Deep Learning with PyTorch
book

Deep Learning with PyTorch

by Vishnu Subramanian
February 2018
Intermediate to advanced
262 pages
6h 59m
English
Packt Publishing
Content preview from Deep Learning with PyTorch

Downloading IMDB data and performing text tokenization

For applications related to computer vision, we used the torchvision library, which provides us with a lot of utility functions, helping to building computer vision applications. In the same way, there is a library called torchtext, part of PyTorch, which is built to work with PyTorch and eases a lot of activities related to natural language processing (NLP) by providing different data loaders and abstractions for text. At the time of writing, torchtext does not come with PyTorch installation and requires a separate installation. You can run the following code in the command line of your machine to get torchtext installed:

pip install torchtext

Once it is installed, we will be able to ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Deep Learning with PyTorch

Deep Learning with PyTorch

Eli Stevens, Thomas Viehmann, Luca Pietro Giovanni Antiga
Grokking Deep Learning

Grokking Deep Learning

Andrew W. Trask

Publisher Resources

ISBN: 9781788624336Supplemental Content