MCPcopy Create free account

hub / github.com/HIT-SCIR/plm-nlp-code / functions

Functions157 in github.com/HIT-SCIR/plm-nlp-code

Method__len__
(self)
chp5/glove.py:33
Method__len__
(self)
chp6/train_elmo.py:82
Method__len__
(self)
chp6/vocab.py:29
Functioncollate_fn
(examples)
chp8/textbrewer_example.py:21
Functioncollate_fn
(examples)
chp4/transformer_sent_polarity.py:24
Functioncollate_fn
(examples)
chp4/lstm_postag.py:27
Functioncollate_fn
(examples)
chp4/transformer_postag.py:24
Functioncollate_fn
(examples)
chp4/cnn_sent_polarity.py:20
Functioncollate_fn
(examples)
chp4/mlp_sent_polarity.py:19
Functioncollate_fn
(examples)
chp4/lstm_sent_polarity.py:23
Methodcollate_fn
(self, examples)
chp5/sgns.py:41
Methodcollate_fn
(self, examples)
chp5/rnnlm.py:32
Methodcollate_fn
(self, examples)
chp5/skipgram.py:35
Methodcollate_fn
(self, examples)
chp5/ffnnlm.py:35
Methodcollate_fn
(self, examples)
chp5/cbow.py:35
Methodcollate_fn
(self, examples)
chp5/glove.py:39
Methodcollate_fn
(self, examples)
chp6/train_elmo.py:88
Functioncompute_metrics
(eval_pred)
chp7/finetune_bert_spc.py:24
Functioncompute_metrics
(eval_pred)
chp7/finetune_bert_ssc.py:24
Functioncompute_metrics
(p)
chp7/finetune_bert_ner.py:46
Methodconvert_ids_to_tokens
(self, indices)
chp4/vocab.py:38
Methodconvert_ids_to_tokens
(self, indices)
chp6/vocab.py:38
Functionencode
(examples)
chp8/textbrewer_example.py:13
Methodforward
(self, x)
chp4/transformer_sent_polarity.py:44
Methodforward
(self, inputs, lengths)
chp4/transformer_sent_polarity.py:63
Methodforward
(self, inputs, lengths)
chp4/lstm_postag.py:48
Methodforward
(self, x)
chp4/transformer_postag.py:47
Methodforward
(self, inputs, lengths)
chp4/transformer_postag.py:65
Methodforward
(self, inputs)
chp4/mlp_train.py:12
Methodforward
(self, inputs)
chp4/cnn_sent_polarity.py:34
Methodforward
(self, inputs)
chp4/mlp_embedding.py:17
Methodforward
(self, inputs, offsets)
chp4/mlp_sent_polarity.py:34
Methodforward
(self, inputs)
chp4/mlp.py:17
Methodforward
(self, inputs, lengths)
chp4/lstm_sent_polarity.py:38
Methodforward
(self, inputs)
chp5/rnnlm.py:51
Methodforward
(self, inputs)
chp5/skipgram.py:47
Methodforward
(self, inputs)
chp5/ffnnlm.py:54
Methodforward
(self, inputs)
chp5/cbow.py:49
Methodforward
(self, inputs)
chp6/train_elmo.py:128
Methodforward
(self, inputs)
chp6/train_elmo.py:174
Methodforward
(self, inputs, lengths)
chp6/train_elmo.py:238
Methodforward
(self, inputs, lengths)
chp6/train_elmo.py:304
Functioninit_weights
(model)
chp6/utils.py:61
Functionload_pretrained
(load_path)
chp6/utils.py:37
Methodload_pretrained
(self, path)
chp6/train_elmo.py:317
Functionload_reuters
()
chp6/utils.py:14
Functionprepare_train_features
(examples)
chp7/finetune_bert_mrc.py:14
Functionread_vocab
(path)
chp4/vocab.py:47
Functionread_vocab
(path)
chp5/vocab.py:47
Functionread_vocab
(path)
chp6/vocab.py:47
Functionsave_pretrained
Save pretrained token vectors in a unified format, where the first line specifies the `number_of_tokens` and `embedding_dim` followed with al
chp6/utils.py:24
Functionsave_vocab
(vocab, path)
chp4/vocab.py:42
Functionsave_vocab
(vocab, path)
chp5/vocab.py:42
Functionsimple_adaptor
(batch, model_outputs)
chp8/textbrewer_example.py:46
Functiontokenize
(examples)
chp7/finetune_bert_spc.py:14
Functiontokenize
(examples)
chp7/finetune_bert_ssc.py:14
Functiontokenize_and_align_labels
(examples)
chp7/finetune_bert_ner.py:12
← previous101–157 of 157, ranked by callers