From ccb89f48fd9327bf60fe2b01bf85fde41b2eb4e5 Mon Sep 17 00:00:00 2001 From: graykode Date: Tue, 9 Apr 2019 23:41:02 +0900 Subject: [PATCH] add table --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index acb4eb7..84c8357 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,21 @@ - Paper - [BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding(2018)](https://arxiv.org/abs/1810.04805) - Colab - [BERT_Torch.ipynb](https://colab.research.google.com/github/graykode/nlp-tutorial/blob/master/5-2.BERT/BERT_Torch.ipynb) +| Model | Example | Framework | Lines(torch/tensor) | +| :------------------------: | :--------------------------------: | :-----------: | :-----------------: | +| NNLM | Predict Next Word | Torch, Tensor | 67/83 | +| Word2Vec(Softmax) | Embedding Words and Show Graph | Torch, Tensor | 77/94 | +| TextCNN | Sentence Classification | Torch, Tensor | 94/99 | +| TextRNN | Predict Next Step | Torch, Tensor | 70/88 | +| TextLSTM | Autocomplete | Torch, Tensor | 73/78 | +| Bi-LSTM | Predict Next Word in Long Sentence | Torch, Tensor | 73/78 | +| Seq2Seq | Change Word | Torch, Tensor | 93/111 | +| Seq2Seq with Attention | Translate | Torch, Tensor | 108/118 | +| Bi-LSTM with Attention | Binary Sentiment Classification | Torch, Tensor | 92/104 | +| Transformer | Translate | Torch | 222/0 | +| Greedy Decoder Transformer | Translate | Torch | 246/0 | +| BERT | how to train | Torch | 242/0 | +