MCPcopy Create free account

hub / github.com/Fanziyang-v/FlashVID / functions

Functions6,334 in github.com/Fanziyang-v/FlashVID

↓ 1 callersFunctionmedqa_doc_to_target
Return the ground-truth answer letter. MEDQA on HF commonly provides either: - "answer_idx": a letter like "A"/"B"/... OR - "answer"
lmms-eval/lmms_eval/tasks/medqa/utils.py:29
↓ 1 callersFunctionmerge_json_files
Merge multiple JSON files containing evaluation results from a directory. Looks for all files matching pattern 'data_with_scores*.json'.
lmms-eval/lmms_eval/tasks/megabench/breakdown/derive_breakdown_results.py:60
↓ 1 callersFunctionmindcube_process_results
Process the results of the MindCube cognitive map evaluation. Args: result (dict): The raw results of the evaluation. Returns:
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/__init__.py:11
↓ 1 callersFunctionmix_evals_image2text_aggregate_submissions
(results, args, task)
lmms-eval/lmms_eval/tasks/mix_evals/image2text/utils.py:304
↓ 1 callersFunctionmix_evals_video2text_aggregate_submissions
(results, args, task)
lmms-eval/lmms_eval/tasks/mix_evals/video2text/utils.py:273
↓ 1 callersFunctionmmbench_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/mmbench/en_reasoning/utils.py:38
↓ 1 callersFunctionmmmu_doc_to_messages_qwen3vl
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/mmmu/utils.py:98
↓ 1 callersFunctionmmmu_doc_to_text_qwen3vl
Adapted from Qwen3-VL Technical Report: https://arxiv.org/pdf/2511.21631
lmms-eval/lmms_eval/tasks/mmmu_pro/utils.py:57
↓ 1 callersFunctionmmmu_doc_to_text_qwen3vl
Adapted from Qwen3-VL Technical Report: https://arxiv.org/pdf/2511.21631
lmms-eval/lmms_eval/tasks/mmmu/utils.py:77
↓ 1 callersFunctionmmmu_pro_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/mmmu_pro/reasoning/utils.py:67
↓ 1 callersMethodmodel
(self)
lmms-eval/lmms_eval/models/simple/slime.py:156
↓ 1 callersMethodmodel
(self)
lmms-eval/lmms_eval/models/simple/cambrian.py:170
↓ 1 callersMethodmodel
(self)
lmms-eval/lmms_eval/models/simple/llava.py:156
↓ 1 callersMethodmodel
(self)
lmms-eval/lmms_eval/models/simple/llava_onevision.py:240
↓ 1 callersMethodmodel
(self)
lmms-eval/lmms_eval/models/simple/ross.py:156
↓ 1 callersMethodmodel
(self)
lmms-eval/lmms_eval/models/simple/llava_hf.py:150
↓ 1 callersMethodmodel
(self)
lmms-eval/lmms_eval/models/simple/llava_vid.py:293
↓ 1 callersMethodmodel
(self)
lmms-eval/lmms_eval/models/simple/longva.py:198
↓ 1 callersMethodmodel
(self)
lmms-eval/lmms_eval/models/simple/vila.py:150
↓ 1 callersMethodmodel
(self)
lmms-eval/lmms_eval/models/simple/qwen_vl.py:86
↓ 1 callersMethodmodel
(self)
lmms-eval/lmms_eval/models/simple/fuyu.py:112
↓ 1 callersMethodmoney2chntext
(self)
lmms-eval/lmms_eval/tasks/librispeech/cn_tn.py:883
↓ 1 callersFunctionmonkeypatch_math_verify_logger
replace the loggers in math_verify with a self-returning object, so that it does not print any logs
lmms-eval/lmms_eval/tasks/_task_utils/math_verify_utils.py:68
↓ 1 callersFunctionmultidocvqa_aggregate_results_anls
(results)
lmms-eval/lmms_eval/tasks/multidocvqa/utils.py:29
↓ 1 callersFunctionmute_eval_logger
()
lmms-eval/lmms_eval/tasks/xlrs/mcq_utils.py:183
↓ 1 callersMethodnoised_embed
(self, vit_embeds, noise_alpha=5)
lmms-eval/lmms_eval/models/simple/internvl.py:273
↓ 1 callersFunctionnormalize
(response)
lmms-eval/lmms_eval/tasks/voicebench/utils.py:319
↓ 1 callersFunctionnormalize_answer
Lower text and remove punctuation, articles and extra whitespace.
lmms-eval/lmms_eval/tasks/mmsearch/score/f1_score.py:6
↓ 1 callersMethodnormalize_extracted_answer
Normalize the extracted answer to match the answer type
lmms-eval/lmms_eval/tasks/mathvista/mathvista_evals.py:275
↓ 1 callersFunctionnormalize_gt_letter
Extract ground truth answer letter from question.
lmms-eval/lmms_eval/tasks/captionqa/utils.py:291
↓ 1 callersFunctionnormalize_nsw
(raw_text)
lmms-eval/lmms_eval/tasks/librispeech/cn_tn.py:910
↓ 1 callersMethodnormalized_distance
Get distance from 0 to 1
lmms-eval/lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:56
↓ 1 callersMethodnumerical_equal
(self, expression1: str, expression2: str, include_percentage: bool = True)
lmms-eval/lmms_eval/tasks/olympiadbench_mimo/olympiadbench_evals.py:170
↓ 1 callersMethodnumerical_equal
(self, expression1: str, expression2: str, include_percentage: bool = True)
lmms-eval/lmms_eval/tasks/olympiadbench/olympiadbench_evals.py:168
↓ 1 callersFunctionocrbench_v2_doc_to_text
(doc)
lmms-eval/lmms_eval/tasks/ocrbench_v2/utils.py:67
↓ 1 callersFunctionocrbench_v2_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/ocrbench_v2/utils.py:58
↓ 1 callersFunctionocrbench_v2_process_results
(doc, results)
lmms-eval/lmms_eval/tasks/ocrbench_v2/utils.py:92
↓ 1 callersFunctionoe_rogue
(answer, pred)
lmms-eval/lmms_eval/tasks/llava_interleave_bench/utils.py:168
↓ 1 callersFunctionolympiadbench_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/olympiadbench_mimo/reasoning/utils.py:12
↓ 1 callersFunctionomni_bench_doc_to_target
(doc)
lmms-eval/lmms_eval/tasks/omni_bench/utils.py:58
↓ 1 callersFunctionomnispatial_doc_to_text
(doc: dict[str, Any])
lmms-eval/lmms_eval/tasks/omnispatial/utils.py:55
↓ 1 callersFunctionopenasr_doc_to_target
(doc)
lmms-eval/lmms_eval/tasks/open_asr/utils.py:54
↓ 1 callersMethodoverride_metric
Override the default metrics used for evaluation with custom metrics. Parameters: - metric_name (str): The name of the custo
lmms-eval/lmms_eval/api/task.py:625
↓ 1 callersFunctionovo_doc_to_visual
Return the relevant video chunk path for the document/round.
lmms-eval/lmms_eval/tasks/ovobench/utils.py:88
↓ 1 callersMethodpad_sequence
(self, input_ids, batch_first, padding_value)
lmms-eval/lmms_eval/models/simple/slime.py:172
↓ 1 callersMethodpad_sequence
(self, input_ids, batch_first, padding_value)
lmms-eval/lmms_eval/models/simple/llava.py:172
↓ 1 callersMethodpad_sequence
(self, input_ids, batch_first, padding_value)
lmms-eval/lmms_eval/models/simple/llava_onevision_moviechat.py:233
↓ 1 callersMethodpad_sequence
(self, input_ids, batch_first, padding_value)
lmms-eval/lmms_eval/models/simple/ross.py:172
↓ 1 callersMethodpad_sequence
(self, input_ids, batch_first, padding_value)
lmms-eval/lmms_eval/models/simple/egogpt.py:193
↓ 1 callersMethodpad_sequence
(self, input_ids, batch_first, padding_value)
lmms-eval/lmms_eval/models/simple/longva.py:214
↓ 1 callersMethodpad_sequence
(self, input_ids, batch_first, padding_value)
lmms-eval/lmms_eval/models/simple/auroracap.py:192
↓ 1 callersMethodpad_sequence
(self, input_ids, batch_first, padding_value)
lmms-eval/lmms_eval/models/simple/tinyllava.py:147
↓ 1 callersFunctionpadding_336
(b)
lmms-eval/lmms_eval/models/simple/xcomposer2_4KHD.py:233
↓ 1 callersFunctionpaired_ttest
Perform paired t-test comparing current model scores against baseline. This implements a paired-differences test for model comparison, compu
lmms-eval/lmms_eval/api/metrics.py:814
↓ 1 callersFunctionparallel_process
A parallel version of the map function with a progress bar. Args: array (array-like): An array to iterate over. function (fu
lmms-eval/lmms_eval/tasks/ocrbench_v2/parallel.py:6
↓ 1 callersFunctionparse_acc
(review)
lmms-eval/lmms_eval/tasks/FALCONBench/utils.py:446
↓ 1 callersFunctionparse_acc
(review)
lmms-eval/lmms_eval/tasks/moviechat/utils.py:185
↓ 1 callersFunctionparse_answer
Parse a model free-form response and return an answer letter (A–Z) or None. Priority: 1) Explicit marker ("Answer/正解/Final/
lmms-eval/lmms_eval/tasks/jmmmu_pro/utils.py:462
↓ 1 callersFunctionparse_answer
(raw_answer)
lmms-eval/lmms_eval/tasks/mantis/utils.py:44
↓ 1 callersFunctionparse_args
()
lmms-eval/tools/regression.py:27
↓ 1 callersFunctionparse_args
()
lmms-eval/lmms_eval/tasks/mmsearch/get_final_scores.py:28
↓ 1 callersFunctionparse_args
()
lmms-eval/lmms_eval/tasks/mmlu/_generate_configs.py:76
↓ 1 callersFunctionparse_args
Parse command line arguments.
playground/llava_vid_infer.py:84
↓ 1 callersFunctionparse_args
Parse command line arguments.
playground/llava_ov_infer.py:79
↓ 1 callersFunctionparse_args
()
playground/qwen3_vl.py:91
↓ 1 callersFunctionparse_args
()
playground/qwen2_5_vl.py:90
↓ 1 callersFunctionparse_bbox
Extract bounding box from JSON format: {"bbox_2d": [x1, y1, x2, y2]} or {"bbox_2d": null}.
lmms-eval/lmms_eval/tasks/groundingme/utils.py:145
↓ 1 callersFunctionparse_bool_response
Parse boolean response from LLM.
lmms-eval/lmms_eval/tasks/babyvision/utils.py:34
↓ 1 callersFunctionparse_bool_response
Parse boolean response from LLM.
lmms-eval/lmms_eval/tasks/babyvision_gen/utils.py:59
↓ 1 callersFunctionparse_by_llm
(response, model="gpt-4o-mini", max_tokens=32)
lmms-eval/lmms_eval/tasks/vl_rewardbench/utils.py:85
↓ 1 callersFunctionparse_constraints
(key_string, value_string)
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/constrained_generation.py:251
↓ 1 callersFunctionparse_eval_args
()
lmms-eval/lmms_eval/__main__.py:172
↓ 1 callersFunctionparse_float_sequence_within
Extract the first sequence of four floating-point numbers within square brackets from a string. Args: input_str (str): A string that may
lmms-eval/lmms_eval/tasks/refcoco+/utils_rec.py:56
↓ 1 callersFunctionparse_float_sequence_within
Extract the first sequence of four floating-point numbers within square brackets from a string. Args: input_str (str): A string that may
lmms-eval/lmms_eval/tasks/refcoco/utils_rec.py:56
↓ 1 callersFunctionparse_float_sequence_within
Extract the first sequence of four floating-point numbers within square brackets from a string. Args: input_str (str): A string that may
lmms-eval/lmms_eval/tasks/screenspot/utils_rec.py:19
↓ 1 callersFunctionparse_float_sequence_within
Extract the first sequence of four floating-point numbers within square brackets from a string. Args: input_str (str): A string that may
lmms-eval/lmms_eval/tasks/refcocog/utils_rec.py:56
↓ 1 callersFunctionparse_gemini_response
Parse JSON from Gemini response with better error handling.
lmms-eval/lmms_eval/tasks/ueval/utils.py:93
↓ 1 callersFunctionparse_gpt_scores
Parse GPT/Qwen response to extract three scores. Returns tuple of (score1, score2, score3)
lmms-eval/lmms_eval/tasks/imgedit/utils.py:93
↓ 1 callersMethodparse_gt_pre_post_cond
(self)
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/symbolic_planning.py:131
↓ 1 callersFunctionparse_last_yes_no
(text: str)
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/rule_metrics.py:494
↓ 1 callersFunctionparse_llm_output_for_captioning
(llm_output, gt_answer)
lmms-eval/lmms_eval/tasks/tempcompass/utils.py:354
↓ 1 callersFunctionparse_math_answer
(raw_string)
lmms-eval/lmms_eval/tasks/scibench/utils.py:6
↓ 1 callersFunctionparse_mcq
Parse multiple choice answers from various formats. Handles formats like: "A", "A.", "A)", "(A)", "The answer is A", "A: xxx", etc.
lmms-eval/lmms_eval/tasks/_task_utils/reasoning_utils.py:197
↓ 1 callersFunctionparse_multi_choice_response
Parse the prediction from the generated response. Return the predicted choice letter e.g., A, B, C, D.
lmms-eval/lmms_eval/tasks/mmau/utils.py:80
↓ 1 callersFunctionparse_multi_choice_response
Parse the prediction from the generated response. Return the predicted index e.g., A, B, C, D. https://github.com/MMMU-Benchmark/MMMU/blo
lmms-eval/lmms_eval/tasks/nextqa/utils.py:81
↓ 1 callersFunctionparse_multi_choice_response
Parse the prediction from the generated response. Return the predicted choice letter e.g., A, B, C, D.
lmms-eval/lmms_eval/tasks/super_gpqa/utils.py:37
↓ 1 callersFunctionparse_multi_choice_response
Parse the prediction from the generated response. Return the predicted index e.g., A, B, C, D.
lmms-eval/lmms_eval/tasks/videommmu/utils.py:325
↓ 1 callersFunctionparse_multi_choice_response
Parse the prediction from the generated response. Return the predicted index e.g., A, B, C, D. https://github.com/MMMU-Benchmark/MMMU/blo
lmms-eval/lmms_eval/tasks/egoschema/utils.py:100
↓ 1 callersFunctionparse_multi_choice_response
Parse the prediction from the generated response. Return the predicted choice letter e.g., A, B, C, D.
lmms-eval/lmms_eval/tasks/air_bench/utils.py:229
↓ 1 callersFunctionparse_multi_choice_response
Parse the prediction from the generated response using answer_parser logic. Return the predicted index e.g., A, B, C, D, or "X" if not parsed
lmms-eval/lmms_eval/tasks/jmmmu_pro/utils.py:394
↓ 1 callersFunctionparse_multi_choice_response
Parse the prediction from the generated response. Return the predicted index e.g., A, B, C, D.
lmms-eval/lmms_eval/tasks/vmcbench/utils.py:55
↓ 1 callersFunctionparse_multi_choice_response
Changed from MMMU-style complex parsing into simple parsing. Fixed to avoid 'D. A book' be parsed as A. Same as original LongVideoBench p
lmms-eval/lmms_eval/tasks/longvideobench/utils.py:198
↓ 1 callersFunctionparse_multi_choice_response
Parse the prediction from the generated response. Return the predicted choice letter e.g., A, B, C, D.
lmms-eval/lmms_eval/tasks/muchomusic/utils.py:36
↓ 1 callersFunctionparse_multi_choice_response
Changed from MMMU-style complex parsing into simple parsing. Fixed to avoid 'D. A book' be parsed as A. Same as original LongVideoBench p
lmms-eval/lmms_eval/tasks/paibench_u/utils.py:48
↓ 1 callersFunctionparse_multi_choice_response
Parse the prediction from the generated response. Return the predicted index e.g., A, B, C, D. https://github.com/MMMU-Benchmark/MMMU/blo
lmms-eval/lmms_eval/tasks/jmmmu/utils.py:255
↓ 1 callersFunctionparse_multi_choice_response
Parse the model text into a choice label. Args: response: Raw model string. all_choices: Valid labels, e.g., ["A","B","C","D
lmms-eval/lmms_eval/tasks/av_speakerbench/utils.py:129
↓ 1 callersFunctionparse_multi_choice_response
Parse the prediction from the generated response. Return the predicted index e.g., A, B, C, D. https://github.com/MMMU-Benchmark/MMMU/blo
lmms-eval/lmms_eval/tasks/mmmu_pro/utils.py:296
↓ 1 callersFunctionparse_multi_choice_response
Parse the prediction from the generated response. Return the predicted index e.g., A, B, C, D. https://github.com/MMMU-Benchmark/MMMU/blo
lmms-eval/lmms_eval/tasks/mmmu_pro/reasoning/utils.py:317
↓ 1 callersFunctionparse_multi_choice_response
Parse the prediction from the generated response. Return the predicted choice letter e.g., A, B, C, D.
lmms-eval/lmms_eval/tasks/csbench/utils.py:41
↓ 1 callersFunctionparse_multi_choice_response
Parse a model response and return the predicted choice label (e.g., "A", "B", "C", "D"). Args: response (str): The generated respons
lmms-eval/lmms_eval/tasks/lemonade/utils.py:155
← previousnext →2,001–2,100 of 6,334, ranked by callers