MCPcopy Create free account

hub / github.com/FeiElysia/Tempo / functions

Functions7,449 in github.com/FeiElysia/Tempo

↓ 1 callersFunctionosi_bench_doc_to_visual_video
Return video path for native video input mode.
lmms_eval/tasks/osi_bench/utils.py:218
↓ 1 callersFunctionosworld_g_doc_to_text
(doc: Dict[str, Any], lmms_eval_specific_kwargs=None)
lmms_eval/tasks/osworld_g/utils.py:20
↓ 1 callersMethodoverride_metric
Override the default metrics used for evaluation with custom metrics. Parameters: - metric_name (str): The name of the custo
lmms_eval/api/task.py:715
↓ 1 callersFunctionovo_doc_to_visual
Return the relevant video chunk path for the document/round.
lmms_eval/tasks/ovobench/utils.py:88
↓ 1 callersMethodpad_sequence
(self, input_ids, batch_first, padding_value)
lmms_eval/models/simple/slime.py:172
↓ 1 callersMethodpad_sequence
(self, input_ids, batch_first, padding_value)
lmms_eval/models/simple/llava.py:172
↓ 1 callersMethodpad_sequence
(self, input_ids, batch_first, padding_value)
lmms_eval/models/simple/llava_onevision_moviechat.py:233
↓ 1 callersMethodpad_sequence
(self, input_ids, batch_first, padding_value)
lmms_eval/models/simple/ross.py:172
↓ 1 callersMethodpad_sequence
(self, input_ids, batch_first, padding_value)
lmms_eval/models/simple/egogpt.py:193
↓ 1 callersMethodpad_sequence
(self, input_ids, batch_first, padding_value)
lmms_eval/models/simple/longva.py:214
↓ 1 callersMethodpad_sequence
(self, input_ids, batch_first, padding_value)
lmms_eval/models/simple/auroracap.py:192
↓ 1 callersMethodpad_sequence
(self, input_ids, batch_first, padding_value)
lmms_eval/models/simple/tinyllava.py:147
↓ 1 callersFunctionpadding_336
(b)
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/api/metrics.py:816
↓ 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/tasks/ocrbench_v2/parallel.py:6
↓ 1 callersFunctionparse_acc
(review)
lmms_eval/tasks/FALCONBench/utils.py:446
↓ 1 callersFunctionparse_acc
(review)
lmms_eval/tasks/moviechat/utils.py:185
↓ 1 callersFunctionparse_answer
(raw_answer)
lmms_eval/tasks/mantis/utils.py:44
↓ 1 callersFunctionparse_answer
(text)
lmms_eval/tasks/_task_utils/mmmu_mcq_utils.py:251
↓ 1 callersFunctionparse_args
()
lmms_eval/tasks/mmsearch/get_final_scores.py:28
↓ 1 callersFunctionparse_args
()
lmms_eval/tasks/mmlu/_generate_configs.py:76
↓ 1 callersFunctionparse_bbox
Extract bounding box from JSON format: {"bbox_2d": [x1, y1, x2, y2]} or {"bbox_2d": null}.
lmms_eval/tasks/groundingme/utils.py:145
↓ 1 callersFunctionparse_bool_response
Parse boolean response from LLM.
lmms_eval/tasks/babyvision/utils.py:34
↓ 1 callersFunctionparse_bool_response
Parse boolean response from LLM.
lmms_eval/tasks/babyvision_gen/utils.py:59
↓ 1 callersFunctionparse_by_llm
(response, model="gpt-4o-mini", max_tokens=32)
lmms_eval/tasks/vl_rewardbench/utils.py:85
↓ 1 callersFunctionparse_constraints
(key_string, value_string)
lmms_eval/tasks/megabench/metrics/scoring/constrained_generation.py:251
↓ 1 callersFunctionparse_eval_args
()
lmms_eval/__main__.py:148
↓ 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/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/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/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/tasks/refcocog/utils_rec.py:56
↓ 1 callersFunctionparse_gemini_response
Parse JSON from Gemini response with better error handling.
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/tasks/imgedit/utils.py:93
↓ 1 callersMethodparse_gt_pre_post_cond
(self)
lmms_eval/tasks/megabench/metrics/scoring/symbolic_planning.py:131
↓ 1 callersFunctionparse_image_name
Parse image_name -> (shape, scene) Example: animal-1-Medieval_Village-Easy-1.5-90.png -> ("animal", "Medieval_Village")
lmms_eval/tasks/unig2u/illusionbench/arshia_utils.py:119
↓ 1 callersFunctionparse_jmmmu_multi_choice_response
(response, all_choices, index2ans)
lmms_eval/tasks/_task_utils/mmmu_mcq_utils.py:68
↓ 1 callersFunctionparse_jmmmu_pro_multi_choice_response
(response, all_choices)
lmms_eval/tasks/_task_utils/mmmu_mcq_utils.py:194
↓ 1 callersFunctionparse_last_yes_no
(text: str)
lmms_eval/tasks/spatialtreebench/metrics/rule_metrics.py:494
↓ 1 callersFunctionparse_llm_output_for_captioning
(llm_output, gt_answer)
lmms_eval/tasks/tempcompass/utils.py:354
↓ 1 callersFunctionparse_math_answer
(raw_string)
lmms_eval/tasks/scibench/utils.py:6
↓ 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/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/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/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. Uses the shared MCQ extractor for robust
lmms_eval/tasks/videommmu/utils.py:390
↓ 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/tasks/egoschema/utils.py:90
↓ 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/tasks/air_bench/utils.py:217
↓ 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/tasks/jmmmu_pro/utils.py:400
↓ 1 callersFunctionparse_multi_choice_response
Parse the prediction from the generated response. Return the predicted index e.g., A, B, C, D.
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/tasks/longvideobench/utils.py:187
↓ 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/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/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/tasks/jmmmu/utils.py:260
↓ 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/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/tasks/mmmu_pro/utils.py:302
↓ 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/tasks/mmmu_pro/reasoning/utils.py:321
↓ 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/tasks/perceptioncomp/utils.py:152
↓ 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/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/tasks/lemonade/utils.py:155
↓ 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/tasks/mmmu/utils.py:401
↓ 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/tasks/mmmu/utils_group_img.py:380
↓ 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/tasks/mmmu/reasoning/utils.py:324
↓ 1 callersFunctionparse_multi_choice_response
Parse the prediction from the generated response. Return the predicted index e.g., A, B, C, D. Adapted from MMMU: https://github.com/MMMU
lmms_eval/tasks/mmsu/utils.py:178
↓ 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/tasks/sitebench/utils.py:51
↓ 1 callersFunctionparse_multi_choice_response
Parse the prediction from the generated response. Return the predicted index e.g., A, B, C, D. Adapted from MMMU evaluation utils: h
lmms_eval/tasks/mmar/utils.py:118
↓ 1 callersFunctionparse_multi_choice_response
(response)
lmms_eval/tasks/mirb/utils.py:104
↓ 1 callersFunctionparse_multi_choice_response
(response, all_choices)
lmms_eval/tasks/omni_bench/utils.py:102
↓ 1 callersFunctionparse_multi_choice_response
(response, all_choices, index2ans)
lmms_eval/tasks/spatialtreebench/metrics/rule_metrics.py:132
↓ 1 callersFunctionparse_multi_choice_response
Parse the prediction from the generated response. Return the predicted index e.g., A, B, C, D.
lmms_eval/tasks/av_odyssey/utils.py:135
↓ 1 callersFunctionparse_multi_choice_response
Parse the prediction from the generated response. Return the predicted index e.g., A, B, C, D, E, F. Adapted from MMMU: https://github.co
lmms_eval/tasks/video_holmes/utils.py:141
↓ 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/tasks/mmt/utils.py:160
↓ 1 callersFunctionparse_multi_choice_response
Parse the prediction from the generated response. Return the predicted index e.g., A, B, C, D.
lmms_eval/tasks/tomato/utils.py:214
↓ 1 callersFunctionparse_nested_str_list
(input_string)
lmms_eval/tasks/megabench/metrics/parsing/common/parsers.py:98
↓ 1 callersFunctionparse_not
(inputs)
lmms_eval/tasks/scibench/utils.py:92
↓ 1 callersFunctionparse_open_response
Parse the prediction from the generated response. Return a list of predicted strings or numbers.
lmms_eval/tasks/videommmu/utils.py:459
↓ 1 callersFunctionparse_open_response
Parse the prediction from the generated response. Return a list of predicted strings or numbers. https://github.com/MMMU-Benchmark/MMMU/b
lmms_eval/tasks/jmmmu/utils.py:334
↓ 1 callersFunctionparse_open_response
Parse the prediction from the generated response. Return a list of predicted strings or numbers. https://github.com/MMMU-Benchmark/MMMU/b
lmms_eval/tasks/mmmu/utils.py:473
↓ 1 callersFunctionparse_open_response
Parse the prediction from the generated response. Return a list of predicted strings or numbers. https://github.com/MMMU-Benchmark/MMMU/b
lmms_eval/tasks/mmmu/utils_group_img.py:452
↓ 1 callersFunctionparse_open_response
Parse the prediction from the generated response. Return a list of predicted strings or numbers. https://github.com/MMMU-Benchmark/MMMU/b
lmms_eval/tasks/mmmu/reasoning/utils.py:396
↓ 1 callersFunctionparse_open_response
Parse the prediction from the generated response. Return a list of predicted strings or numbers. https://github.com/MMMU-Benchmark/MMMU/b
lmms_eval/tasks/mirb/utils.py:121
↓ 1 callersFunctionparse_options
(options)
lmms_eval/tasks/jmmmu_pro/utils.py:39
↓ 1 callersFunctionparse_options
(options)
lmms_eval/tasks/jmmmu/utils.py:39
↓ 1 callersFunctionparse_options
Format a list of multiple-choice options into a string. The function assigns letters to each option and returns them in a newline-separated s
lmms_eval/tasks/lemonade/utils.py:64
↓ 1 callersFunctionparse_options
(options)
lmms_eval/tasks/mmmu/utils_group_img.py:147
↓ 1 callersFunctionparse_options
(options)
lmms_eval/tasks/mmmu/reasoning/utils.py:42
↓ 1 callersFunctionparse_pddl_param_list
(s)
lmms_eval/tasks/megabench/metrics/scoring/symbolic_planning.py:8
↓ 1 callersFunctionparse_pred_ans
(pred_ans)
lmms_eval/tasks/vl_rewardbench/utils.py:63
↓ 1 callersFunctionparse_pred_ans
Brought from Otter Eval
lmms_eval/tasks/mme/utils.py:48
↓ 1 callersFunctionparse_pred_ans_NY
(pred_ans)
lmms_eval/tasks/conbench/utils.py:26
↓ 1 callersFunctionparse_pred_ans_choice
(pred_ans)
lmms_eval/tasks/conbench/utils.py:42
↓ 1 callersFunctionparse_predicted_masks
Extract COCO-RLE mask dicts from the model JSON response. Accepts:: {"masks": [...], "boxes": [...], "scores": [...]} or a bare lis
lmms_eval/tasks/saco/utils.py:101
↓ 1 callersFunctionparse_reasoning_tags_config
Resolve reasoning_tags from CLI + task config. Priority: task_value > cli_value. "none" / None = disabled.
lmms_eval/api/reasoning.py:34
↓ 1 callersFunctionparse_response
Return the last letter appearing after 'ANSWER:' in the input text. If there's no match, return None.
lmms_eval/tasks/VisualPuzzles/utils.py:24
↓ 1 callersFunctionparse_response
Parse the response based on the task type. Return None if the response does not follow the expected format.
lmms_eval/tasks/vlmsareblind/utils.py:42
↓ 1 callersMethodparse_results
This parsing function is based on the output prompt setting in the file "gpt4o_judge_prompt.json"
lmms_eval/tasks/megabench/metrics/scoring/vlm_as_judge.py:192
↓ 1 callersFunctionparse_score
(review)
lmms_eval/tasks/ferret/utils.py:87
↓ 1 callersFunctionparse_score
(review)
lmms_eval/tasks/llava_wilder/utils.py:79
↓ 1 callersFunctionparse_score
(review)
lmms_eval/tasks/FALCONBench/utils.py:429
↓ 1 callersFunctionparse_score
(review)
lmms_eval/tasks/llava-in-the-wild/utils_ko.py:72
↓ 1 callersFunctionparse_score
(review)
lmms_eval/tasks/cvrr/utils.py:163
↓ 1 callersFunctionparse_score
(review)
lmms_eval/tasks/video-tt/gpt_utils.py:109
← previousnext →2,601–2,700 of 7,449, ranked by callers