MCPcopy Create free account

hub / github.com/AnubhavGupta3377/Text-Classification-Models-Pytorch / functions

Functions145 in github.com/AnubhavGupta3377/Text-Classification-Models-Pytorch

Method__init__
(self, size, dropout)
Model_Transformer/sublayer.py:23
Method__init__
Take in model size and number of heads.
Model_Transformer/attention.py:21
Method__init__
(self, size, self_attn, feed_forward, dropout)
Model_Transformer/encoder.py:30
Method__init__
(self, d_model, d_ff, dropout=0.1)
Model_Transformer/feed_forward.py:8
Method__init__
(self, d_model, dropout, max_len=5000)
Model_Transformer/train_utils.py:27
Method__init__
(self, config, src_vocab)
Model_Transformer/model.py:14
Method__init__
(self, config)
Model_Seq2Seq_Attention/utils.py:12
Method__init__
(self, config, vocab_size, word_embeddings)
Model_Seq2Seq_Attention/model.py:10
Method__init__
(self, config)
Model_TextRNN/utils.py:12
Method__init__
(self, config, vocab_size, word_embeddings)
Model_TextRNN/model.py:9
Method__init__
(self, config)
Model_TextCNN/utils.py:12
Method__init__
(self, config, vocab_size, word_embeddings)
Model_TextCNN/model.py:9
Method__init__
(self)
Model_TextCNN/old_code/utils.py:10
Method__init__
(self, config)
Model_TextCNN/old_code/model.py:11
Method__init__
(self, config)
Model_fastText/utils.py:12
Method__init__
(self, config, vocab_size, word_embeddings)
Model_fastText/model.py:9
Method__init__
(self)
Model_fastText/old_code/utils.py:10
Method__init__
(self, config)
Model_fastText/old_code/model.py:11
Method__init__
(self, config)
Model_RCNN/utils.py:12
Method__init__
(self, config, vocab_size, word_embeddings)
Model_RCNN/model.py:10
Method__len__
(self)
Model_CharCNN/without_torchtext/utils.py:23
Method__len__
(self)
Model_TextCNN/old_code/utils.py:51
Method__len__
(self)
Model_fastText/old_code/utils.py:51
Methoddecode
Given a word index, get corresponding word from vocabulary.
Model_TextCNN/old_code/utils.py:45
Methoddecode
Given a word index, get corresponding word from vocabulary.
Model_fastText/old_code/utils.py:45
Methodencode
Given a word, get corresponding index in vocabulary.
Model_TextCNN/old_code/utils.py:37
Methodencode
Given a word, get corresponding index in vocabulary.
Model_fastText/old_code/utils.py:37
Methodforward
(self, x)
Model_CharCNN/model.py:69
Methodforward
(self, embedded_sent)
Model_CharCNN/without_torchtext/model.py:73
Methodforward
(self, x)
Model_Transformer/sublayer.py:14
Methodforward
Apply residual connection to any sublayer with the same size.
Model_Transformer/sublayer.py:28
Methodforward
Implements Multi-head attention
Model_Transformer/attention.py:32
Methodforward
(self, x, mask=None)
Model_Transformer/encoder.py:18
Methodforward
Transformer Encoder
Model_Transformer/encoder.py:37
Methodforward
Implements FFN equation.
Model_Transformer/feed_forward.py:14
Methodforward
(self, x)
Model_Transformer/train_utils.py:22
Methodforward
(self, x)
Model_Transformer/train_utils.py:41
Methodforward
(self, x)
Model_Transformer/model.py:37
Methodforward
(self, x)
Model_Seq2Seq_Attention/model.py:53
Methodforward
(self, x)
Model_TextRNN/model.py:34
Methodforward
(self, x)
Model_TextCNN/model.py:43
Methodforward
(self, x)
Model_TextCNN/old_code/model.py:45
Methodforward
(self, x)
Model_fastText/model.py:26
Methodforward
(self, x)
Model_fastText/old_code/model.py:24
Methodforward
(self, x)
Model_RCNN/model.py:45
← previous101–145 of 145, ranked by callers