MCPcopy Create free account

hub / github.com/Feng-Hong/WINO-DLLM / functions

Functions4,510 in github.com/Feng-Hong/WINO-DLLM

↓ 1 callersFunctioncompare_two_list
(pred, gt)
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/scoring/general_numerical_match.py:57
↓ 1 callersFunctioncompute_averages_from_task_scores
(task_score, groups)
MMaDA/lmms_eval/lmms_eval/tasks/mirb/utils.py:300
↓ 1 callersFunctioncompute_bleu_en
(refs, hyps)
MMaDA/lmms_eval/lmms_eval/tasks/covost2/utils.py:85
↓ 1 callersFunctioncompute_bleu_zh
(refs, hyps)
MMaDA/lmms_eval/lmms_eval/tasks/covost2/utils.py:98
↓ 1 callersFunctioncompute_frame_timestamps
(duration, max_num_frames=16)
MMaDA/lmms_eval/lmms_eval/tasks/longvideobench/utils.py:49
↓ 1 callersFunctioncompute_iou
Compute the Intersection over Union (IoU) of two bounding boxes. Parameters: - box1 (list of float): Bounding box [x_min, y_min, x_max,
MMaDA/lmms_eval/lmms_eval/tasks/refcoco+/utils_rec.py:95
↓ 1 callersFunctioncompute_iou
Compute the Intersection over Union (IoU) of two bounding boxes. Parameters: - box1 (list of float): Bounding box [x_min, y_min, x_max,
MMaDA/lmms_eval/lmms_eval/tasks/refcoco/utils_rec.py:95
↓ 1 callersFunctioncompute_iou
Compute the Intersection over Union (IoU) of two bounding boxes. Parameters: - box1 (list of float): Bounding box [x_min, y_min, x_max,
MMaDA/lmms_eval/lmms_eval/tasks/screenspot/utils_rec.py:61
↓ 1 callersFunctioncompute_iou
Compute the Intersection over Union (IoU) of two bounding boxes. Parameters: - box1 (list of float): Bounding box [x_min, y_min, x_max,
MMaDA/lmms_eval/lmms_eval/tasks/refcocog/utils_rec.py:95
↓ 1 callersFunctioncompute_mle_elo
(df, baseline, SCALE=400, BASE=10, INIT_RATING=1000)
MMaDA/lmms_eval/lmms_eval/tasks/wild_vision_bench/utils.py:241
↓ 1 callersFunctioncompute_score
(gt_data, res_data, res_file, tokenizer, llm, sampling_params, bs=64)
MMaDA/lmms_eval/lmms_eval/tasks/videomathqa/cot_step_evaluation.py:110
↓ 1 callersFunctioncompute_value
Compute the value. When current unit is larger than previous unit, current unit * all previous units will be used as all previous uni
MMaDA/lmms_eval/lmms_eval/tasks/librispeech/cn_tn.py:611
↓ 1 callersFunctioncompute_wer
(refs, hyps, language)
MMaDA/lmms_eval/lmms_eval/tasks/common_voice_15/utils.py:132
↓ 1 callersFunctioncompute_wer
(refs, hyps)
MMaDA/lmms_eval/lmms_eval/tasks/gigaspeech/utils.py:136
↓ 1 callersFunctioncompute_wer
(refs, hyps, language)
MMaDA/lmms_eval/lmms_eval/tasks/people_speech/utils.py:132
↓ 1 callersFunctioncompute_wer
(refs, hyps, language)
MMaDA/lmms_eval/lmms_eval/tasks/tedlium/utils.py:132
↓ 1 callersFunctioncompute_wer
(refs, hyps, language)
MMaDA/lmms_eval/lmms_eval/tasks/fleurs/utils.py:241
↓ 1 callersFunctioncompute_wer
(refs, hyps, language)
MMaDA/lmms_eval/lmms_eval/tasks/librispeech/utils.py:145
↓ 1 callersFunctionconcatenate_images_horizontal
(image_list)
MMaDA/lmms_eval/lmms_eval/tasks/mmvetv2/utils.py:58
↓ 1 callersFunctionconcatenate_images_horizontal
(image_list)
MMaDA/lmms_eval/lmms_eval/tasks/mmmu/utils_group_img.py:47
↓ 1 callersFunctionconcatenate_images_vertical
(image_list)
MMaDA/lmms_eval/lmms_eval/tasks/mmvetv2/utils.py:79
↓ 1 callersFunctionconcatenate_images_vertical
(image_list)
MMaDA/lmms_eval/lmms_eval/tasks/mmmu/utils_group_img.py:68
↓ 1 callersFunctionconsolidate_ckpt
(src_path, dst_path)
MMaDA/lmms_eval/lmms_eval/models/video_chatgpt/model/consolidate.py:14
↓ 1 callersFunctionconsolidate_group_results
(Recursively) calculates groups' aggregated metrics and updates the results and versions dictionaries with this info. @return: a tuple [resu
MMaDA/lmms_eval/lmms_eval/evaluator_utils.py:342
↓ 1 callersFunctionconsolidate_results
@param eval_tasks: list(TaskOutput). @return: A tuple containing the consolidated results, samples, configs, versions, and num_fewshot.
MMaDA/lmms_eval/lmms_eval/evaluator_utils.py:284
↓ 1 callersMethodconstruct_interleaved_input
(self, content, media)
MMaDA/lmms_eval/lmms_eval/models/gemini_api.py:140
↓ 1 callersFunctionconstruct_param_to_obj
(domain, action)
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/scoring/symbolic_planning.py:150
↓ 1 callersFunctionconstruct_prompt
(doc)
MMaDA/lmms_eval/lmms_eval/tasks/websrc/utils.py:19
↓ 1 callersMethodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LMM. :param doc_id: int
MMaDA/lmms_eval/lmms_eval/api/task.py:488
↓ 1 callersMethodconvert_modality
(self, images)
MMaDA/lmms_eval/lmms_eval/models/gemini_api.py:128
↓ 1 callersFunctionconvert_pi_to_number
(code_string)
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/scoring/general_numerical_match.py:91
↓ 1 callersFunctionconvert_table_to_html_str
Given a list of table rows, build the corresponding html string, which is used to compute the TEDS score. We use the official code of PubTabN
MMaDA/lmms_eval/lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:161
↓ 1 callersFunctionconvert_to_range
(match)
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/parsing/common/parsers.py:123
↓ 1 callersFunctionconvert_to_serializable
(obj)
MMaDA/lmms_eval/lmms_eval/tasks/ocrbench_v2/upload_ocrbench_v2.py:50
↓ 1 callersMethodcopy_to
Copy current averaged parameters into given collection of parameters. Args: parameters: Iterable of `torch.nn.Parame
MMaDA/lmms_eval/lmms_eval/models/model_mmada/training_utils.py:179
↓ 1 callersMethodcopy_to
Copy current averaged parameters into given collection of parameters. Args: parameters: Iterable of `torch.nn.Parame
MMaDA/models/training_utils.py:179
↓ 1 callersFunctioncorrect_symbols
一百八 to 一百八十 一亿一千三百万 to 一亿 一千万 三百万
MMaDA/lmms_eval/lmms_eval/tasks/librispeech/cn_tn.py:579
↓ 1 callersFunctioncount_syllables
Count the number of syllables in a piece of text.
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/scoring/constrained_generation.py:149
↓ 1 callersFunctioncounting_evaluation
(predict, answers, eval_method)
MMaDA/lmms_eval/lmms_eval/tasks/ocrbench_v2/vqa_metric.py:160
↓ 1 callersMethodcreate_batch
(self, file_id, metadata=None)
MMaDA/lmms_eval/lmms_eval/models/batch_gpt4.py:188
↓ 1 callersMethodcreate_batch_input_file
(self, requests_data, file_path="batchinput.jsonl")
MMaDA/lmms_eval/lmms_eval/models/batch_gpt4.py:176
↓ 1 callersMethodcreate_extract_prompt
(self, demo_prompt, response)
MMaDA/lmms_eval/lmms_eval/tasks/mathverse/mathverse_evals.py:161
↓ 1 callersMethodcreate_from_arg_string
Creates an instance of the LMM class using the given argument string and additional config. Parameters: - arg_string: A stri
MMaDA/lmms_eval/lmms_eval/api/model.py:96
↓ 1 callersMethodcreate_image_content
(self, image)
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/scoring/ascii_art_vlm_judge.py:36
↓ 1 callersMethodcreate_image_content
(self, image_path)
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/scoring/vlm_as_judge.py:50
↓ 1 callersFunctioncreate_iterator
Method for creating a (potentially) sliced and limited iterator from a raw document iterator. Used for splitting data among ranks in mult
MMaDA/lmms_eval/lmms_eval/utils.py:689
↓ 1 callersMethodcreate_match_prompt
(self, demo_prompt, question, answer, extraction)
MMaDA/lmms_eval/lmms_eval/tasks/mathverse/mathverse_evals.py:167
↓ 1 callersFunctioncreate_model_config_from_pretrained_config
Utility function
LLaDA/modeling_llada.py:1409
↓ 1 callersFunctioncreate_model_config_from_pretrained_config
Utility function
MMaDA/lmms_eval/lmms_eval/models/model_mmada/modeling_llada.py:1409
↓ 1 callersFunctioncreate_model_config_from_pretrained_config
Utility function
MMaDA/models/modeling_llada.py:1409
↓ 1 callersMethodcreate_one_query
(self, problem, shot_type, hint, query_type, examples=None, shot_num=0, use_caption=False, use_ocr=False)
MMaDA/lmms_eval/lmms_eval/tasks/mathverse/mathverse_evals.py:215
↓ 1 callersMethodcreate_one_query
(self, problem, shot_type, examples=shot_examples, shot_num=0, use_caption=False, use_ocr=False)
MMaDA/lmms_eval/lmms_eval/tasks/mathvista/mathvista_evals.py:364
↓ 1 callersMethodcreate_options_prompt
(self, row_data, option_candidate)
MMaDA/lmms_eval/lmms_eval/tasks/mmupd/mmupd_evals.py:90
↓ 1 callersFunctioncreate_tempdir
()
LLaDA/dataset_utils/eval_correctness_mbpp/execution.py:613
↓ 1 callersMethodcreate_test_prompt
(self, demo_prompt, query, response)
MMaDA/lmms_eval/lmms_eval/tasks/mathvista/mathvista_evals.py:226
↓ 1 callersFunctioncrop_and_split
(fullpage_path, fullpage_split_dict, save_slice_path=None)
MMaDA/lmms_eval/lmms_eval/tasks/mmsearch/utils/image_utils.py:114
↓ 1 callersFunctioncsv2triples
(csv, separator="\\t", delimiter="\\n")
MMaDA/lmms_eval/lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:623
↓ 1 callersFunctioncustom_lemmatize
Custom lemmatization to handle special cases like 'puppies' -> 'puppy'.
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/scoring/constrained_generation.py:16
↓ 1 callersFunctioncuva_aggregate_results_bleurt
(results, args)
MMaDA/lmms_eval/lmms_eval/tasks/cuva/utils.py:176
↓ 1 callersMethoddate2chntext
(self)
MMaDA/lmms_eval/lmms_eval/tasks/librispeech/cn_tn.py:842
↓ 1 callersFunctiondecode_base64_to_image
(base64_string, target_size=-1)
MMaDA/lmms_eval/lmms_eval/tasks/hrbench/utils.py:31
↓ 1 callersFunctiondecode_base64_to_image
(base64_string, target_size=-1)
MMaDA/lmms_eval/lmms_eval/tasks/mme_realworld/utils.py:42
↓ 1 callersMethoddecode_code
(self, codebook_indices, shape=None)
MMaDA/lmms_eval/lmms_eval/models/model_mmada/modeling_magvitv2.py:429
↓ 1 callersMethoddecode_code
(self, codebook_indices, shape=None)
MMaDA/models/modeling_magvitv2.py:429
↓ 1 callersFunctiondecode_utf8
Returns a Unicode object on success, or None on failure
MMaDA/lmms_eval/lmms_eval/tasks/ocrbench_v2/spotting_eval/rrc_evaluation_funcs_1_1.py:86
↓ 1 callersFunctiondecode_video
(video_path: str)
MMaDA/lmms_eval/lmms_eval/tasks/videomathqa/utils.py:17
↓ 1 callersFunctiondecoding_default
Default decoding function from LLaDA paper
LLaDA/decoding.py:7
↓ 1 callersFunctiondecoding_wino
(model, prompt, gen_length=128, block_length=128, temperature=0., mask_id=126336, threshold=0.6, threshold_bac
LLaDA/decoding.py:113
↓ 1 callersMethoddefault_process
(self, visuals, contexts)
MMaDA/lmms_eval/lmms_eval/models/phi4_multimodal.py:193
↓ 1 callersFunctionderive_keyword_stats
Calculate keyword-based statistics for skills, input_format, and output_format.
MMaDA/lmms_eval/lmms_eval/tasks/megabench/breakdown/analysis_utils.py:26
↓ 1 callersFunctiondetailcaps_doc_to_target
(doc)
MMaDA/lmms_eval/lmms_eval/tasks/detailcaps/utils.py:31
↓ 1 callersMethoddevice
(self)
MMaDA/lmms_eval/lmms_eval/models/phi3v.py:109
↓ 1 callersMethoddevice
(self)
MMaDA/lmms_eval/lmms_eval/models/minicpm_v.py:107
↓ 1 callersMethoddevice
(self)
MMaDA/lmms_eval/lmms_eval/models/instructblip.py:111
↓ 1 callersMethoddevice
(self)
MMaDA/lmms_eval/lmms_eval/models/plm.py:137
↓ 1 callersMethoddevice
(self)
MMaDA/lmms_eval/lmms_eval/models/minimonkey.py:108
↓ 1 callersMethoddevice
(self)
MMaDA/lmms_eval/lmms_eval/models/cogvlm2.py:107
↓ 1 callersMethoddevice
(self)
MMaDA/lmms_eval/lmms_eval/models/qwen_vl.py:112
↓ 1 callersMethoddevice
(self)
MMaDA/lmms_eval/lmms_eval/models/auroracap.py:207
↓ 1 callersMethoddevice
(self)
MMaDA/lmms_eval/lmms_eval/models/vora.py:110
↓ 1 callersMethoddevice
(self)
MMaDA/lmms_eval/lmms_eval/models/fuyu.py:135
↓ 1 callersMethoddevice
`torch.device`: The device on which the module is (assuming that all the module parameters are on the same device).
MMaDA/lmms_eval/lmms_eval/models/model_mmada/modeling_utils.py:1010
↓ 1 callersFunctiondisable_torch_init
Disable the redundant torch default initialization to accelerate model creation.
MMaDA/lmms_eval/lmms_eval/models/video_chatgpt/utils.py:1
↓ 1 callersMethoddoc_iterator
(self, *, rank: int = 0, limit: Union[int, None] = None, world_size: int = 1)
MMaDA/lmms_eval/lmms_eval/api/task.py:662
↓ 1 callersFunctiondoc_to_choice
(doc)
MMaDA/lmms_eval/lmms_eval/tasks/mmau/utils.py:32
↓ 1 callersMethoddownload
(self, dataset_kwargs=None)
MMaDA/lmms_eval/lmms_eval/api/task.py:867
↓ 1 callersFunctiondownload_nltk_resources
Download 'punkt' if not already installed
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions_util.py:25
↓ 1 callersFunctiondrop_additional_text
(result)
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/parsing/common/utils.py:104
↓ 1 callersFunctiondynamic_preprocess
(image, min_num=1, max_num=12, image_size=448, use_thumbnail=False)
MMaDA/lmms_eval/lmms_eval/models/minimonkey.py:253
↓ 1 callersFunctiondynamic_preprocess2
(image, min_num=1, max_num=12, prior_aspect_ratio=None, image_size=448, use_thumbnail=False)
MMaDA/lmms_eval/lmms_eval/models/minimonkey.py:284
↓ 1 callersMethodencode_audio
(self, audio)
MMaDA/lmms_eval/lmms_eval/models/gemini_api.py:123
↓ 1 callersMethodencode_image
Encode an image into base64 and return its mime type.
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/scoring/ascii_art_vlm_judge.py:20
↓ 1 callersMethodencode_image
(self, image_path, max_side=None)
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/scoring/vlm_as_judge.py:87
↓ 1 callersMethodencode_image
(self, image)
MMaDA/lmms_eval/lmms_eval/models/claude.py:86
↓ 1 callersMethodencode_image
(self, image: Union[Image.Image, str])
MMaDA/lmms_eval/lmms_eval/models/vllm.py:88
↓ 1 callersMethodencode_image
(self, image)
MMaDA/lmms_eval/lmms_eval/models/reka.py:84
↓ 1 callersMethodencode_image
(self, image: Image)
MMaDA/lmms_eval/lmms_eval/models/batch_gpt4.py:85
↓ 1 callersMethodencode_video
(self, video_path)
MMaDA/lmms_eval/lmms_eval/models/gemini_api.py:117
↓ 1 callersMethodencode_video
(self, video_path)
MMaDA/lmms_eval/lmms_eval/models/claude.py:133
↓ 1 callersMethodencode_video
(self, video_path, for_get_frames_num)
MMaDA/lmms_eval/lmms_eval/models/openai_compatible.py:112
← previousnext →801–900 of 4,510, ranked by callers