Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/Research
/ functions
Functions
7,542 in github.com/PaddlePaddle/Research
⨍
Functions
7,542
◇
Types & classes
893
↳
Endpoints
4
↓ 1 callers
Method
get_nary_data
Get instances with the specific arity.
KG/ACL2021_GRAN/preprocessing.py:510
↓ 1 callers
Function
get_neighbour_dict
get_neighbour_dict
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/goal_planning.py:311
↓ 1 callers
Method
get_net_instance
get net instance from net factory
ST_DM/KDD2021-MSTPAC/code/ST-PAC/frame/core/base_frame.py:304
↓ 1 callers
Method
get_net_instance
get net instance from net factory
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/base_frame.py:292
↓ 1 callers
Method
get_next
get next data
NLP/EMNLP2019-MAL/src/reader.py:388
↓ 1 callers
Function
get_null_id_emb
(city)
ST_DM/KDD2021-CHAML/preprocess/step4.py:30
↓ 1 callers
Method
get_num_examples
(self, input_file)
NLP/UNIMO-2/src/reader/classification_grounded_reader.py:205
↓ 1 callers
Method
get_num_examples
get_num_examples
NLP/UNIMO-2/src/reader/retrieval_grounded_reader.py:136
↓ 1 callers
Method
get_num_examples
Get the total num of examples in dataset
NLP/ACL2020-GraphSum/src/networks/graphsum/graphsum_reader.py:120
↓ 1 callers
Method
get_num_examples
Get the total num of examples in dataset
NLP/EMNLP2021-SgSum/src/networks/roberta_multigraphextsum/graphsum_reader.py:127
↓ 1 callers
Method
get_num_examples
(self, phase)
NLP/DuReader-Robust-BASELINE/src/reader/squad.py:476
↓ 1 callers
Method
get_num_examples
get_num_examples
NLP/UNIMO/src/reader/regression_reader.py:184
↓ 1 callers
Method
get_num_examples
get total number of examples
NLP/UNIMO/src/reader/img2txt_reader.py:69
↓ 1 callers
Method
get_num_examples
get total number of examples
NLP/UNIMO/src/reader/seq2seq_reader.py:70
↓ 1 callers
Method
get_num_examples
get_num_examples
NLP/UNIMO/src/reader/retrieval_reader.py:177
↓ 1 callers
Method
get_num_examples
get_num_examples
KG/DuEL_Baseline/ernie/reader/type_pairwise_ranker_reader.py:100
↓ 1 callers
Method
get_num_examples
get_num_examples
KG/DuEE_baseline/bin/reader/task_reader.py:513
↓ 1 callers
Method
get_num_examples
get_num_examples
KG/DuEE_baseline/bin/reader/task_reader.py:804
↓ 1 callers
Method
get_num_train_examples
(self, data_dir)
KG/AAAI2021_SSAN/dataset.py:148
↓ 1 callers
Function
get_optimal_ldamodel_by_coherence_values
get the lsi model with optimal number of topics Input : dictionary : Gensim dictionary corpus : Gensim corpus
NLP/ACL2020-GraphSum/src/data_preprocess/graphsum/data_builder_graphsum.py:416
↓ 1 callers
Function
get_optimal_ldamodel_by_coherence_values
get the lsi model with optimal number of topics Input : dictionary : Gensim dictionary corpus : Gensim corpus
NLP/EMNLP2021-SgSum/src/data_preprocess/data_builder_graphextsum.py:450
↓ 1 callers
Function
get_optimal_lsimodel_by_coherence_values
get the lsi model with optimal number of topics Input : dictionary : Gensim dictionary corpus : Gensim corpus
NLP/ACL2020-GraphSum/src/data_preprocess/graphsum/data_builder_graphsum.py:319
↓ 1 callers
Function
get_optimal_lsimodel_by_coherence_values
get the lsi model with optimal number of topics Input : dictionary : Gensim dictionary corpus : Gensim corpus
NLP/EMNLP2021-SgSum/src/data_preprocess/data_builder_graphextsum.py:353
↓ 1 callers
Function
get_optimizer
(meta_model, config)
ST_DM/KDD2021-CHAML/main.py:107
↓ 1 callers
Function
get_or_generate_vocab_inner
Inner implementation for vocab generators. Args: data_dir: The base directory where data and vocab files are stored. If None, then
NLP/EMNLP2019-MAL/src/preprocess/gen_utils.py:55
↓ 1 callers
Function
get_or_generate_vocab_inner
Inner implementation for vocab generators. Args: data_dir: The base directory where data and vocab files are stored. If None, then
NLP/EMNLP2019-MAL/src/preprocess/subword_decode.py:55
↓ 1 callers
Function
get_padding
(filter_size, stride=1, dilation=1)
CV/PaddleReid/reid/model/layers.py:163
↓ 1 callers
Function
get_palette
(dataset)
CV/SemSegPaddleDG/src/utils/palette.py:58
↓ 1 callers
Method
get_params
Get parameters for ``crop`` for a random crop. Args: img (numpy ndarray): Image to be cropped. output_size (tuple): Ex
CV/CLPI-Collaborative-Learning-for-Diabetic-Retinopathy-Grading/opencv_transforms.py:390
↓ 1 callers
Method
get_params
Get parameters for ``crop`` for a random sized crop. Args: img (numpy ndarray): Image to be cropped. scale (tuple): ra
CV/CLPI-Collaborative-Learning-for-Diabetic-Retinopathy-Grading/opencv_transforms.py:505
↓ 1 callers
Method
get_params
Get parameters for ``rotate`` for a random rotation. Returns: sequence: params to be passed to ``rotate`` for random rotation.
CV/CLPI-Collaborative-Learning-for-Diabetic-Retinopathy-Grading/opencv_transforms.py:682
↓ 1 callers
Method
get_params
Get parameters for affine transformation Returns: sequence: params to be passed to the affine transformation
CV/CLPI-Collaborative-Learning-for-Diabetic-Retinopathy-Grading/opencv_transforms.py:780
↓ 1 callers
Method
get_params
Get parameters for ``crop`` for a random sized crop. Args: img (numpy ndarray): Image to be cropped. scale (tuple): ra
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/transforms/transforms.py:144
↓ 1 callers
Method
get_params
Get parameters for ``rotate`` for a random rotation. Returns: sequence: params to be passed to ``rotate`` for random rotation.
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/transforms/transforms.py:226
↓ 1 callers
Method
get_pooled
Get the first feature of each sequence for classification
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/source/models/retrieval_model.py:221
↓ 1 callers
Method
get_pooled
Get the first feature of each sequence for classification
NLP/ACL2019-DuConv/retrieval_paddle/source/models/retrieval_model.py:200
↓ 1 callers
Method
get_pooled_output
Get the first feature of each sequence for classification
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/common/ernie_encoder.py:240
↓ 1 callers
Method
get_pooled_output
Get the first feature of each sequence for classification
ST_DM/KDD2021-HGAMN/src/model/bow.py:165
↓ 1 callers
Method
get_pooled_output
Get the first feature of each sequence for classification
ST_DM/KDD2021-HGAMN/src/model/ernie.py:186
↓ 1 callers
Method
get_pooled_output
Get the first feature of each sequence for classification
NLP/UNIMO-2/src/model/unimo_grounded_baseline.py:540
↓ 1 callers
Method
get_pooled_output
Get the first feature of each sequence for classification
NLP/MRQA2019-D-NET/server/bert_server/pdnlp/nets/bert.py:141
↓ 1 callers
Method
get_pooled_output
Get the first feature of each sequence for classification
NLP/MRQA2019-D-NET/server/ernie_server/pdnlp/nets/bert.py:136
↓ 1 callers
Method
get_pooled_output
Get the first feature of each sequence for classification
NLP/MRQA2019-D-NET/server/xlnet_server/model/xlnet.py:154
↓ 1 callers
Method
get_pooled_output
Get the first feature of each sequence for classification
NLP/ACL2021-PAIR/model/src/model/ernie.py:183
↓ 1 callers
Method
get_pooled_output
Get the first feature of each sequence for classification
NLP/EMNLP2021-SgSum/src/roberta/roberta.py:172
↓ 1 callers
Method
get_pooled_output
Get the first feature of each sequence for classification
NLP/EMNLP2021-SgSum/src/data_preprocess/roberta/roberta.py:171
↓ 1 callers
Method
get_pooled_output
Get the first feature of each sequence for classification
NLP/ACL2019-KTNET/reading_comprehension/src/model/bert.py:151
↓ 1 callers
Method
get_pooled_output
Get the first feature of each sequence for classification
NLP/DuReader-Robust-BASELINE/src/model/ernie.py:144
↓ 1 callers
Method
get_pooled_output
Get the first feature of each sequence for classification
KG/AAAI2021_SSAN/model/SSAN.py:208
↓ 1 callers
Method
get_pooled_output
Get the first feature of each sequence for classification
KG/DuEE_baseline/bin/model/ernie.py:190
↓ 1 callers
Method
get_pooled_txt_output
Get the first feature of each sequence for classification
NLP/UNIMO-2/src/model/unimo_grounded.py:987
↓ 1 callers
Method
get_pooled_visual_output
Get the first feature of each sequence for classification
NLP/UNIMO/src/model/unimo_finetune.py:364
↓ 1 callers
Function
get_pred
get prediction from probs.
NLP/NAACL2019-MPM/evaluation.py:47
↓ 1 callers
Function
get_pred
Truncate down to 128k then make inference.
NLP/ACL2024-NACL/src/eval_llama3.py:55
↓ 1 callers
Function
get_preds
(preds: list, data_name: str)
NLP/ACL2024-NACL/src/compute_scores.py:378
↓ 1 callers
Method
get_pretraining_output
Get the loss & fc_out for training
KG/CoKE/bin/model/coke.py:122
↓ 1 callers
Function
get_probs
get probs from input file.
NLP/NAACL2019-MPM/evaluation.py:40
↓ 1 callers
Method
get_progress
return current progress of traning data
NLP/UNIMO/src/reader/visual_entailment_reader.py:56
↓ 1 callers
Method
get_progress
return current progress of traning data
KG/CoKE/bin/reader/coke_reader.py:151
↓ 1 callers
Method
get_progress
Get progress for training phase.
KG/ACL2021_GRAN/src/reader/data_reader.py:278
↓ 1 callers
Function
get_raw_scores
(dataset, preds)
NLP/MRQA2019-D-NET/server/xlnet_server/squad_utils.py:80
↓ 1 callers
Method
get_relative_pos_bias_from_pos_index
# relative_position_bias_table is a ParamBase object # https://github.com/PaddlePaddle/Paddle/blob/067f558c59b34dd6d8626aad73e9943cf7
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/model/brain_intracranial_hemorrhage_clas/swin_transformers.py:276
↓ 1 callers
Method
get_relative_pos_bias_from_pos_index
# relative_position_bias_table is a ParamBase object # https://github.com/PaddlePaddle/Paddle/blob/067f558c59b34dd6d8626aad73e9943cf7
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/model/brain_intracranial_hemorrhage_clas/swin_transformers_update.py:277
↓ 1 callers
Function
get_remap_dict
(content)
CV/PaddleReid/reid/data/source/dataset.py:11
↓ 1 callers
Function
get_res
(infile)
NLP/UNIMO-2/src/utils/stat_res.py:32
↓ 1 callers
Function
get_res
get results
NLP/UNIMO/src/utils/stat_res.py:39
↓ 1 callers
Function
get_roi_points_list
(roi_file)
CV/VehicleCounting/utils/prepare_for_mot.py:6
↓ 1 callers
Method
get_sample_reader
return pyreader object.
ST_DM/KDD2021-MSTPAC/code/ST-PAC/frame/core/sample_reader.py:58
↓ 1 callers
Method
get_sample_reader
return pyreader object.
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/sample_reader.py:45
↓ 1 callers
Function
get_save_image_name
Get save image name from source image path.
CV/VehicleCounting/PaddleDetection/tools/infer.py:56
↓ 1 callers
Function
get_score
Computes the average score for a task.
NLP/ACL2024-NACL/src/compute_scores.py:393
↓ 1 callers
Function
get_score_one
Computes the score for one prediction. Returns one float (zero and one for boolean values).
NLP/ACL2024-NACL/src/compute_scores.py:337
↓ 1 callers
Method
get_sequence_output
Get the RoBERTa encoding output
NLP/EMNLP2021-SgSum/src/roberta/roberta.py:168
↓ 1 callers
Method
get_sequence_output
(self)
NLP/DuReader-Robust-BASELINE/src/model/ernie.py:141
↓ 1 callers
Method
get_sequence_output
(self)
KG/AAAI2021_SSAN/model/SSAN.py:205
↓ 1 callers
Method
get_sequence_output
func
KG/DuEE_baseline/bin/model/ernie.py:186
↓ 1 callers
Function
get_table_names
(sent)
NLP/Text2SQL-DA-HIER/clause2subquestion/data.py:9
↓ 1 callers
Function
get_tables_with_alias
Args: Returns:
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:163
↓ 1 callers
Function
get_tables_with_alias
Args: Returns:
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:162
↓ 1 callers
Method
get_test_examples
Gets a collection of `InputExample`s for prediction.
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/source/inputters/data_provider.py:206
↓ 1 callers
Method
get_test_examples
Gets a collection of `InputExample`s for prediction.
NLP/ACL2019-DuConv/retrieval_paddle/source/inputters/data_provider.py:201
↓ 1 callers
Function
get_test_images
Get image path list in TEST mode
CV/VehicleCounting/PaddleDetection/tools/infer.py:67
↓ 1 callers
Method
get_text_sequence_output
(self)
NLP/UNIMO-2/src/finetune/img2txt_oscar.py:1689
↓ 1 callers
Method
get_thread_num
get thread num for gpu dataset
ST_DM/KDD2021-MSTPAC/code/ST-PAC/frame/core/gpu_mixin.py:68
↓ 1 callers
Method
get_thread_num
get thread num for gpu dataset
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/gpu_mixin.py:55
↓ 1 callers
Method
get_thread_num
get thread_num for multi_thread dataset.
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/base_frame.py:525
↓ 1 callers
Function
get_time
()
NLP/UNIMO-2/src/run_img2txt_oscar.py:62
↓ 1 callers
Function
get_time
()
NLP/UNIMO-2/src/reader/img2txt_oscar_reader.py:43
↓ 1 callers
Function
get_time
get time
NLP/UNIMO/src/run_img2txt.py:40
↓ 1 callers
Method
get_token
gets the token corresponding to idx, returns unk token if idx is not in vocab Args: idx: an integer returns:
NLP/ACL2018-DuReader/src/vocab.py:82
↓ 1 callers
Function
get_top_tubes
(det_list_org, link_iou_threshold, skip_threshold, time_threshold)
CV/AICity2020-Anomaly-Detection/box_track/tube_construction.py:55
↓ 1 callers
Method
get_train_examples
Gets a collection of `InputExample`s for the train set.
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/source/inputters/data_provider.py:198
↓ 1 callers
Method
get_train_examples
Gets a collection of `InputExample`s for the train set.
NLP/ACL2019-DuConv/retrieval_paddle/source/inputters/data_provider.py:193
↓ 1 callers
Method
get_train_progress
Gets progress for training phase.
NLP/UNIMO-2/src/reader/classification_grounded_reader.py:60
↓ 1 callers
Method
get_train_progress
Gets progress for training phase.
NLP/UNIMO-2/src/reader/retrieval_grounded_reader.py:104
↓ 1 callers
Method
get_train_progress
Gets progress for training phase.
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/source/inputters/data_provider.py:252
↓ 1 callers
Method
get_train_progress
Gets progress for training phase.
NLP/ACL2020-GraphSum/src/networks/graphsum/graphsum_reader.py:133
↓ 1 callers
Method
get_train_progress
Gets progress for training phase.
NLP/EMNLP2021-SgSum/src/networks/roberta_multigraphextsum/graphsum_reader.py:140
↓ 1 callers
Method
get_train_progress
Gets progress for training phase.
NLP/ACL2019-DuConv/retrieval_paddle/source/inputters/data_provider.py:246
↓ 1 callers
Method
get_train_progress
Gets progress for training phase.
NLP/DuReader-Robust-BASELINE/src/reader/squad.py:462
← previous
next →
3,301–3,400 of 7,542, ranked by callers