MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

↓ 1 callersFunctiontokenize
Args: Returns:
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:89
↓ 1 callersMethodtokenize
tokenize
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/tokenization.py:164
↓ 1 callersMethodtokenize
Tokenizes a piece of text.
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/tokenization.py:202
↓ 1 callersMethodtokenize
Tokenizes a piece of text into its word pieces. This uses a greedy longest-match-first algorithm to perform tokenization using the gi
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/tokenization.py:317
↓ 1 callersMethodtokenize
tokenize text to a list of tokens
NLP/UNIMO-2/src/model/roberta_tokenization.py:274
↓ 1 callersMethodtokenize
map tokens to ids
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/source/inputters/corpus.py:67
↓ 1 callersMethodtokenize
Tokenizes a piece of text.
NLP/MRQA2019-D-NET/server/bert_server/task_reader/tokenization.py:168
↓ 1 callersMethodtokenize
Tokenizes a piece of text.
NLP/MRQA2019-D-NET/server/ernie_server/task_reader/tokenization.py:168
↓ 1 callersMethodtokenize
tokenize text to a list of tokens
NLP/EMNLP2021-SgSum/src/roberta/roberta_tokenization.py:263
↓ 1 callersMethodtokenize
tokenize the text
NLP/EMNLP2021-SgSum/src/roberta/roberta_tokenization.py:289
↓ 1 callersMethodtokenize
tokenize text to a list of tokens
NLP/EMNLP2021-SgSum/src/eval/tokenization.py:233
↓ 1 callersMethodtokenize
tokenize text to a list of tokens
NLP/EMNLP2021-SgSum/src/data_preprocess/roberta/roberta_tokenization.py:263
↓ 1 callersMethodtokenize
map tokens to ids
NLP/ACL2019-DuConv/generative_paddle/source/inputters/corpus.py:67
↓ 1 callersMethodtokenize
Tokenize a string.
NLP/Dialogue-PLATO/plato/data/tokenizer.py:580
↓ 1 callersMethodtokenize
Tokenizes a piece of text.
NLP/DuReader-Robust-BASELINE/src/tokenization.py:168
↓ 1 callersMethodtokenize
Tokenizes a piece of text.
NLP/MRQA2019-BASELINE/src/tokenization.py:168
↓ 1 callersFunctiontokenize_NL2SQL
Args: Returns:
NLP/Text2SQL-BASELINE/tools/evaluation/utils.py:63
↓ 1 callersMethodtokens2indices
(self, tokens)
NLP/IJCAI2019-MMPMS/mmpms/inputters/dataset.py:96
↓ 1 callersFunctiontop_k_triplets
Get the top_k for a 1-d numpy array. Returns a sparse list of tuples in (prediction, class) format
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/youtube8m/eval_util.py:134
↓ 1 callersFunctiontopic_generalization_for_text
topic generalization for text
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/tools/convert_conversation_corpus_to_model_text.py:57
↓ 1 callersFunctiontopic_materialization
topic_materialization
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/tools/topic_materialization.py:21
↓ 1 callersFunctiontopic_materialization
topic_materialization
NLP/ACL2019-DuConv/generative_paddle/tools/topic_materialization.py:21
↓ 1 callersFunctiontrain
(iter_tgt, model_source, model_tgt, reg_lambda, aux_lambda,
CV/SMILE/finetune.py:157
↓ 1 callersFunctiontrain
()
CV/PaddleFSL/train.py:13
↓ 1 callersFunctiontrain
(cfg)
CV/SemSegPaddle/train.py:141
↓ 1 callersFunctiontrain
(model, train_batch_reader, adam, epoch, batch_num, args)
CV/PWCNet/train.py:124
↓ 1 callersFunctiontrain
(cfg)
CV/SemSegPaddleDG/train.py:194
↓ 1 callersFunctiontrain
(reference_city, Encoder, Decoder, Discriminator, Classifier, epoch_num, lr)
ST_DM/AAAI2021-CWatcher/code/train.py:9
↓ 1 callersFunctiontrain
model training
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/network.py:461
↓ 1 callersFunctiontrain
train
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_binary_lstm.py:164
↓ 1 callersFunctiontrain
train
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_astar_goal.py:244
↓ 1 callersFunctiontrain
train
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_astar_kg.py:251
↓ 1 callersFunctiontrain
train
NLP/EMNLP2019-MAL/src/train.py:765
↓ 1 callersFunctiontrain
do training Args: params (TYPE): NULL Returns: TODO Raises: NULL
NLP/Text2SQL-BASELINE/script/text2sql_main.py:88
↓ 1 callersFunctiontrain
(args)
NLP/ACL2019-JEMT/train.py:673
↓ 1 callersFunctiontrain
Train Program
NLP/ACL2018-DAM/main.py:116
↓ 1 callersFunctiontrain
model training
NLP/ACL2019-DuConv/generative_paddle/network.py:461
↓ 1 callersFunctiontrain
(args)
NLP/ACL2019-KTNET/reading_comprehension/src/run_squad.py:307
↓ 1 callersFunctiontrain
(args)
NLP/ACL2019-KTNET/reading_comprehension/src/run_record.py:307
↓ 1 callersFunctiontrain
(args)
NLP/ACL2019-KTNET/reading_comprehension/src/run_record_twomemory.py:330
↓ 1 callersFunctiontrain
(args)
NLP/ACL2019-KTNET/reading_comprehension/src/run_squad_twomemory.py:330
↓ 1 callersFunctiontrain
(args)
NLP/DuReader-Robust-BASELINE/src/run_mrc.py:230
↓ 1 callersFunctiontrain
train a model
NLP/ACL2018-DuReader/src/run.py:333
↓ 1 callersFunctiontrain
(args)
NLP/MRQA2019-BASELINE/src/run_mrqa.py:216
↓ 1 callersFunctiontrain
(args)
KG/DuKEVU_Baseline/paddle-video-classify-tag/train.py:100
↓ 1 callersMethodtrain
train
ST_DM/CIKM2022-DuMapper/DME/engine/trainer.py:71
↓ 1 callersMethodtrain
start training
ST_DM/KDD2021-MSTPAC/code/ST-PAC/frame/core/cpu_trainer.py:104
↓ 1 callersMethodtrain
start training
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/cpu_trainer.py:90
↓ 1 callersFunctiontrain_accuracy
train_accuracy
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_astar_goal.py:176
↓ 1 callersFunctiontrain_accuracy
train_accuracy
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_astar_kg.py:179
↓ 1 callersFunctiontrain_and_evaluate
train and evaluate
ST_DM/KDD2021-HGAMN/src/monitor/listwise_monitor.py:68
↓ 1 callersMethodtrain_epoch
Train an epoch. @param train_iter @type : DataLoader @param valid_iter @type : DataLoader @param i
NLP/Dialogue-PLATO/plato/trainer.py:163
↓ 1 callersMethodtrain_epoch
(self, train_iter, valid_iter=None)
NLP/IJCAI2019-MMPMS/mmpms/engine.py:111
↓ 1 callersMethodtrain_format
result: one batch train narray
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/base_net.py:64
↓ 1 callersFunctiontrain_kfold
main program for training kfold.
NLP/NAACL2019-MPM/run_classifier.py:164
↓ 1 callersFunctiontrain_loop
model train loop
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/network.py:250
↓ 1 callersFunctiontrain_loop
train_loop
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_binary_lstm.py:207
↓ 1 callersFunctiontrain_loop
train_loop
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_astar_goal.py:292
↓ 1 callersFunctiontrain_loop
train_loop
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_astar_kg.py:299
↓ 1 callersFunctiontrain_loop
model train loop
NLP/ACL2019-DuConv/generative_paddle/network.py:250
↓ 1 callersFunctiontrain_program
train_program
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_binary_lstm.py:144
↓ 1 callersFunctiontrain_program
train_program
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_astar_goal.py:167
↓ 1 callersFunctiontrain_program
train_program
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_astar_kg.py:168
↓ 1 callersFunctiontrain_single
training program.
NLP/NAACL2019-MPM/run_classifier.py:466
↓ 1 callersFunctiontrain_with_dataloader
(exe, train_prog, compiled_train_prog, train_dataloader, \ train_fetch_list, train_met
KG/DuKEVU_Baseline/paddle-video-classify-tag/utils/train_utils.py:75
↓ 1 callersFunctiontrain_with_feed
Train on one epoch data by feeding
NLP/ACL2018-DAM/main.py:237
↓ 1 callersFunctiontrain_with_pyreader
Train on one epoch with pyreader
NLP/ACL2018-DAM/main.py:276
↓ 1 callersMethodtransfer_simple_sql_value
Args: sql_json (TYPE): NULL value_dict (TYPE): NULL Returns: TODO Raises: NULL
NLP/Text2SQL-BASELINE/text2sql/dataproc/sql_preproc_v2.py:221
↓ 1 callersMethodtransfer_sql_value
transfer value str to int index Args: sql_json (TYPE): [in/out] value_dict (TYPE): NULL Returns: TODO
NLP/Text2SQL-BASELINE/text2sql/dataproc/sql_preproc_v2.py:157
↓ 1 callersFunctiontransformer
transformer main
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/common/transformer.py:517
↓ 1 callersFunctiontransformer_decoder_layer
The layer to be stacked in decoder part. :param dec_input: (batch_size, tgt_len, emb_dim) :param enc_output: (batch_size, n_tokens, emb
NLP/ACL2020-GraphSum/src/models/decoder.py:25
↓ 1 callersFunctiontransformer_decoder_layer
The layer to be stacked in decoder part. :param dec_input: (batch_size, tgt_len, emb_dim) :param enc_output: (batch_size, n_tokens, emb
NLP/EMNLP2021-SgSum/src/models/decoder.py:25
↓ 1 callersFunctiontransformer_encoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
NLP/ACL2020-GraphSum/src/models/encoder.py:99
↓ 1 callersFunctiontransformer_encoder_layer
The encoder layers that can be stacked to form a deep encoder. This module consits of a multi-head (self) attention followed by position-wise
NLP/ACL2020-GraphSum/src/models/encoder.py:28
↓ 1 callersFunctiontransformer_encoder_layer
The encoder layers that can be stacked to form a deep encoder. This module consits of a multi-head (self) attention followed by position-wise
NLP/EMNLP2021-SgSum/src/models/encoder.py:28
↓ 1 callersFunctiontruncate_by_tokens
(input, tok, max_tokens, manner: str = "middle")
NLP/ACL2024-NACL/src/eval_llama3.py:43
↓ 1 callersFunctiontruncate_input
(input, max_length, manner="middle")
NLP/ACL2024-NACL/src/eval_utils.py:432
↓ 1 callersFunctiontruncate_input
(input: list, max_length: int, manner="middle")
NLP/ACL2024-NACL/src/eval_llama3.py:29
↓ 1 callersFunctiontruncate_seq_pair
Truncates a sequence pair in place to the maximum length.
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/tokenization.py:652
↓ 1 callersFunctiontruncate_words
:param words: :param max_length: :param truncation_type: :return:
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/tokenization.py:694
↓ 1 callersMethodtwin_link_region
Desc: 获取该link的twin region, twin link对应的region Args: self : self Return: Region, or None Rais
ST_DM/GenRegion/src/generate/gen/regionalg.py:37
↓ 1 callersFunctiontwo_stream_encoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer .
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/common/transformer_encoder.py:479
↓ 1 callersFunctiontxt_encoder
:param sample_generator: :param vocab: :return:
NLP/EMNLP2019-MAL/src/preprocess/gen_utils.py:138
↓ 1 callersMethodunparse
(self, tree, db, value_list)
NLP/Text2SQL-BASELINE/text2sql/grammars/nl2sql.py:118
↓ 1 callersMethodunparse_agg
(self, agg, is_row_calc=False)
NLP/Text2SQL-BASELINE/text2sql/grammars/nl2sql.py:504
↓ 1 callersMethodunparse_agg
(self, agg)
NLP/Text2SQL-BASELINE/text2sql/grammars/cspider_v2.py:634
↓ 1 callersMethodunparse_from
(self, from_, is_row_calc=False)
NLP/Text2SQL-BASELINE/text2sql/grammars/dusql_v2.py:679
↓ 1 callersMethodunparse_from
(self, from_, is_row_calc=False)
NLP/Text2SQL-BASELINE/text2sql/grammars/nl2sql.py:512
↓ 1 callersMethodunparse_from
(self, from_)
NLP/Text2SQL-BASELINE/text2sql/grammars/cspider_v2.py:642
↓ 1 callersMethodunparse_order_by
(self, order_by)
NLP/Text2SQL-BASELINE/text2sql/grammars/dusql_v2.py:732
↓ 1 callersMethodunparse_order_by
(self, order_by)
NLP/Text2SQL-BASELINE/text2sql/grammars/cspider_v2.py:688
↓ 1 callersMethodunparse_select
(self, select, is_row_calc=False)
NLP/Text2SQL-BASELINE/text2sql/grammars/dusql_v2.py:666
↓ 1 callersMethodunparse_select
(self, select, is_row_calc=False)
NLP/Text2SQL-BASELINE/text2sql/grammars/nl2sql.py:499
↓ 1 callersMethodunparse_select
(self, select)
NLP/Text2SQL-BASELINE/text2sql/grammars/cspider_v2.py:627
↓ 1 callersMethoduntokenize
Returns the original text (with whitespace reinserted).
NLP/NAACL2021-RocketQA/metric/dpr/utils/tokenizers.py:45
↓ 1 callersMethoduntokenize
Returns the original text (with whitespace reinserted).
NLP/ACL2021-PAIR/metric/tokenizers.py:45
↓ 1 callersMethodupdate_from_segconfig
(self, other)
CV/SemSegPaddle/src/utils/collect.py:73
↓ 1 callersMethodupdate_from_segconfig
(self, other)
CV/SemSegPaddleDG/src/utils/collect.py:60
↓ 1 callersFunctionupdate_hardness
(task_idxs, task_sample_sub2user, results)
ST_DM/KDD2021-CHAML/main.py:188
↓ 1 callersFunctionupdate_loss_scaling
Update loss scaling according to overall gradients. If all gradients is finite after incr_every_n_steps, loss scaling will increase by incr_
NLP/UNIMO-2/src/utils/fp16.py:132
← previousnext →4,401–4,500 of 7,542, ranked by callers