CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
pytorch

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: pytorch/tutorials
Path: blob/main/beginner_source/nlp/README.txt
Views: 494
1
Deep Learning for NLP with Pytorch
2
----------------------------------
3
4
These tutorials will walk you through the key ideas of deep learning
5
programming using Pytorch. Many of the concepts (such as the computation
6
graph abstraction and autograd) are not unique to Pytorch and are
7
relevant to any deep learning toolkit out there.
8
9
They are focused specifically on NLP for people who have never written
10
code in any deep learning framework (e.g, TensorFlow,Theano, Keras, DyNet).
11
The tutorials assumes working knowledge of core NLP problems: part-of-speech
12
tagging, language modeling, etc. It also assumes familiarity with neural
13
networks at the level of an intro AI class (such as one from the Russel and
14
Norvig book). Usually, these courses cover the basic backpropagation algorithm
15
on feed-forward neural networks, and make the point that they are chains of
16
compositions of linearities and non-linearities. This tutorial aims to get
17
you started writing deep learning code, given you have this prerequisite
18
knowledge.
19
20
Note these tutorials are about *models*, not data. For all of the models,
21
a few test examples are created with small dimensionality so you can see how
22
the weights change as it trains. If you have some real data you want to
23
try, you should be able to rip out any of the models from this notebook
24
and use them on it.
25
26
1. pytorch_tutorial.py
27
Introduction to PyTorch
28
https://pytorch.org/tutorials/beginner/nlp/pytorch_tutorial.html
29
30
2. deep_learning_tutorial.py
31
Deep Learning with PyTorch
32
https://pytorch.org/tutorials/beginner/nlp/deep_learning_tutorial.html
33
34
3. word_embeddings_tutorial.py
35
Word Embeddings: Encoding Lexical Semantics
36
https://pytorch.org/tutorials/beginner/nlp/word_embeddings_tutorial.html
37
38
4. sequence_models_tutorial.py
39
Sequence Models and Long Short-Term Memory Networks
40
https://pytorch.org/tutorials/beginner/nlp/sequence_models_tutorial.html
41
42
5. advanced_tutorial.py
43
Advanced: Making Dynamic Decisions and the Bi-LSTM CRF
44
https://pytorch.org/tutorials/beginner/nlp/advanced_tutorial.html
45
46