MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

↓ 1 callersMethodprocess
Apply function to all files in input_dir and save the resulting ouput files in output_dir.
NLP/ACL2020-GraphSum/src/tools/my_pyrouge.py:24
↓ 1 callersMethodprocess
Apply function to all files in input_dir and save the resulting ouput files in output_dir.
NLP/EMNLP2021-SgSum/src/tools/my_pyrouge.py:24
↓ 1 callersMethodprocess
Apply function to all files in input_dir and save the resulting output files in output_dir.
NLP/EMNLP2021-SgSum/src/eval/tasks/cnndm/cnndm/bs_pyrouge.py:34
↓ 1 callersFunctionprocess_eval
(eval_fn)
NLP/EMNLP2021-SgSum/src/eval/tasks/cnndm/cnndm/eval.py:237
↓ 1 callersFunctionprocess_sample_data
(input_filename, output_filename)
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/process_data_for_goal_planning.py:159
↓ 1 callersMethodprocess_vl
trans the orgin tokens to the wanted tokens
NLP/UNIMO-2/src/reader/retrieval_grounded_reader.py:143
↓ 1 callersMethodprocess_vl
trans the orgin tokens to the wanted tokens
NLP/UNIMO/src/reader/retrieval_reader.py:184
↓ 1 callersFunctionproduce_one_sample
max_turn_num=10 max_turn_len=50 return y, nor_turns_nor_c, nor_r, turn_len, term_len, r_len
NLP/ACL2018-DAM/reader.py:85
↓ 1 callersFunctionprofile_context
profile_context
NLP/EMNLP2019-MAL/src/infer.py:456
↓ 1 callersFunctionpt_2_pt_dist
Desc: 计算两个点之间的距离 Args: pt1 : Point object pt2 : Point object Return: float, distance Raise: None
ST_DM/GenRegion/src/region/geometry.py:983
↓ 1 callersMethodput_data
fill 'data' into 'shared_buf'
CV/PaddleReid/reid/data/shared_queue/sharedmemory.py:496
↓ 1 callersFunctionpy_reader_provider_wrapper
Data provider needed by fluid.layers.py_reader.
NLP/EMNLP2019-MAL/src/train.py:339
↓ 1 callersFunctionpy_reader_provider_wrapper
Data provider needed by fluid.layers.py_reader.
NLP/ACL2019-JEMT/train.py:419
↓ 1 callersFunctionqa_f1_score
Computes the F1, recall, and precision.
NLP/ACL2024-NACL/src/compute_scores.py:67
↓ 1 callersFunctionqa_f1_score_zh
QA F1 score for chinese.
NLP/ACL2024-NACL/src/compute_scores.py:86
↓ 1 callersFunctionqe
(V,R,S, name=None)
CV/GNN-Re-Ranking/layer.py:19
↓ 1 callersFunctionquality_checks_qids
Perform quality checks on the dictionaries Args: p_qids_to_relevant_passageids (dict): dictionary of query-passage mapping Dict as rea
NLP/NAACL2021-RocketQA/metric/msmarco_eval.py:80
↓ 1 callersFunctionquality_checks_qids
Perform quality checks on the dictionaries Args: p_qids_to_relevant_passageids (dict): dictionary of query-passage mapping Dict as rea
NLP/ACL2021-PAIR/metric/msmarco_eval.py:80
↓ 1 callersFunctionquery_generation
Generate query by dialogue context.
NLP/EMNLP2022-Q-TOD/infer.py:65
↓ 1 callersMethodrandom_crop
random crop image
NLP/UNIMO-2/src/utils/image_utils.py:114
↓ 1 callersMethodrandom_flip
:param method: One of :py:data:`PIL.Image.FLIP_LEFT_RIGHT`, :py:data:`PIL.Image.FLIP_TOP_BOTTOM`, :py:data:`PIL.Image.ROTATE_90`,
NLP/UNIMO-2/src/utils/image_utils.py:135
↓ 1 callersMethodrandomly_init_embeddings
randomly initializes the embeddings for each token Args: embed_dim: the size of the embedding for each token
NLP/ACL2018-DuReader/src/vocab.py:133
↓ 1 callersFunctionrank_acc
shape is (tot_sample * candidate_len, 4) score, ids, real_label, fake_label
NLP/UNIMO-2/src/finetune/img_eval.py:144
↓ 1 callersMethodread_caption_id
read_caption_id
NLP/UNIMO-2/src/reader/retrieval_grounded_reader.py:184
↓ 1 callersMethodread_caption_id
read_caption_id
NLP/UNIMO-2/src/reader/retrieval_grounded_reader.py:331
↓ 1 callersMethodread_caption_id
read_caption_id
NLP/UNIMO/src/reader/retrieval_reader.py:229
↓ 1 callersMethodread_caption_id
read_caption_id
NLP/UNIMO/src/reader/retrieval_reader.py:430
↓ 1 callersFunctionread_concept_embedding
(embedding_path)
NLP/ACL2019-KTNET/reading_comprehension/src/run_squad.py:286
↓ 1 callersFunctionread_concept_embedding
(embedding_path)
NLP/ACL2019-KTNET/reading_comprehension/src/run_record.py:286
↓ 1 callersFunctionread_embed
(file_name, dim=768, bs=3000)
NLP/NAACL2021-RocketQA/model/src/index_search.py:7
↓ 1 callersFunctionread_embed
(file_name, dim=768, bs=3000)
NLP/ACL2021-PAIR/model/src/index_search.py:7
↓ 1 callersMethodread_example
Reads the input file into a list of examples.
KG/CoKE/bin/reader/coke_reader.py:160
↓ 1 callersFunctionread_file
(file)
NLP/UNIMO-2/src/utils/image_utils.py:222
↓ 1 callersMethodread_file
read file to fill content content_bak val_set
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/feature_imp/replace_column.py:47
↓ 1 callersMethodread_file
read_file
NLP/UNIMO/src/reader/visual_entailment_reader.py:145
↓ 1 callersMethodread_img
读取图像 Args: path: 图像路径
ST_DM/CIKM2022-DuMapper/DME/engine/infer.py:91
↓ 1 callersFunctionread_meta_training_data
(cities)
ST_DM/KDD2021-CHAML/preprocess/step3.py:224
↓ 1 callersFunctionread_model_prediction
(filename)
NLP/DuReader-Checklist-BASELINE/evaluate.py:220
↓ 1 callersFunctionread_mrc_dataset
(filename, tag=None)
NLP/DuReader-Checklist-BASELINE/evaluate.py:188
↓ 1 callersFunctionread_record_examples
Read a ReCoRD json file into a list of ReCoRDExample.
NLP/ACL2019-KTNET/reading_comprehension/src/reader/record.py:108
↓ 1 callersFunctionread_record_examples
Read a ReCoRD json file into a list of ReCoRDExample.
NLP/ACL2019-KTNET/reading_comprehension/src/reader/record_twomemory.py:110
↓ 1 callersMethodread_records
:param filename: :return:
NLP/EMNLP2019-MAL/src/gen_records.py:96
↓ 1 callersFunctionread_squad_examples
Read a SQuAD json file into a list of SquadExample.
NLP/MRQA2019-D-NET/server/xlnet_server/squad_reader.py:111
↓ 1 callersFunctionread_squad_examples
Read a SQuAD json file into a list of SquadExample.
NLP/ACL2019-KTNET/reading_comprehension/src/reader/squad_twomemory.py:110
↓ 1 callersFunctionread_squad_examples
Read a SQuAD json file into a list of SquadExample.
NLP/ACL2019-KTNET/reading_comprehension/src/reader/squad.py:108
↓ 1 callersFunctionread_to_dict
(data_path)
ST_DM/KDD2021-CHAML/preprocess/step1.py:32
↓ 1 callersFunctionread_txt
(videoTxt)
CV/PWCNet/src/read_files.py:1
↓ 1 callersMethodread_vis
读取log文件
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/utils/log_vis.py:42
↓ 1 callersFunctionreader
()
CV/astar2019/reader.py:168
↓ 1 callersFunctionreader
This function read a MRQA data file. :param filename: name of a MRQA data file. :return: original samples of a MRQA data file.
NLP/MRQA2019-D-NET/multi_task_learning/scripts/convert_mrqa2squad.py:27
↓ 1 callersFunctionrealEPE
(output, target, sparse=False)
CV/PWCNet/src/multiscaleloss.py:80
↓ 1 callersFunctionrebuild_cond_unit_col
Args: Returns:
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:1251
↓ 1 callersFunctionrebuild_cond_unit_col
Args: Returns:
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:1320
↓ 1 callersFunctionrebuild_from_col
Args: Returns:
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:1298
↓ 1 callersFunctionrebuild_from_col
Args: Returns:
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:1368
↓ 1 callersFunctionrebuild_group_by_col
Args: Returns:
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:1313
↓ 1 callersFunctionrebuild_group_by_col
Args: Returns:
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:1383
↓ 1 callersFunctionrebuild_order_by_col
Args: Returns:
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:1325
↓ 1 callersFunctionrebuild_order_by_col
Args: Returns:
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:1395
↓ 1 callersFunctionrebuild_select_col
Args: Returns:
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:1283
↓ 1 callersFunctionrebuild_select_col
Args: Returns:
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:1353
↓ 1 callersFunctionrebuild_table_unit_col
Args: Returns:
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:1234
↓ 1 callersFunctionrebuild_table_unit_col
Args: Returns:
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:1303
↓ 1 callersFunctionrecall_at_k
(score_matrix, text2img, img2texts)
NLP/UNIMO-2/src/finetune/img_eval.py:9
↓ 1 callersFunctionrecord_to_datapoint
(record)
ST_DM/KDD2021-CHAML/preprocess/step3.py:50
↓ 1 callersFunctionrect_classify
Desc: 将点分类到相应的cluster中, 使得cluster的边界满足width阈值 Args: points : 需要分类的Point集合 clusters : list of cluster, cluster 可能会被修改, 增加一些新
ST_DM/GenRegion/src/generate/gen/algorithm.py:44
↓ 1 callersFunctionreducer
:return:
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/model_eval/reducer.py:12
↓ 1 callersFunctionreducer
todo
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/model_eval/reducer2.py:18
↓ 1 callersMethodreductionA
(self, data, name=None)
CV/CLPI-Collaborative-Learning-for-Diabetic-Retinopathy-Grading/clfnet/inception_v4.py:211
↓ 1 callersMethodreductionA
(self, data, name=None)
CV/landmark/inference/models/inceptionv4_embedding.py:111
↓ 1 callersMethodreductionB
(self, data, name=None)
CV/CLPI-Collaborative-Learning-for-Diabetic-Retinopathy-Grading/clfnet/inception_v4.py:294
↓ 1 callersMethodreductionB
(self, data, name=None)
CV/landmark/inference/models/inceptionv4_embedding.py:141
↓ 1 callersMethodrefine_from
1) Inferring tables from columns predicted 2) Mix them with the predicted tables if any 3) Inferring conditions based on tab
NLP/Text2SQL-BASELINE/text2sql/grammars/dusql_v2.py:499
↓ 1 callersMethodrefine_from
1) Inferring tables from columns predicted 2) Mix them with the predicted tables if any 3) Inferring conditions based on tab
NLP/Text2SQL-BASELINE/text2sql/grammars/nl2sql.py:377
↓ 1 callersMethodrefine_from
1) Inferring tables from columns predicted 2) Mix them with the predicted tables if any 3) Inferring conditions based on tab
NLP/Text2SQL-BASELINE/text2sql/grammars/cspider_v2.py:468
↓ 1 callersMethodrefresh_neighbors
Desc: 计算该region接触的所有region Args: self : self Return: list of Neighbor(region, points, length),
ST_DM/GenRegion/src/generate/gen/regionalg.py:333
↓ 1 callersFunctionreg_fc
(model)
CV/SMILE/finetune.py:131
↓ 1 callersFunctionregion_filter
Desc: 对原始regions进行过滤, 删除掉被包含的子区域, regions内部可能存在 一个region A完全包含在另一个region B中, 我们将region A删除 Args: regions : list of Region
ST_DM/GenRegion/src/generate/gen/algorithm.py:63
↓ 1 callersFunctionregions_to_points
Desc: 根据region生成point Args: regions : regions Return: None Raise: None
ST_DM/GenRegion/src/generate/gen/generator.py:377
↓ 1 callersMethodregist
(self, name, metrics)
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/metrics_util.py:233
↓ 1 callersMethodregist
(self, name, reader)
KG/DuKEVU_Baseline/paddle-video-classify-tag/reader/reader_utils.py:59
↓ 1 callersMethodregist
(self, name, model)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/model.py:170
↓ 1 callersFunctionregister_class
register all nets classs. Including BaseNet and its sub-class
ST_DM/KDD2021-MSTPAC/code/ST-PAC/nets/nets_factory.py:27
↓ 1 callersFunctionregister_class
register all nets classs. Including BaseNet and its sub-class
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/nets_factory.py:27
↓ 1 callersMethodregister_class
register for all dataset class. including BaseDataset and its subclass
ST_DM/KDD2021-MSTPAC/code/ST-PAC/datasets/datasets_factory.py:45
↓ 1 callersMethodregister_class
register for all dataset class. including BaseDataset and its subclass
ST_DM/KDD2021-MSTPAC/code/MST-PAC/datasets/datasets_factory.py:45
↓ 1 callersFunctionreid_feature_net
(act='leaky')
CV/PaddleReid/reid/model/feature_net.py:60
↓ 1 callersFunctionreid_feature_net_mb
(act='leaky')
CV/PaddleReid/reid/model/feature_net_multi_branch.py:71
↓ 1 callersFunctionrel_attn_core
Core relative positional attention operations.
NLP/MRQA2019-D-NET/server/xlnet_server/modeling.py:138
↓ 1 callersFunctionrel_multihead_attn
Multi-head attention with relative positional encoding.
NLP/MRQA2019-D-NET/server/xlnet_server/modeling.py:263
↓ 1 callersFunctionrel_shift
perform relative shift to form the relative attention score.
NLP/MRQA2019-D-NET/server/xlnet_server/modeling.py:187
↓ 1 callersFunctionrelative_attention_values
In this version, relation vectors are shared across heads. Args: weight: [batch, heads, num queries, num kvs]. value: [batch, head
NLP/Text2SQL-BASELINE/text2sql/models/relational_transformer.py:143
↓ 1 callersFunctionrelative_positional_encoding
create relative positional encoding.
NLP/MRQA2019-D-NET/server/xlnet_server/modeling.py:215
↓ 1 callersFunctionrelu
(data)
CV/SemSegPaddle/src/models/libs/model_libs.py:130
↓ 1 callersFunctionremove_articles
(text)
NLP/MRQA2019-D-NET/multi_task_learning/scripts/evaluate-v1.1.py:13
↓ 1 callersFunctionremove_articles
(text)
NLP/MRQA2019-D-NET/server/xlnet_server/squad_utils.py:46
↓ 1 callersFunctionremove_articles
(text)
NLP/ACL2024-NACL/src/eval_utils.py:316
↓ 1 callersFunctionremove_articles
(text)
NLP/ACL2024-NACL/src/compute_scores.py:23
↓ 1 callersFunctionremove_duplicate
(l_list, duplicate_rate)
NLP/EMNLP2021-SgSum/src/eval/tasks/cnndm/cnndm/eval.py:225
↓ 1 callersFunctionremove_punc
(text)
NLP/MRQA2019-D-NET/multi_task_learning/scripts/evaluate-v1.1.py:19
← previousnext →4,101–4,200 of 7,542, ranked by callers