MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

Method__init__
(self, vocab_file, do_lower_case=True)
NLP/ACL2021-PAIR/model/src/tokenization.py:116
Method__init__
(self, vocab_file, do_lower_case=True)
NLP/ACL2021-PAIR/model/src/tokenization.py:140
Method__init__
Constructs a BasicTokenizer. Args: do_lower_case: Whether to lower case the input.
NLP/ACL2021-PAIR/model/src/tokenization.py:163
Method__init__
(self, vocab, unk_token="[UNK]", max_input_chars_per_word=100)
NLP/ACL2021-PAIR/model/src/tokenization.py:278
Method__init__
(self, parser, title, des)
NLP/ACL2021-PAIR/model/src/utils/args.py:53
Method__init__
(self, config_path)
NLP/ACL2021-PAIR/model/src/model/ernie.py:33
Method__init__
(self, src_ids, position_ids, sentence_ids,
NLP/ACL2021-PAIR/model/src/model/ernie.py:56
Method__init__
(self, vocab_path, label_map_config=None, q_max_seq_len=128
NLP/ACL2021-PAIR/model/src/reader/reader_de_infer.py:50
Method__init__
(self, vocab_path, label_map_config=None, q_max_seq_len=128
NLP/ACL2021-PAIR/model/src/reader/reader_de.py:55
Method__init__
(self, data, annotators, opts=None)
NLP/ACL2021-PAIR/metric/tokenizers.py:30
Method__init__
Args: annotators: None or empty set (only tokenizes).
NLP/ACL2021-PAIR/metric/tokenizers.py:157
Method__init__
init
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:684
Method__init__
init
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:799
Method__init__
(self)
NLP/Text2SQL-BASELINE/text2sql/utils/ast_util.py:37
Method__init__
init of class Args: msg (TYPE): Default is ""
NLP/Text2SQL-BASELINE/text2sql/utils/utils.py:36
Method__init__
init
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:678
Method__init__
init
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:878
Method__init__
init of class Args: eval_value (TYPE): Default is False
NLP/Text2SQL-BASELINE/text2sql/utils/metrics.py:38
Method__init__
init of class Args: qq_max_dist (TYPE): Default is 2 cc_foreign_key (TYPE): Default is True cc_table_matc
NLP/Text2SQL-BASELINE/text2sql/utils/linking_utils.py:57
Method__init__
init of class Args: name (str): train/dev/test schema_file (TYPE): NULL content_file (TYPE): NULL
NLP/Text2SQL-BASELINE/text2sql/dataproc/dusql_dataset_v2.py:307
Method__init__
doc
NLP/Text2SQL-BASELINE/text2sql/dataproc/sql_label.py:63
Method__init__
init Args: base_path (TYPE): if is_cached is False, base_path is the asdl grammar file. if is_cache
NLP/Text2SQL-BASELINE/text2sql/dataproc/sql_preproc_v2.py:78
Method__init__
init of class Args: config (TYPE): NULL dataset (TYPE): NULL batch_size (TYPE): Default is 1
NLP/Text2SQL-BASELINE/text2sql/dataproc/dataloader.py:111
Method__init__
init of class
NLP/Text2SQL-BASELINE/text2sql/dataproc/base_classes.py:33
Method__init__
:param vocab_path:
NLP/Text2SQL-BASELINE/text2sql/dataproc/ernie_input_encoder_v2.py:50
Method__init__
__init__
NLP/Text2SQL-BASELINE/text2sql/dataproc/vocab.py:32
Method__init__
__init__
NLP/Text2SQL-BASELINE/text2sql/dataproc/vocab.py:96
Method__init__
(self, query_size, key_size)
NLP/Text2SQL-BASELINE/text2sql/models/attention.py:79
Method__init__
(self, query_size, value_size)
NLP/Text2SQL-BASELINE/text2sql/models/attention.py:98
Method__init__
(self, query_size, key_size, proj_size)
NLP/Text2SQL-BASELINE/text2sql/models/attention.py:103
Method__init__
(self, query_size, value_size, proj_size)
NLP/Text2SQL-BASELINE/text2sql/models/attention.py:128
Method__init__
(self, h, query_size, value_size, dropout=0.1)
NLP/Text2SQL-BASELINE/text2sql/models/attention.py:134
Method__init__
(self, cfg, name=None)
NLP/Text2SQL-BASELINE/text2sql/models/relational_transformer.py:166
Method__init__
(self, cfg, name=None)
NLP/Text2SQL-BASELINE/text2sql/models/relational_transformer.py:312
Method__init__
(self, cfg, name=None)
NLP/Text2SQL-BASELINE/text2sql/models/relational_transformer.py:339
Method__init__
(self, cfg, name=None)
NLP/Text2SQL-BASELINE/text2sql/models/relational_transformer.py:374
Method__init__
init of class Args: model_config (TYPE): model config extra (TYPE): Default is None
NLP/Text2SQL-BASELINE/text2sql/models/encoder_v2.py:71
Method__init__
init of class Args: num_layers (TYPE): NULL num_heads (TYPE): NULL num_relations (TYPE): NULL
NLP/Text2SQL-BASELINE/text2sql/models/relational_encoder.py:38
Method__init__
init of class Args: model_configs (TYPE): NULL
NLP/Text2SQL-BASELINE/text2sql/models/enc_dec.py:44
Method__init__
init
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/decoder.py:72
Method__init__
__init__
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/train_tree_traversal.py:73
Method__init__
__init__
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/tree_traversal.py:78
Method__init__
__init__
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/infer_tree_traversal.py:77
Method__init__
( self, asdl_file, output_from=True, #< changed use_
NLP/Text2SQL-BASELINE/text2sql/grammars/dusql_v2.py:65
Method__init__
( self, asdl_file, output_from=True, #< changed use_
NLP/Text2SQL-BASELINE/text2sql/grammars/nl2sql.py:65
Method__init__
( self, asdl_file, output_from=True, use_table_pointer=True,
NLP/Text2SQL-BASELINE/text2sql/grammars/cspider_v2.py:65
Method__init__
(self, vocab, end, unk, delimiter, lexicon)
NLP/ACL2019-JEMT/reader.py:30
Method__init__
(self, vocab, beg, end, unk, delimiter)
NLP/ACL2019-JEMT/reader.py:52
Method__init__
(self, converters)
NLP/ACL2019-JEMT/reader.py:67
Method__init__
(self, batch_size)
NLP/ACL2019-JEMT/reader.py:78
Method__init__
(self, batch_size)
NLP/ACL2019-JEMT/reader.py:91
Method__init__
(self, i, max_len, min_len)
NLP/ACL2019-JEMT/reader.py:110
Method__init__
(self, max_len, min_len, underlying_creator)
NLP/ACL2019-JEMT/reader.py:117
Method__init__
(self, src_vocab_fpath, trg_vocab_fpath, fpattern,
NLP/ACL2019-JEMT/reader.py:206
Method__init__
(self, block_idx=None, main_program=None)
NLP/ACL2019-JEMT/model.py:38
Method__init__
Create a Rouge155 object. rouge_dir: Directory containing Rouge-1.5.5.pl rouge_args: Arguments to pass through to R
NLP/EMNLP2021-SgSum/src/tools/my_pyrouge.py:98
Method__init__
(self, config_path)
NLP/EMNLP2021-SgSum/src/roberta/roberta.py:27
Method__init__
(self, src_ids, position_ids, # sentence_ids,
NLP/EMNLP2021-SgSum/src/roberta/roberta.py:51
Method__init__
(self, encoder, bpe_merges, errors='replace')
NLP/EMNLP2021-SgSum/src/roberta/roberta_tokenization.py:155
Method__init__
(self, vocab_file=None, encoder_json_file=None, vocab_bpe_file=None, do_lower_case=True)
NLP/EMNLP2021-SgSum/src/roberta/roberta_tokenization.py:233
Method__init__
(self, vocab_file, do_lower_case=True)
NLP/EMNLP2021-SgSum/src/roberta/roberta_tokenization.py:283
Method__init__
(self, vocab_file, do_lower_case=True)
NLP/EMNLP2021-SgSum/src/roberta/roberta_tokenization.py:310
Method__init__
Constructs a BasicTokenizer. Args: do_lower_case: Whether to lower case the input.
NLP/EMNLP2021-SgSum/src/roberta/roberta_tokenization.py:336
Method__init__
(self, vocab, unk_token="[UNK]", max_input_chars_per_word=100)
NLP/EMNLP2021-SgSum/src/roberta/roberta_tokenization.py:451
Method__init__
(self)
NLP/EMNLP2021-SgSum/src/utils/stream.py:29
Method__init__
(self, parser, title, des)
NLP/EMNLP2021-SgSum/src/utils/args.py:33
Method__init__
(self, config_path)
NLP/EMNLP2021-SgSum/src/networks/roberta_multigraphextsum/graphsum_model.py:39
Method__init__
(self, args, config, roberta_config, padding_idx, bos_idx, eos_idx, vocab_size)
NLP/EMNLP2021-SgSum/src/networks/roberta_multigraphextsum/graphsum_model.py:68
Method__init__
(self, max_para_num=30, max_para_len=60, max_tgt_len=150, max_doc_num=10, graph_type="similar
NLP/EMNLP2021-SgSum/src/networks/roberta_multigraphextsum/graphsum_reader.py:28
Method__init__
(self, encoder, bpe_merges, errors='replace')
NLP/EMNLP2021-SgSum/src/eval/tokenization.py:132
Method__init__
(self, vocab_file=None, encoder_json_file=None, vocab_bpe_file=None, do_lower_case=True)
NLP/EMNLP2021-SgSum/src/eval/tokenization.py:208
Method__init__
(self, vocab_file, do_lower_case=True)
NLP/EMNLP2021-SgSum/src/eval/tokenization.py:253
Method__init__
(self, vocab_file, do_lower_case=True)
NLP/EMNLP2021-SgSum/src/eval/tokenization.py:285
Method__init__
Constructs a BasicTokenizer. Args: do_lower_case: Whether to lower case the input.
NLP/EMNLP2021-SgSum/src/eval/tokenization.py:304
Method__init__
(self, vocab, unk_token="[UNK]", max_input_chars_per_word=100)
NLP/EMNLP2021-SgSum/src/eval/tokenization.py:404
Method__init__
(self, args)
NLP/EMNLP2021-SgSum/src/eval/gen_eval.py:30
Method__init__
Create a Rouge155 object. rouge_dir: Directory containing Rouge-1.5.5.pl rouge_args: Arguments to pass through to R
NLP/EMNLP2021-SgSum/src/eval/tasks/cnndm/cnndm/bs_pyrouge.py:108
Method__init__
(self, block_idx=None, main_program=None)
NLP/EMNLP2021-SgSum/src/models/attention.py:39
Method__init__
use tokenizer to generate the real-tokens from sub-token ids. but we can't pass the tokenizer to network, so we need make a trick
NLP/EMNLP2021-SgSum/src/models/trigram_blocking.py:29
Method__init__
(self, args)
NLP/EMNLP2021-SgSum/src/data_preprocess/data_builder_graphextsum.py:548
Method__init__
(self, config_path)
NLP/EMNLP2021-SgSum/src/data_preprocess/roberta/roberta.py:27
Method__init__
(self, src_ids, position_ids, # sentence_ids,
NLP/EMNLP2021-SgSum/src/data_preprocess/roberta/roberta.py:51
Method__init__
(self, encoder, bpe_merges, errors='replace')
NLP/EMNLP2021-SgSum/src/data_preprocess/roberta/roberta_tokenization.py:155
Method__init__
(self, vocab_file=None, encoder_json_file=None, vocab_bpe_file=None, do_lower_case=True)
NLP/EMNLP2021-SgSum/src/data_preprocess/roberta/roberta_tokenization.py:233
Method__init__
(self, vocab_file, do_lower_case=True)
NLP/EMNLP2021-SgSum/src/data_preprocess/roberta/roberta_tokenization.py:283
Method__init__
(self, vocab_file, do_lower_case=True)
NLP/EMNLP2021-SgSum/src/data_preprocess/roberta/roberta_tokenization.py:310
Method__init__
Constructs a BasicTokenizer. Args: do_lower_case: Whether to lower case the input.
NLP/EMNLP2021-SgSum/src/data_preprocess/roberta/roberta_tokenization.py:336
Method__init__
(self, vocab, unk_token="[UNK]", max_input_chars_per_word=100)
NLP/EMNLP2021-SgSum/src/data_preprocess/roberta/roberta_tokenization.py:451
Method__init__
Init
NLP/ACL2018-DAM/net.py:29
Method__init__
(self, data_dir, task_name, vocab_path, max_seq_len, do_lower_case)
NLP/ACL2019-DuConv/retrieval_paddle/source/inputters/data_provider.py:183
Method__init__
(self, guid, context_text, response_text, kn_text, label_text)
NLP/ACL2019-DuConv/retrieval_paddle/source/inputters/data_provider.py:318
Method__init__
(self, context_ids, context_pos_ids, segment_ids, kn_ids, label_ids)
NLP/ACL2019-DuConv/retrieval_paddle/source/inputters/data_provider.py:328
Method__init__
(self, context_ids, context_pos_ids, context_segment_ids,
NLP/ACL2019-DuConv/retrieval_paddle/source/models/retrieval_model.py:31
Method__init__
(self, data_dir, data_prefix, vocab_path,
NLP/ACL2019-DuConv/generative_paddle/source/inputters/corpus.py:20
Method__init__
(self, input_size, hidden_size, num_layers=1, dropout=0.0, name="gru_unit")
NLP/ACL2019-DuConv/generative_paddle/source/models/knowledge_seq2seq.py:44
Method__init__
(self, vocab_file, do_lower_case=True)
NLP/ACL2019-KTNET/reading_comprehension/src/tokenization.py:112
Method__init__
(self, vocab_file, do_lower_case=True)
NLP/ACL2019-KTNET/reading_comprehension/src/tokenization.py:136
Method__init__
Constructs a BasicTokenizer. Args: do_lower_case: Whether to lower case the input.
NLP/ACL2019-KTNET/reading_comprehension/src/tokenization.py:159
Method__init__
(self, vocab, unk_token="[UNK]", max_input_chars_per_word=100)
NLP/ACL2019-KTNET/reading_comprehension/src/tokenization.py:274
Method__init__
(self, parser, title, des)
NLP/ACL2019-KTNET/reading_comprehension/src/utils/args.py:37
← previousnext →5,301–5,400 of 7,542, ranked by callers