MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

Methodtokenize
Tokenizes a piece of text.
KG/DuIE_Baseline/ernie/tokenization.py:171
Methodtokenize
Tokenizes a piece of text into its word pieces. This uses a greedy longest-match-first algorithm to perform tokenization using the gi
KG/DuIE_Baseline/ernie/tokenization.py:283
Methodtokenize
tokenize
KG/DuEL_Baseline/ernie/tokenization.py:149
Methodtokenize
Tokenizes a piece of text.
KG/DuEL_Baseline/ernie/tokenization.py:178
Methodtokenize
Tokenizes a piece of text into its word pieces. This uses a greedy longest-match-first algorithm to perform tokenization using the gi
KG/DuEL_Baseline/ernie/tokenization.py:290
Methodtokenize
tokenize
KG/DuEE_baseline/bin/tokenization.py:150
Methodtokenize
Tokenizes a piece of text.
KG/DuEE_baseline/bin/tokenization.py:179
Methodtokenize
Tokenizes a piece of text into its word pieces. This uses a greedy longest-match-first algorithm to perform tokenization using the gi
KG/DuEE_baseline/bin/tokenization.py:291
Functiontokenize_and_align_labels
(example, tokenizer, no_entity_id,
KG/DuKEVU_Baseline/paddle-video-semantic-tag/train_semantic_tag.py:75
Functiontokenize_and_align_labels
(example, tokenizer, no_entity_id,
KG/DuKEVU_Baseline/paddle-video-semantic-tag/predict_semantic_tag.py:46
Functiontokenize_chinese_chars
Adds whitespace around any CJK character.
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/tokenization.py:428
Functiontokenize_chinese_chars
Adds whitespace around any CJK character.
ST_DM/KDD2021-HGAMN/src/tokenization.py:468
Functiontokenize_chinese_chars
Adds whitespace around any CJK character.
NLP/NAACL2021-RocketQA/model/src/tokenization.py:377
Functiontokenize_chinese_chars
Adds whitespace around any CJK character.
NLP/ACL2021-PAIR/model/src/tokenization.py:377
Functiontokenize_chinese_chars
Adds whitespace around any CJK character.
NLP/DuReader-Robust-BASELINE/src/tokenization.py:373
Functiontokenize_chinese_chars
Adds whitespace around any CJK character.
KG/AAAI2021_SSAN/utils/tokenization.py:377
Functiontokenize_chinese_chars
Adds whitespace around any CJK character.
KG/DuIE_Baseline/ernie/tokenization.py:377
Functiontokenize_chinese_chars
Adds whitespace around any CJK character.
KG/DuEL_Baseline/ernie/tokenization.py:384
Functiontokenize_chinese_chars
Adds whitespace around any CJK character.
KG/DuEE_baseline/bin/tokenization.py:385
Methodtokenize_field_value
(cls, field_value)
NLP/Text2SQL-BASELINE/text2sql/grammars/dusql_v2.py:123
Methodtokenize_field_value
(cls, field_value)
NLP/Text2SQL-BASELINE/text2sql/grammars/cspider_v2.py:132
Functiontop_n_satisfy
calc top_n satisfy for dataset
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/model_eval/top_satisfy.py:60
Functiontopic_generalization_for_list
topic generalization for list
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/tools/convert_conversation_corpus_to_model_text.py:67
Functiontrain
(settings, file_list, batch_size, shuffle=True, num_workers=8,
CV/astar2019/reader.py:282
Functiontrain
Args: model (TYPE): NULL optimizer (TYPE): NULL epochs (TYPE): NULL train_data (TYPE): NULL dev_data (TY
NLP/Text2SQL-BASELINE/text2sql/launch/trainer.py:143
Methodtrain
train
ST_DM/KDD2020-ConSTGAT/constgat.py:362
Methodtrain
start training
ST_DM/KDD2021-MSTPAC/code/ST-PAC/frame/core/paddlecloud_fleet_trainer.py:148
Methodtrain
start training
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/paddlecloud_fleet_trainer.py:135
Methodtrain
(self, args)
NLP/MRQA2019-D-NET/server/bert_server/pdnlp/algorithm/multitask.py:90
Methodtrain
(self, args)
NLP/MRQA2019-D-NET/server/ernie_server/pdnlp/algorithm/multitask.py:90
Methodtrain
(self, inputs)
NLP/IJCAI2019-MMPMS/mmpms/models/model_base.py:51
Methodtrain_batch_size
(self)
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/libs/config.py:162
Methodtrain_dataset
(self)
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/libs/config.py:390
Methodtrain_dataset_class
(self)
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/libs/config.py:375
Methodtrain_dataset_config
(self)
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/libs/config.py:363
Methodtrain_format
result: one batch train narray
ST_DM/KDD2020-P3AC/nets/poi_qac_personalized/qac_personalized.py:538
Methodtrain_format
result: one batch train narray
ST_DM/KDD2021-MSTPAC/code/ST-PAC/nets/poi_qac_personalized/qac_personalized.py:548
Methodtrain_format
result: one batch train narray
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/poi_qac_personalized/qac_personalized.py:545
Methodtrainer_endpoints
Copy codes.
NLP/Dialogue-PLATO/plato/modules/parallel.py:88
Functiontransformer_decoder
The decoder is composed of a stack of identical decoder_layer layers. :param dec_input: (batch_size, tgt_len, emb_dim) :param enc_output
NLP/ACL2020-GraphSum/src/models/decoder.py:130
Functiontransformer_decoder
The decoder is composed of a stack of identical decoder_layer layers. :param dec_input: (batch_size, tgt_len, emb_dim) :param enc_output
NLP/EMNLP2021-SgSum/src/models/decoder.py:130
Functiontransformer_encoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
NLP/EMNLP2021-SgSum/src/models/encoder.py:99
Functiontransformer_xl
Defines a Transformer-XL computation graph with additional support for XLNet. Args: inp_k: int32 Tensor in shape [len, bsz], the inpu
NLP/MRQA2019-D-NET/server/xlnet_server/modeling.py:297
Methodtranspose_multihead
[B, N, C] -> [B, N, n_heads, head_dim] -> [B, n_heads, N, head_dim]
CV/SMILE/backbones/vit.py:117
Methodtranspose_multihead
multi head metirx transpose
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/model/brain_intracranial_hemorrhage_clas/swin_transformers.py:267
Methodtranspose_multihead
multi head metirx transpose
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/model/brain_intracranial_hemorrhage_clas/swin_transformers_update.py:268
Methodtraverse_tree
traverse tree
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/decoder.py:291
FunctiontripletLoss
(global_feat, labels, batch_size, margin=0.3, num_instances=4, normalize_feature=False)
CV/PaddleReid/reid/loss/triplet_loss.py:69
Methodtrue_func
()
NLP/UNIMO-2/src/model/unimo_grounded.py:1071
Methodtrue_func
()
NLP/UNIMO-2/src/model/unimo_grounded_baseline.py:651
Functiontruncate_multi_seqs
truncate_seqs
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/tokenization.py:671
Functionttest
todo
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/model_eval/mrr_ndcg.py:173
Functiontuplify
tuplify
NLP/Text2SQL-BASELINE/text2sql/utils/serialization.py:22
Functiontxt2txt_encoder
:param sample_generator: :param vocab: :param target_vocab: :return:
NLP/EMNLP2019-MAL/src/preprocess/subword_decode.py:121
Functiontxt2txt_generator
:param source_fname: :param target_fname: :return:
NLP/EMNLP2019-MAL/src/preprocess/subword_decode.py:107
Functiontxt_encoder
:param sample_generator: :param vocab: :return:
NLP/EMNLP2019-MAL/src/preprocess/subword_decode.py:138
Methodtypes
(self)
NLP/Text2SQL-BASELINE/text2sql/utils/ast_util.py:142
Methodudpate_beams
update one instance beam
NLP/Text2SQL-BASELINE/text2sql/utils/metrics.py:228
Functionunison_shuffle
Shuffle data
NLP/ACL2018-DAM/reader.py:27
Methodunk_id
(self)
NLP/Dialogue-PLATO/plato/data/field.py:123
Methodunk_id
(self)
NLP/IJCAI2019-MMPMS/mmpms/inputters/vocabulary.py:48
Methodunpack_tensor
decode tensor to numpy array
ST_DM/KDD2021-MSTPAC/code/ST-PAC/utils/common_lib.py:83
Methodunpack_tensor
decode tensor to numpy array
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/common_lib.py:83
Methodunparse
(self, tree, db, value_list)
NLP/Text2SQL-BASELINE/text2sql/grammars/dusql_v2.py:118
Methodunparse
(self, tree, db, value_list)
NLP/Text2SQL-BASELINE/text2sql/grammars/cspider_v2.py:127
Functionunsqueeze
Implement unsqueeze in dygraph mode.
NLP/Dialogue-PLATO/plato/modules/functions.py:23
Methodunzip_pth
导入高版本pth转存为低版本pth
ST_DM/CIKM2022-DuMapper/DME/engine/infer.py:64
Methodupdate
Args: labels (TYPE): NULL predicts (TYPE): NULL Returns: TODO Raises: NULL
NLP/Text2SQL-BASELINE/text2sql/utils/metrics.py:52
Functionupdate_config
Update config by ArgumentParser Configs that are often used can be updated from arguments Args: args: ArgumentParser contains options
CV/SMILE/config.py:107
Methodupdate_seq
update alive sequence. need pre-gather the inner seq then concat the new step id
NLP/EMNLP2021-SgSum/src/models/trigram_blocking.py:58
Methodupdate_using_last_choice
update_using_last_choice
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/train_tree_traversal.py:119
Methodupdate_using_last_choice
update_using_last_choice
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/infer_tree_traversal.py:116
Methoduser_id
(self)
NLP/Dialogue-PLATO/plato/data/field.py:131
Methodval_dataset
(self)
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/libs/config.py:397
Methodval_dataset_class
(self)
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/libs/config.py:380
Methodval_dataset_config
(self)
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/libs/config.py:367
Methodvars
fetch metric vars
ST_DM/KDD2021-HGAMN/src/train.py:52
Functionvflip
Vertically flip the given numpy ndarray. Args: img (numpy ndarray): Image to be flipped. Returns: numpy ndarray: Vertically f
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/transforms/functional.py:67
MethodvisitConstructor
(self, cons, _name)
NLP/Text2SQL-BASELINE/text2sql/utils/ast_util.py:60
MethodvisitField
(self, field, name)
NLP/Text2SQL-BASELINE/text2sql/utils/ast_util.py:69
MethodvisitModule
(self, mod)
NLP/Text2SQL-BASELINE/text2sql/utils/ast_util.py:45
MethodvisitProduct
(self, prod, name)
NLP/Text2SQL-BASELINE/text2sql/utils/ast_util.py:75
MethodvisitSum
(self, sum_, name)
NLP/Text2SQL-BASELINE/text2sql/utils/ast_util.py:54
MethodvisitType
(self, type_)
NLP/Text2SQL-BASELINE/text2sql/utils/ast_util.py:50
Methodvisualize
(self, pt1, pt2, box, img_shape=(960, 1280, 3), cross_flag=False)
CV/VehicleCounting/cam-configs/utils/utils.py:96
Methodvocab_size
:return:
NLP/EMNLP2019-MAL/src/preprocess/text_encoder.py:226
Methodvocab_size
The subtoken vocabulary size.
NLP/EMNLP2019-MAL/src/preprocess/text_encoder.py:333
Methodvocab_size
:return:
NLP/EMNLP2019-MAL/src/preprocess/text_encoder.py:849
Methodvocab_size
get the vocab size
NLP/EMNLP2021-SgSum/src/roberta/roberta_tokenization.py:275
Methodvocab_size
get the vocab size
NLP/EMNLP2021-SgSum/src/data_preprocess/roberta/roberta_tokenization.py:275
Methodvocab_size
(self)
NLP/Dialogue-PLATO/plato/data/field.py:103
Functionvocab_token_counts
Read a vocab file and return a dictionary of token counts. Reads a two-column CSV file of tokens and their frequency in a dataset. The tokens
NLP/EMNLP2019-MAL/src/preprocess/tokenizer.py:143
Functionwarning
warning
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/utils/logger.py:61
Methodweights_info
(self)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/tsn/tsn.py:148
Methodweights_info
(self)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/attention_lstm/attention_lstm.py:159
Functionwindow_size_fn
get window size
NLP/EMNLP2019-MAL/src/reader.py:154
Functionwkt_2_regions
Desc: 原始行政区划的wkt格式的字符串转换成单个polygon的wkt Args: wkt_str: 原始wkt字符串 Returns: list of Region Raises: None
ST_DM/GenRegion/src/generate/etl.py:41
Methodworker
multiprocess worker
ST_DM/KDD2021-HGAMN/src/dataset/base_dataset.py:113
Functionworker_init_fn
dataloader worker的初始函数 根据worker_id设置不同的随机数种子,避免多个worker输出相同的数据
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/utils/utils.py:30
Methodwrapper
()
NLP/NAACL2021-RocketQA/model/src/reader/reader_de_infer.py:259
← previousnext →7,401–7,500 of 7,542, ranked by callers