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/UNIMO/src/model/tokenization.py:350
Method__init__
Constructs a BasicTokenizer. Args: do_lower_case: Whether to lower case the input.
NLP/UNIMO/src/model/tokenization.py:376
Method__init__
(self, vocab, unk_token="[UNK]", max_input_chars_per_word=100)
NLP/UNIMO/src/model/tokenization.py:491
Method__init__
(self, tokenizer, args)
NLP/UNIMO/src/reader/regression_reader.py:27
Method__init__
(self, filelist, max_seq_len, tokenizer)
NLP/UNIMO/src/reader/visual_entailment_reader.py:32
Method__init__
(self, tokenizer, args)
NLP/UNIMO/src/reader/img2txt_reader.py:30
Method__init__
(self, tokenizer, args)
NLP/UNIMO/src/reader/classification_reader.py:27
Method__init__
(self, tokenizer, args)
NLP/UNIMO/src/reader/seq2seq_reader.py:29
Method__init__
(self, tokenizer, args, image_feature_dir, image_caption)
NLP/UNIMO/src/reader/retrieval_reader.py:27
Method__init__
(self, tokenizer, args, image_feature_dir, image_caption)
NLP/UNIMO/src/reader/retrieval_reader.py:279
Method__init__
(self, args)
NLP/UNIMO/src/eval/gen_eval.py:30
Method__init__
(self, args, gene_config, tokenizer)
NLP/UNIMO/src/finetune/seq2seq.py:37
Method__init__
(self, args, vl_config, tokenizer)
NLP/UNIMO/src/finetune/img2txt.py:38
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/UNIMO/src/finetune/trigram_blocking.py:27
Method__init__
(self, max_p_num, max_p_len, max_q_len, tr
NLP/ACL2018-DuReader/src/dataset.py:34
Method__init__
(self, filename=None, initial_tokens=None, lower=False)
NLP/ACL2018-DuReader/src/vocab.py:29
Method__init__
(self, vocab_file, do_lower_case=True)
NLP/MRQA2019-BASELINE/src/tokenization.py:112
Method__init__
(self, vocab_file, do_lower_case=True)
NLP/MRQA2019-BASELINE/src/tokenization.py:136
Method__init__
Constructs a BasicTokenizer. Args: do_lower_case: Whether to lower case the input.
NLP/MRQA2019-BASELINE/src/tokenization.py:159
Method__init__
(self, vocab, unk_token="[UNK]", max_input_chars_per_word=100)
NLP/MRQA2019-BASELINE/src/tokenization.py:278
Method__init__
(self, parser, title, des)
NLP/MRQA2019-BASELINE/src/utils/args.py:31
Method__init__
(self, config_path)
NLP/MRQA2019-BASELINE/src/model/bert.py:28
Method__init__
(self, src_ids, position_ids, sentence_ids,
NLP/MRQA2019-BASELINE/src/model/bert.py:51
Method__init__
(self, qas_id, question_text, doc_tokens,
NLP/MRQA2019-BASELINE/src/reader/mrqa.py:33
Method__init__
(self, unique_id, example_index, doc_span_index,
NLP/MRQA2019-BASELINE/src/reader/mrqa.py:70
Method__init__
(self, vocab_path, do_lower_case, max_seq_length, in_tokens, doc_stride, max_query_length)
NLP/MRQA2019-BASELINE/src/reader/mrqa.py:588
Method__init__
(self, vocab_path, label_map_config=None, max_seq_len=512,
KG/AAAI2021_SSAN/dataset.py:49
Method__init__
(self, vocab_file, do_lower_case=True)
KG/AAAI2021_SSAN/utils/tokenization.py:116
Method__init__
(self, vocab_file, do_lower_case=True)
KG/AAAI2021_SSAN/utils/tokenization.py:140
Method__init__
Constructs a BasicTokenizer. Args: do_lower_case: Whether to lower case the input.
KG/AAAI2021_SSAN/utils/tokenization.py:163
Method__init__
(self, vocab, unk_token="[UNK]", max_input_chars_per_word=100)
KG/AAAI2021_SSAN/utils/tokenization.py:278
Method__init__
(self, parser, title, des)
KG/AAAI2021_SSAN/utils/args.py:53
Method__init__
(self, config_path)
KG/AAAI2021_SSAN/model/SSAN.py:34
Method__init__
(self, src_ids, input_mask, sentence_ids,
KG/AAAI2021_SSAN/model/SSAN.py:57
Method__init__
(self, name, mode, metrics_args)
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/metrics_util.py:58
Method__init__
(self, name, mode, metrics_args)
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/metrics_util.py:130
Method__init__
(self, metrics_name, avail_metrics)
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/metrics_util.py:216
Method__init__
(self)
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/metrics_util.py:230
Method__init__
Construct an AveragePrecisionCalculator to calculate average precision. This class is used to calculate the average precision for a single label.
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/youtube8m/average_precision_calculator.py:63
Method__init__
Construct an EvaluationMetrics object to store the evaluation metrics. Args: num_class: A positive integer specifying the number of classes
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/youtube8m/eval_util.py:146
Method__init__
Construct a calculator to calculate the (macro) average precision. Args: num_class: A positive Integer specifying the number of classes.
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/youtube8m/mean_average_precision_calculator.py:47
Method__init__
(self, name, mode)
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/kinetics/accuracy_metrics.py:28
Method__init__
(self, name, mode, cfg)
KG/DuKEVU_Baseline/paddle-video-classify-tag/reader/kinetics_reader.py:82
Method__init__
(self, name, mode, cfg)
KG/DuKEVU_Baseline/paddle-video-classify-tag/reader/feature_reader.py:39
Method__init__
(self, reader_name, avail_readers)
KG/DuKEVU_Baseline/paddle-video-classify-tag/reader/reader_utils.py:24
Method__init__
(self, model_name, mode, cfg)
KG/DuKEVU_Baseline/paddle-video-classify-tag/reader/reader_utils.py:40
Method__init__
(self, model, function)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/model.py:38
Method__init__
(self, model_name, avail_models)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/model.py:51
Method__init__
(self, name, cfg, mode='train')
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/model.py:65
Method__init__
(self, name, cfg, mode='train', is_videotag=False)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/tsn/tsn.py:27
Method__init__
(self, layers=50, seg_num=7, is_training=True,
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/tsn/tsn_res_model.py:23
Method__init__
(self, name, cfg, mode='train', is_videotag=False)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/attention_lstm/attention_lstm.py:26
Method__init__
(self, bias_attr, embedding_size=512, lstm_size=1024,
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/attention_lstm/lstm_attention.py:22
Method__init__
(self, vocab_file, do_lower_case=True)
KG/DuIE_Baseline/ernie/tokenization.py:116
Method__init__
(self, vocab_file, do_lower_case=True)
KG/DuIE_Baseline/ernie/tokenization.py:140
Method__init__
Constructs a BasicTokenizer. Args: do_lower_case: Whether to lower case the input.
KG/DuIE_Baseline/ernie/tokenization.py:163
Method__init__
(self, vocab, unk_token="[UNK]", max_input_chars_per_word=100)
KG/DuIE_Baseline/ernie/tokenization.py:278
Method__init__
(self)
KG/DuIE_Baseline/ernie/extract_chinese_and_punct.py:64
Method__init__
(self, parser, title, des)
KG/DuIE_Baseline/ernie/utils/args.py:52
Method__init__
(self, config_path)
KG/DuIE_Baseline/ernie/model/ernie.py:33
Method__init__
(self, src_ids, position_ids, sentence_ids,
KG/DuIE_Baseline/ernie/model/ernie.py:56
Method__init__
(self, vocab_path, label_map_config=None, max_seq_len=512,
KG/DuIE_Baseline/ernie/reader/task_reader.py:44
Method__init__
(self, vocab_path, label_map_config=None, spo_label_map_con
KG/DuIE_Baseline/ernie/reader/task_reader.py:105
Method__init__
(self, vocab_file, do_lower_case=True)
KG/DuEL_Baseline/ernie/tokenization.py:116
Method__init__
init
KG/DuEL_Baseline/ernie/tokenization.py:143
Method__init__
Constructs a BasicTokenizer. Args: do_lower_case: Whether to lower case the input.
KG/DuEL_Baseline/ernie/tokenization.py:170
Method__init__
(self, vocab, unk_token="[UNK]", max_input_chars_per_word=100)
KG/DuEL_Baseline/ernie/tokenization.py:285
Method__init__
init
KG/DuEL_Baseline/ernie/utils/args.py:58
Method__init__
(self, config_path)
KG/DuEL_Baseline/ernie/model/ernie.py:35
Method__init__
( self, src_ids, position_ids, sentence_ids, task_ids, input_m
KG/DuEL_Baseline/ernie/model/ernie.py:63
Method__init__
init
KG/DuEL_Baseline/ernie/reader/type_pairwise_ranker_reader.py:53
Method__init__
(self)
KG/DuEL_Baseline/data/data_process.py:30
Method__init__
(self)
KG/DuEL_Baseline/data/data_process.py:79
Method__init__
(self, golden_file_path, user_file_path)
KG/DuEL_Baseline/data/eval.py:27
Method__init__
(self, train_file, test_file)
KG/CoKE/bin/pathquery_data_preprocess.py:38
Method__init__
(self, triples)
KG/CoKE/bin/pathquery_data_preprocess.py:71
Method__init__
(self, parser, title, des)
KG/CoKE/bin/utils/args.py:38
Method__init__
(self, src_ids, position_ids, input_mask,
KG/CoKE/bin/model/coke.py:36
Method__init__
(self, vocab_path, data_path, max_seq_len=3,
KG/CoKE/bin/reader/coke_reader.py:239
Method__init__
(self, vocab_file, do_lower_case=True)
KG/DuEE_baseline/bin/tokenization.py:118
Method__init__
(self, vocab_file, do_lower_case=True)
KG/DuEE_baseline/bin/tokenization.py:145
Method__init__
Constructs a BasicTokenizer. Args: do_lower_case: Whether to lower case the input.
KG/DuEE_baseline/bin/tokenization.py:171
Method__init__
(self, vocab, unk_token="[UNK]", max_input_chars_per_word=100)
KG/DuEE_baseline/bin/tokenization.py:286
Method__init__
(self, parser, title, des)
KG/DuEE_baseline/bin/utils/args.py:60
Method__init__
(self, config_path)
KG/DuEE_baseline/bin/model/ernie.py:39
Method__init__
(self, src_ids, position_ids, sentence_ids,
KG/DuEE_baseline/bin/model/ernie.py:67
Method__init__
(self, vocab_path, label_map_config=None, max_seq_len=512,
KG/DuEE_baseline/bin/reader/task_reader.py:59
Method__init__
(self, vocab_path, label_map_config=None, labels_map=None,
KG/DuEE_baseline/bin/reader/task_reader.py:288
Method__init__
(self, vocab_path, label_map_config=None, labels_map=None,
KG/DuEE_baseline/bin/reader/task_reader.py:554
Method__init__
(self, data_dir, labels, model="trigger")
KG/DuEE_baseline/DuEE-PaddleHub/sequence_label.py:71
Method__init__
(self, raw_train, raw_test, train, test, vocab, ground_truth)
KG/ACL2021_GRAN/preprocessing.py:30
Method__init__
(self, raw_train, raw_dev, raw_test, train, dev, test, vocab, ground_truth, train_dev)
KG/ACL2021_GRAN/preprocessing.py:183
Method__init__
(self, arity, raw_train, raw_dev, raw_test, train, dev, test, vocab, ground_truth, train_dev)
KG/ACL2021_GRAN/preprocessing.py:357
Method__init__
(self, all_ground_truth, arity, raw_train, raw_dev, raw_test, train, dev, test, vocab, ground
KG/ACL2021_GRAN/preprocessing.py:496
Method__init__
(self, parser, title, des)
KG/ACL2021_GRAN/src/utils/args.py:38
Method__init__
(self, input_ids, input_mask, edge_labels,
KG/ACL2021_GRAN/src/model/gran_model.py:37
Method__init__
Construct NaryExample. Args: arity (mandatory): arity of a given fact relation (mandatory): primary relation
KG/ACL2021_GRAN/src/reader/data_reader.py:37
Method__init__
Construct NaryFeature. Args: feature_id: unique feature id example_id: corresponding example id
KG/ACL2021_GRAN/src/reader/data_reader.py:65
Method__init__
(self, data_path, max_arity=2, max_seq_length=3,
KG/ACL2021_GRAN/src/reader/data_reader.py:252
Method__init__
(self, vocab_file, num_relations, num_entities)
KG/ACL2021_GRAN/src/reader/vocab_reader.py:51
← previousnext →5,501–5,600 of 7,542, ranked by callers