官术网_书友最值得收藏!

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
主站蜘蛛池模板: 靖安县| 本溪| 林芝县| 冷水江市| 扶绥县| 清镇市| 通河县| 碌曲县| 遂宁市| 祁东县| 都昌县| 吉林市| 阳泉市| 外汇| 宜章县| 朝阳区| 民权县| 枞阳县| 元谋县| 和龙市| 拜城县| 庆云县| 刚察县| 科尔| 定结县| 永修县| 五华县| 夹江县| 安塞县| 广丰县| 马关县| 宜兰市| 集安市| 辽中县| 铁岭县| 丽水市| 灵武市| 额济纳旗| 丹东市| 晋城| 且末县|