Shortcuts

从零开始的 NLP

在这一系列教程中,您将构建和训练一个基本的字符级循环神经网络(RNN)来分类单词。

您将学习:

  • 如何从零构建循环神经网络

  • NLP 的基本数据处理技术

  • 如何训练 RNN 来识别单词的语言来源。

在开始之前,我们建议您先学习以下内容:

NLP From Scratch - Part 1: Classifying Names with a Character-Level RNN

学习如何使用 RNN 将名称分类到其语言来源。

https://pytorch.org/tutorials/intermediate/char_rnn_classification_tutorial.html
NLP From Scratch - Part 2: Generating Names with a Character-Level RNN

扩展我们在第1部分中创建的 RNN 从语言中生成名称。

https://pytorch.org/tutorials/intermediate/char_rnn_generation_tutorial.html
NLP From Scratch - Part 3: Translation with a Sequence to Sequence Network and Attention

创建一个序列到序列模型,可以将您的文本从法语翻译成英语。

https://pytorch.org/tutorials/intermediate/seq2seq_translation_tutorial.html

文档

访问 PyTorch 的详细开发者文档

查看文档

教程

获取针对初学者和高级开发人员的深入教程

查看教程

资源

查找开发资源并获得问题的解答

查看资源