- 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
- 基于ARM的嵌入式系統(tǒng)和物聯(lián)網(wǎng)開發(fā)
- Artificial Intelligence Business:How you can profit from AI
- 微軟互聯(lián)網(wǎng)信息服務(wù)(IIS)最佳實(shí)踐 (微軟技術(shù)開發(fā)者叢書)
- Machine Learning Solutions
- Arduino BLINK Blueprints
- 電腦高級(jí)維修及故障排除實(shí)戰(zhàn)
- 筆記本電腦維修實(shí)踐教程
- FreeSWITCH Cookbook
- IP網(wǎng)絡(luò)視頻傳輸:技術(shù)、標(biāo)準(zhǔn)和應(yīng)用
- 微服務(wù)實(shí)戰(zhàn)(Dubbox +Spring Boot+Docker)
- Raspberry Pi Home Automation with Arduino
- MicroPython Cookbook
- 計(jì)算機(jī)組裝與維護(hù)教程
- 數(shù)據(jù)恢復(fù)與硬盤修理
- Mastering JavaServer Faces 2.2