- Hands-On Natural Language Processing with PyTorch 1.x
- Thomas Dop
- 182字
- 2022-08-25 16:45:14
Chapter 2: Getting Started with PyTorch 1.x for NLP
PyTorch is a Python-based machine learning library. It consists of two main features: its ability to efficiently perform tensor operations with hardware acceleration (using GPUs) and its ability to build deep neural networks. PyTorch also uses dynamic computational graphs instead of static ones, which sets it apart from similar libraries such as TensorFlow. By demonstrating how language can be represented using tensors and how neural networks can be used to learn from NLP, we will show that both these features are particularly useful for natural language processing.
In this chapter, we will show you how to get PyTorch up and running on your computer, as well as demonstrate some of its key functionalities. We will then compare PyTorch to some other deep learning frameworks, before exploring some of the NLP functionality of PyTorch, such as its ability to perform tensor operations, and finally demonstrate how to build a simple neural network. In summary, this chapter will cover the following topics:
- Installing PyTorch
- Comparing PyTorch to other deep learning frameworks
- NLP functionality of PyTorch
- 新型電腦主板關(guān)鍵電路維修圖冊
- Android NDK Game Development Cookbook
- 深入淺出SSD:固態(tài)存儲核心技術(shù)、原理與實戰(zhàn)
- Linux運維之道(第2版)
- 基于ARM的嵌入式系統(tǒng)和物聯(lián)網(wǎng)開發(fā)
- 數(shù)字邏輯(第3版)
- Hands-On Machine Learning with C#
- Rapid BeagleBoard Prototyping with MATLAB and Simulink
- Hands-On Artificial Intelligence for Banking
- Spring Cloud實戰(zhàn)
- FreeSWITCH Cookbook
- 計算機組裝、維護與維修項目教程
- 微服務架構(gòu)基礎(Spring Boot+Spring Cloud+Docker)
- 創(chuàng)客電子:Arduino和Raspberry Pi智能制作項目精選
- MicroPython Cookbook