MCPcopy Create free account

hub / github.com/FeiElysia/Tempo / functions

Functions7,449 in github.com/FeiElysia/Tempo

↓ 1 callersFunctionparse_score
(review)
lmms_eval/tasks/video_detail_description/utils.py:154
↓ 1 callersFunctionparse_score
(review)
lmms_eval/tasks/multilingual-llava-bench-in-the-wild/utils.py:62
↓ 1 callersFunctionparse_score
(review)
lmms_eval/tasks/llava-bench-coco/utils.py:72
↓ 1 callersFunctionparse_score
(review)
lmms_eval/tasks/moviechat/utils.py:168
↓ 1 callersFunctionparse_score
(review)
lmms_eval/tasks/spatialtreebench/metrics/rule_metrics.py:404
↓ 1 callersFunctionparse_single_letter
(s)
lmms_eval/tasks/megabench/metrics/scoring/exact_str_match.py:6
↓ 1 callersFunctionparse_syllable_ranges
Convert a bunch of syllable ranges into a list of intervals. Examples: parse_syllable_ranges('[7,10][7, 10][5,7][5,7][7,10]') >>>
lmms_eval/tasks/megabench/metrics/parsing/common/parsers.py:111
↓ 1 callersFunctionpatch_autoconfig_register
Patch AutoConfig.register to allow re-registering existing configs. This is needed because some model repos (like Ovis-U1) try to register co
lmms_eval/models/simple/ovis_u1.py:44
↓ 1 callersMethodpercentage2chntext
(self)
lmms_eval/tasks/librispeech/cn_tn.py:906
↓ 1 callersFunctionperceptioncomp_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/perceptioncomp/utils.py:98
↓ 1 callersFunctionperceptioncomp_doc_to_text_reasoning
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/perceptioncomp/utils.py:126
↓ 1 callersFunctionperpare_input_for_qwen_input
Currently, only batch size = 1 is supported for evaluation.
tempo/mm_datautils.py:224
↓ 1 callersMethodpixel_shuffle
(self, x, scale_factor=0.5)
lmms_eval/models/simple/internvl.py:254
↓ 1 callersFunctionpixmo_count_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/pixmo_count/utils.py:5
↓ 1 callersFunctionplm_rtloc_doc_to_target
(doc)
lmms_eval/tasks/plm_videobench/rtloc/rtloc_utils.py:45
↓ 1 callersFunctionpoint_distance
Return the distance between two points.
lmms_eval/tasks/megabench/metrics/scoring/common/metrics.py:94
↓ 1 callersFunctionpooled_sample_stderr
(stderrs: List[float], sizes: List[int])
lmms_eval/api/metrics.py:621
↓ 1 callersFunctionpope_aggregate_precision
(results)
lmms_eval/tasks/pope/utils.py:39
↓ 1 callersFunctionpope_aggregate_recall
(results)
lmms_eval/tasks/pope/utils.py:53
↓ 1 callersFunctionpopulate_grading_inputs
(batch)
lmms_eval/tasks/charxiv/descriptive_utils.py:88
↓ 1 callersMethodpost_processing
(self, response)
lmms_eval/models/simple/internvl.py:400
↓ 1 callersMethodpostprocess
(self, s: str)
lmms_eval/tasks/gigaspeech/whisper_normalizer/english.py:396
↓ 1 callersMethodpostprocess
(self, s: str)
lmms_eval/tasks/librispeech/whisper_normalizer/english.py:396
↓ 1 callersFunctionpostprocess_descriptive_grading_queries
(queries)
lmms_eval/tasks/charxiv/descriptive_utils.py:155
↓ 1 callersFunctionpostprocess_jsonl
(llm, sampling_params, tokenizer, sample_jsonl, output_jsonl)
lmms_eval/tasks/videomathqa/cot_postprocess.py:89
↓ 1 callersFunctionpre_clean
(text)
lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:436
↓ 1 callersFunctionpre_parser
(response, all_choices, index2ans)
lmms_eval/tasks/tomato/utils.py:270
↓ 1 callersFunctionpredict_win_rate
(elo_ratings, SCALE=400, BASE=10, INIT_RATING=1000)
lmms_eval/tasks/wild_vision_bench/utils.py:279
↓ 1 callersMethodprefetch_answer
(self, item, question_type)
lmms_eval/tasks/mmupd/mmupd_evals.py:396
↓ 1 callersMethodprefetch_answer
(self, item)
lmms_eval/tasks/mmbench/mmbench_evals.py:125
↓ 1 callersFunctionprepare_batch_prompts
(batch)
lmms_eval/tasks/videomathqa/cot_step_evaluation.py:102
↓ 1 callersMethodprepare_eval_prompt
Prepare the evaluation prompt.
lmms_eval/tasks/megabench/metrics/scoring/ascii_art_vlm_judge.py:43
↓ 1 callersMethodprepare_eval_prompt
(self, reference, response, images, question, eval_context=None)
lmms_eval/tasks/megabench/metrics/scoring/vlm_as_judge.py:106
↓ 1 callersFunctionprepare_input
(sample, matched)
lmms_eval/tasks/videomathqa/cot_step_evaluation.py:91
↓ 1 callersFunctionprepare_print_tasks
@param task_dict: Dictionary representing the group hierarchy of tasks. Each key is a group name and its value is a list of task names. @
lmms_eval/evaluator_utils.py:298
↓ 1 callersFunctionprepare_server_args
Parse command line arguments and return ServerArgs.
lmms_eval/launch_server.py:10
↓ 1 callersMethodpreprocess
(self, expression1, expression2)
lmms_eval/tasks/olympiadbench_mimo/olympiadbench_evals.py:286
↓ 1 callersMethodpreprocess
(self, s: str)
lmms_eval/tasks/gigaspeech/whisper_normalizer/english.py:367
↓ 1 callersMethodpreprocess
(self, s: str)
lmms_eval/tasks/librispeech/whisper_normalizer/english.py:367
↓ 1 callersMethodpreprocess_answer
(self, annotated_answer: str)
lmms_eval/tasks/_task_utils/math_verify_utils.py:114
↓ 1 callersFunctionpreprocess_llama_2
( sources, tokenizer: transformers.PreTrainedTokenizer, has_image: bool = False, )
tempo/mm_datautils.py:692
↓ 1 callersFunctionpreprocess_mpt
( sources, tokenizer: transformers.PreTrainedTokenizer, has_image: bool = False, )
tempo/mm_datautils.py:1425
↓ 1 callersFunctionpreprocess_phi3
( sources, tokenizer: transformers.PreTrainedTokenizer, has_image: bool = False, )
tempo/mm_datautils.py:1319
↓ 1 callersFunctionpreprocess_plain
( sources: Sequence[str], tokenizer: transformers.PreTrainedTokenizer, )
tempo/mm_datautils.py:1522
↓ 1 callersFunctionpreprocess_qwen
( sources, tokenizer: transformers.PreTrainedTokenizer, has_image: bool = False, system_messag
tempo/mm_datautils.py:924
↓ 1 callersFunctionpreprocess_v1
( sources, tokenizer: transformers.PreTrainedTokenizer, has_image: bool = False, )
tempo/mm_datautils.py:780
↓ 1 callersFunctionprint_help
()
lmms_eval/tasks/ocrbench_v2/spotting_eval/rrc_evaluation_funcs_1_1.py:19
↓ 1 callersFunctionprint_tree
(node, prefix="")
lmms_eval/tasks/spatialtreebench/utils.py:331
↓ 1 callersFunctionprint_writeout
Print first few documents for debugging purposes. DEPRECATED: This function is deprecated and will be removed in v0.5.0. Use log_samples func
lmms_eval/evaluator_utils.py:267
↓ 1 callersFunctionprocess
(image, question, tokenizer, image_processor, model_config, conv_mode)
lmms_eval/models/simple/cambrian.py:41
↓ 1 callersFunctionprocessPunctuation
(inText)
lmms_eval/tasks/llava_interleave_bench/utils.py:121
↓ 1 callersFunctionprocessPunctuation
(inText)
lmms_eval/tasks/mvbench/utils.py:102
↓ 1 callersMethodprocess_audio
Process audio array to format of Ola model
lmms_eval/models/simple/ola.py:394
↓ 1 callersMethodprocess_av_odessy
(self, visuals, context)
lmms_eval/models/simple/phi4_multimodal.py:224
↓ 1 callersFunctionprocess_data
(obj)
lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:317
↓ 1 callersFunctionprocess_discriminative_task
Process a discriminative task item and update the metrics dictionary accordingly.
lmms_eval/tasks/amber_g/utils.py:236
↓ 1 callersFunctionprocess_generative_task
Process a generative task item and update the metrics dictionary accordingly.
lmms_eval/tasks/amber_g/utils.py:150
↓ 1 callersFunctionprocess_images_horizontal
(original_images, size)
lmms_eval/tasks/mmvetv2/utils.py:93
↓ 1 callersFunctionprocess_images_horizontal
(original_images, size)
lmms_eval/tasks/mmmu/utils_group_img.py:86
↓ 1 callersFunctionprocess_images_vertical
(original_images, size)
lmms_eval/tasks/mmvetv2/utils.py:109
↓ 1 callersFunctionprocess_images_vertical
(original_images, size)
lmms_eval/tasks/mmmu/utils_group_img.py:102
↓ 1 callersFunctionprocess_na
(pred, task)
lmms_eval/tasks/sparbench/utils.py:126
↓ 1 callersFunctionprocess_opus_audio
(audio_data, target_sample_rate=16000)
lmms_eval/tasks/wenet_speech/utils.py:69
↓ 1 callersFunctionprocess_rawscore
(component_type, raw_score)
lmms_eval/tasks/mia_bench/utils.py:147
↓ 1 callersMethodprocess_video
( self, video: str, clip_start: Optional[float] = None, clip_end: Optional[flo
lmms_eval/models/simple/tempo.py:199
↓ 1 callersFunctionprocess_video_with_decord
(video_file, model_cfg, num_threads=-1)
lmms_eval/models/simple/cambrians.py:55
↓ 1 callersFunctionprocess_video_with_decord_vsr
(video_file: str, num_threads: int = -1)
lmms_eval/models/simple/cambrians_vsr.py:34
↓ 1 callersFunctionprocess_videos_vsr
(videos, image_processor, num_threads: int = -1)
lmms_eval/models/simple/cambrians_vsr.py:45
↓ 1 callersMethodprocess_words
(self, words: List[str])
lmms_eval/tasks/gigaspeech/whisper_normalizer/english.py:146
↓ 1 callersMethodprocess_words
(self, words: List[str])
lmms_eval/tasks/librispeech/whisper_normalizer/english.py:146
↓ 1 callersMethodquery
Query GPT4o to determine if the ASCII images show the same thing.
lmms_eval/tasks/megabench/metrics/scoring/ascii_art_vlm_judge.py:52
↓ 1 callersMethodquery
(self, reference_info, response, images, question, eval_context=None)
lmms_eval/tasks/megabench/metrics/scoring/vlm_as_judge.py:130
↓ 1 callersMethodquery
(self, text: str, max_results: int)
lmms_eval/tasks/mmsearch/utils/utils.py:74
↓ 1 callersFunctionread_json
(path)
lmms_eval/tasks/charades_sta/eval_tvg.py:7
↓ 1 callersFunctionread_video_custom
(video_path, fps=1, max_frames_num=180, force_include_last_frame=True)
lmms_eval/models/simple/videollama3.py:245
↓ 1 callersFunctionread_video_dali
( video_path: Union[str, tuple, list], *, num_frm: int = 8, fps: Optional[float] = None, f
lmms_eval/models/model_utils/load_video.py:204
↓ 1 callersFunctionread_video_torchcodec
( video_path: Union[str, tuple, list], *, num_frm: int = 8, fps: Optional[float] = None, f
lmms_eval/models/model_utils/load_video.py:142
↓ 1 callersFunctionrealworldqa_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/realworldqa/reasoning/utils.py:13
↓ 1 callersFunctionrecord_video_length_stream
(container, indices)
lmms_eval/models/model_utils/load_video.py:82
↓ 1 callersMethodrecreate_metadata_card
Creates a metadata card for the evaluation results dataset and pushes it to the Hugging Face hub.
lmms_eval/loggers/evaluation_tracker.py:337
↓ 1 callersFunctionrefine_samples_vllm
(llm, sampling_params, tokenizer, sample_jsonl, output_jsonl, mcq=True)
lmms_eval/tasks/videomathqa/cot_postprocess.py:51
↓ 1 callersFunctionrefspatial_doc_to_text
(doc: dict[str, Any])
lmms_eval/tasks/refspatial/utils.py:27
↓ 1 callersFunctionregister_tools
Register all MCP tools on the given FastMCP server instance.
lmms_eval/mcp/tools.py:22
↓ 1 callersFunctionrelax_exact_match
Check if the prediction string matches the ground truth exactly. Args: predict_str (str): The prediction string to be checked. gr
lmms_eval/tasks/_task_utils/reasoning_utils.py:334
↓ 1 callersFunctionrelaxed_correctness
Calculates relaxed correctness. The correctness tolerates certain error ratio defined by max_relative_change. See https://arxiv.org/pdf/2203.
lmms_eval/tasks/unig2u/chartqa100/utils.py:25
↓ 1 callersFunctionrelaxed_correctness
Calculates relaxed correctness. The correctness tolerates certain error ratio defined by max_relative_change. See https://arxiv.org/pdf/2203.
lmms_eval/tasks/chartqa/utils.py:25
↓ 1 callersFunctionremove_articles
(text)
lmms_eval/tasks/mmsearch/score/f1_score.py:9
↓ 1 callersFunctionremove_blocks
(blank_blocks_y, blank_blocks_x, image)
lmms_eval/tasks/mmsearch/utils/image_utils.py:95
↓ 1 callersFunctionremove_boxed
(s)
lmms_eval/tasks/scibench/utils.py:10
↓ 1 callersFunctionremove_boxed
(s: str)
lmms_eval/tasks/gpqa/openai/utils.py:280
↓ 1 callersFunctionremove_boxed
(s: str)
lmms_eval/tasks/aime/utils.py:339
↓ 1 callersFunctionremove_boxed
(s: str)
lmms_eval/tasks/openai_math/utils.py:356
↓ 1 callersFunctionremove_comments
(s)
lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:294
↓ 1 callersFunctionremove_def_indef_articles
Remove definite and indefinite articles.
lmms_eval/tasks/megabench/metrics/scoring/common/transformations.py:7
↓ 1 callersFunctionremove_erhua
去除儿化音词中的儿: 他女儿在那边儿 -> 他女儿在那边
lmms_eval/tasks/librispeech/cn_tn.py:1001
↓ 1 callersFunctionremove_latex_math_delimiters
(latex_str)
lmms_eval/tasks/megabench/metrics/scoring/common/transformations.py:97
↓ 1 callersFunctionremove_none_pattern
(input_string)
lmms_eval/logging_utils.py:26
↓ 1 callersFunctionremove_none_pattern
Remove the ',none' substring from the input_string if it exists at the end. Args: input_string (str): The input string from which to remo
lmms_eval/loggers/utils.py:14
↓ 1 callersFunctionremove_punc
(text)
lmms_eval/tasks/mmsearch/score/f1_score.py:16
↓ 1 callersMethodremove_punctuation
(cls, sent: str)
lmms_eval/tasks/asr_wer_utils.py:61
← previousnext →2,701–2,800 of 7,449, ranked by callers