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

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
主站蜘蛛池模板: 成武县| 渝中区| 三原县| 威信县| 海兴县| 仙桃市| 武隆县| 临西县| 瓮安县| 老河口市| 万源市| 旬邑县| 遂平县| 濉溪县| 巴彦县| 天津市| 贵德县| 湘潭市| 门头沟区| 府谷县| 岳池县| 左权县| 工布江达县| 开封县| 武功县| 凉城县| 桑植县| 上饶县| 博野县| 陇西县| 神木县| 临猗县| 浙江省| 合水县| 马公市| 枣强县| 沾化县| 平原县| 高淳县| 信宜市| 苍溪县|