MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

Method__init__
(self, bert_config, concept_size, mem_emb_size, mem_method='cat', prefix=None)
NLP/ACL2019-KTNET/reading_comprehension/src/model/layers.py:61
Method__init__
(self, hidden_size, dropout_rate=0.0, cat_mul=False, cat_sub=False, cat_twotime=False, cat_twotime_mul=Fal
NLP/ACL2019-KTNET/reading_comprehension/src/model/layers.py:216
Method__init__
(self, config_path)
NLP/ACL2019-KTNET/reading_comprehension/src/model/bert.py:34
Method__init__
(self, src_ids, position_ids, sentence_ids,
NLP/ACL2019-KTNET/reading_comprehension/src/model/bert.py:57
Method__init__
(self, qas_id, question_text, doc_tokens,
NLP/ACL2019-KTNET/reading_comprehension/src/reader/record.py:42
Method__init__
(self, unique_id, example_index, doc_span_index,
NLP/ACL2019-KTNET/reading_comprehension/src/reader/record.py:79
Method__init__
(self, **concept_settings)
NLP/ACL2019-KTNET/reading_comprehension/src/reader/record.py:190
Method__init__
(self, vocab_path, do_lower_case, max_seq_length, in_tokens, doc_stride, max_query_length)
NLP/ACL2019-KTNET/reading_comprehension/src/reader/record.py:535
Method__init__
(self, qas_id, question_text, doc_tokens,
NLP/ACL2019-KTNET/reading_comprehension/src/reader/record_twomemory.py:42
Method__init__
(self, unique_id, example_index, doc_span_index,
NLP/ACL2019-KTNET/reading_comprehension/src/reader/record_twomemory.py:79
Method__init__
(self, **concept_settings)
NLP/ACL2019-KTNET/reading_comprehension/src/reader/record_twomemory.py:192
Method__init__
(self, vocab_path, do_lower_case, max_seq_length, in_tokens, doc_stride, max_query_length)
NLP/ACL2019-KTNET/reading_comprehension/src/reader/record_twomemory.py:547
Method__init__
(self, qas_id, question_text, doc_tokens,
NLP/ACL2019-KTNET/reading_comprehension/src/reader/squad_twomemory.py:42
Method__init__
(self, unique_id, example_index, doc_span_index,
NLP/ACL2019-KTNET/reading_comprehension/src/reader/squad_twomemory.py:79
Method__init__
(self, **concept_settings)
NLP/ACL2019-KTNET/reading_comprehension/src/reader/squad_twomemory.py:193
Method__init__
(self, vocab_path, do_lower_case, max_seq_length, in_tokens, doc_stride, max_query_length)
NLP/ACL2019-KTNET/reading_comprehension/src/reader/squad_twomemory.py:548
Method__init__
(self, qas_id, question_text, doc_tokens,
NLP/ACL2019-KTNET/reading_comprehension/src/reader/squad.py:42
Method__init__
(self, unique_id, example_index, doc_span_index,
NLP/ACL2019-KTNET/reading_comprehension/src/reader/squad.py:79
Method__init__
(self, **concept_settings)
NLP/ACL2019-KTNET/reading_comprehension/src/reader/squad.py:191
Method__init__
(self, vocab_path, do_lower_case, max_seq_length, in_tokens, doc_stride, max_query_length)
NLP/ACL2019-KTNET/reading_comprehension/src/reader/squad.py:536
Method__init__
(self, vocab_file, do_lower_case=True)
NLP/ACL2019-KTNET/retrieve_concepts/tokenization_record/tokenization.py:104
Method__init__
Constructs a BasicTokenizer. Args: do_lower_case: Whether to lower case the input.
NLP/ACL2019-KTNET/retrieve_concepts/tokenization_record/tokenization.py:124
Method__init__
(self, vocab, unk_token="[UNK]", max_input_chars_per_word=100)
NLP/ACL2019-KTNET/retrieve_concepts/tokenization_record/tokenization.py:237
Method__init__
(self, qas_id, question_text, doc_tokens,
NLP/ACL2019-KTNET/retrieve_concepts/tokenization_record/do_tokenization.py:38
Method__init__
(self, vocab_file, do_lower_case=True)
NLP/ACL2019-KTNET/retrieve_concepts/tokenization_squad/tokenization.py:104
Method__init__
Constructs a BasicTokenizer. Args: do_lower_case: Whether to lower case the input.
NLP/ACL2019-KTNET/retrieve_concepts/tokenization_squad/tokenization.py:124
Method__init__
(self, vocab, unk_token="[UNK]", max_input_chars_per_word=100)
NLP/ACL2019-KTNET/retrieve_concepts/tokenization_squad/tokenization.py:237
Method__init__
(self, qas_id, question_text, question_entities_strset,
NLP/ACL2019-KTNET/retrieve_concepts/tokenization_squad/do_tokenization.py:38
Method__init__
(self)
NLP/Dialogue-PLATO/tools/timer.py:19
Method__init__
(self, model, to_tensor, hparams, logger=None)
NLP/Dialogue-PLATO/plato/trainer.py:123
Method__init__
(self, layers, strategy)
NLP/Dialogue-PLATO/plato/modules/parallel.py:149
Method__init__
(self, name_scope, hidden_dim, num_heads, dropout, attn_dropout, ff_dropout)
NLP/Dialogue-PLATO/plato/modules/transformer_block.py:34
Method__init__
(self, name_scope, scale=True, shift=True,
NLP/Dialogue-PLATO/plato/modules/layer_norm.py:30
Method__init__
(self, name_scope, hidden_dim, num_token_embeddings,
NLP/Dialogue-PLATO/plato/modules/embedder.py:31
Method__init__
(self, name_scope, hidden_dim, inner_dim, dropout)
NLP/Dialogue-PLATO/plato/modules/feedforward.py:31
Method__init__
(self, name_scope, hidden_dim, num_heads, dropout)
NLP/Dialogue-PLATO/plato/modules/multihead_attention.py:31
Method__init__
(self)
NLP/Dialogue-PLATO/plato/metrics/metrics_tracker.py:25
Method__init__
(self, vocab_path, special_tokens=[], tokenizer_type="Bert")
NLP/Dialogue-PLATO/plato/data/tokenizer.py:47
Method__init__
Constructs a BertTokenizer. Args: vocab_file: Path to a one-wordpiece-per-line vocabulary file do_lower_case: Whether to
NLP/Dialogue-PLATO/plato/data/tokenizer.py:161
Method__init__
Constructs a BasicTokenizer. Args: do_lower_case: Whether to lower case the input.
NLP/Dialogue-PLATO/plato/data/tokenizer.py:225
Method__init__
(self, vocab, unk_token="[UNK]", max_input_chars_per_word=100)
NLP/Dialogue-PLATO/plato/data/tokenizer.py:342
Method__init__
(self, vocab_file, merges_file, errors='replace', special_tokens=None, max_len=None)
NLP/Dialogue-PLATO/plato/data/tokenizer.py:504
Method__init__
(self, data)
NLP/Dialogue-PLATO/plato/data/dataset.py:34
Method__init__
Initialize lazy dataset. By default, loading .jsonl format. :param data_file :type str :param transform
NLP/Dialogue-PLATO/plato/data/dataset.py:51
Method__init__
(self)
NLP/Dialogue-PLATO/plato/data/sampler.py:23
Method__init__
(self, dataset)
NLP/Dialogue-PLATO/plato/data/sampler.py:35
Method__init__
(self, dataset)
NLP/Dialogue-PLATO/plato/data/sampler.py:48
Method__init__
(self, sampler, sort_pool_size, key="src")
NLP/Dialogue-PLATO/plato/data/sampler.py:68
Method__init__
(self, dataset, hparams, collate_fn=None, sampler=None, is_test=False, is_train=False)
NLP/Dialogue-PLATO/plato/data/data_loader.py:39
Method__init__
(self, hparams)
NLP/Dialogue-PLATO/plato/data/field.py:86
Method__init__
(self, name_scope, hparams)
NLP/Dialogue-PLATO/plato/models/model_base.py:54
Method__init__
(self, name_scope, hparams, generator, dtype="float32")
NLP/Dialogue-PLATO/plato/models/unified_transformer.py:98
Method__init__
(self, hparams, bpe)
NLP/Dialogue-PLATO/plato/models/generator.py:98
Method__init__
(self, hparams, bpe)
NLP/Dialogue-PLATO/plato/models/generator.py:241
Method__init__
(self, hparams, bpe)
NLP/Dialogue-PLATO/plato/models/generator.py:273
Method__init__
(self, hparams, bpe)
NLP/Dialogue-PLATO/plato/models/generator.py:308
Method__init__
(self, data_dir, vocab_path, max_seq_len,
NLP/NAACL2019-MPM/reader.py:33
Method__init__
Constructs a InputExample. Args: guid: Unique id for the example. text_a: string. The untokenized text of the first sequence. For sin
NLP/NAACL2019-MPM/reader.py:312
Method__init__
(self, input_ids, input_mask, segment_ids, label_id)
NLP/NAACL2019-MPM/reader.py:350
Method__init__
(self, model, valid_metric_name="-loss", num_epochs=1,
NLP/IJCAI2019-MMPMS/mmpms/engine.py:68
Method__init__
(self, hidden_dim, num_layers=1, attn_mode="none",
NLP/IJCAI2019-MMPMS/mmpms/modules/decoder.py:65
Method__init__
(self, mode="mlp", memory_dim=None, hidden_dim=None, name=None)
NLP/IJCAI2019-MMPMS/mmpms/modules/attention.py:23
Method__init__
(self, hidden_dim, num_layers=1, bidirectional=True,
NLP/IJCAI2019-MMPMS/mmpms/modules/encoder.py:23
Method__init__
(self, num_embeddings, embedding_dim, is_sparse=False,
NLP/IJCAI2019-MMPMS/mmpms/modules/embedder.py:28
Method__init__
(self, vocab_size, beam_size, start_id, en
NLP/IJCAI2019-MMPMS/mmpms/modules/generator.py:50
Method__init__
(self)
NLP/IJCAI2019-MMPMS/mmpms/utils/metrics.py:25
Method__init__
(self)
NLP/IJCAI2019-MMPMS/mmpms/layers/layers_wrapper.py:45
Method__init__
(self, layers)
NLP/IJCAI2019-MMPMS/mmpms/layers/layers_wrapper.py:83
Method__init__
(self, *layers)
NLP/IJCAI2019-MMPMS/mmpms/layers/layers_wrapper.py:137
Method__init__
(self, size, is_sparse=False, is_distributed=False,
NLP/IJCAI2019-MMPMS/mmpms/layers/layers_wrapper.py:152
Method__init__
(self, hidden_dim, param_attr=None, bias_attr=None,
NLP/IJCAI2019-MMPMS/mmpms/layers/layers_wrapper.py:211
Method__init__
(self, hidden_dim, num_layers=1, bidirectional=False,
NLP/IJCAI2019-MMPMS/mmpms/layers/layers_wrapper.py:254
Method__init__
(self, hidden_dim, param_attr=None, bias_attr=None,
NLP/IJCAI2019-MMPMS/mmpms/layers/layers_wrapper.py:313
Method__init__
(self, hidden_dim, num_layers=1, dropout=0.0, name=None)
NLP/IJCAI2019-MMPMS/mmpms/layers/layers_wrapper.py:354
Method__init__
(self, dropout_prob, is_test=False, seed=None, name=None)
NLP/IJCAI2019-MMPMS/mmpms/layers/layers_wrapper.py:388
Method__init__
(self, data, batch_size, shuffle=False, bu
NLP/IJCAI2019-MMPMS/mmpms/inputters/dataloader.py:43
Method__init__
(self, tokenize_fn=tokenize, min_count=0, max_vocab_size=No
NLP/IJCAI2019-MMPMS/mmpms/inputters/dataset.py:37
Method__init__
(self, min_count=0, max_size=None, specials=[], embed_file=None)
NLP/IJCAI2019-MMPMS/mmpms/inputters/vocabulary.py:32
Method__init__
(self, use_gpu=False)
NLP/IJCAI2019-MMPMS/mmpms/models/model_base.py:23
Method__init__
(self, vocab, generator, hparams, optim_hparams, use_gpu=False)
NLP/IJCAI2019-MMPMS/mmpms/models/mmpms.py:35
Method__init__
(self)
NLP/DuReader-Checklist-BASELINE/src/run.py:47
Method__init__
(self, ernie)
NLP/DuReader-Checklist-BASELINE/src/models.py:6
Method__init__
(self, roberta)
NLP/DuReader-Checklist-BASELINE/src/models.py:58
Method__init__
(self, dataset_path)
NLP/DuReader-Robust-BASELINE/paddlehub_baseline/demo_dataset.py:30
Method__init__
(self, vocab_file, do_lower_case=True)
NLP/DuReader-Robust-BASELINE/src/tokenization.py:113
Method__init__
(self, vocab_file, do_lower_case=True)
NLP/DuReader-Robust-BASELINE/src/tokenization.py:137
Method__init__
Constructs a BasicTokenizer. Args: do_lower_case: Whether to lower case the input.
NLP/DuReader-Robust-BASELINE/src/tokenization.py:160
Method__init__
(self, vocab, unk_token="[UNK]", max_input_chars_per_word=100)
NLP/DuReader-Robust-BASELINE/src/tokenization.py:275
Method__init__
(self, parser, title, des)
NLP/DuReader-Robust-BASELINE/src/utils/args.py:33
Method__init__
(self, config_path)
NLP/DuReader-Robust-BASELINE/src/model/ernie.py:28
Method__init__
(self, src_ids, position_ids, sentence_ids,
NLP/DuReader-Robust-BASELINE/src/model/ernie.py:51
Method__init__
(self, qas_id, question_text, doc_tokens,
NLP/DuReader-Robust-BASELINE/src/reader/squad.py:33
Method__init__
(self, unique_id, example_index, doc_span_index,
NLP/DuReader-Robust-BASELINE/src/reader/squad.py:70
Method__init__
(self, vocab_path, do_lower_case, max_seq_length, in_tokens, doc_stride, max_query_length)
NLP/DuReader-Robust-BASELINE/src/reader/squad.py:438
Method__init__
(self, parser, title, des)
NLP/UNIMO/src/utils/args.py:33
Method__init__
(self, config_path)
NLP/UNIMO/src/model/unimo_finetune.py:31
Method__init__
(self, emb_ids=None, emb_obj_ids=None, input_mask=None,
NLP/UNIMO/src/model/unimo_finetune.py:60
Method__init__
(self, encoder, bpe_merges, errors='replace')
NLP/UNIMO/src/model/tokenization.py:159
Method__init__
(self, vocab_file=None, encoder_json_file=None, vocab_bpe_file=None, do_lower_case=True)
NLP/UNIMO/src/model/tokenization.py:246
Method__init__
(self, vocab_file, do_lower_case=True)
NLP/UNIMO/src/model/tokenization.py:308
← previousnext →5,401–5,500 of 7,542, ranked by callers