MCPcopy Create free account

hub / github.com/FeiElysia/Tempo / functions

Functions7,449 in github.com/FeiElysia/Tempo

↓ 1 callersMethod_calculate_image_token_dimensions
Calculate image token dimensions for given resolution. Args: h: Image height w: Image width
lmms_eval/models/simple/illume_plus.py:471
↓ 1 callersMethod_calculate_timestamps
(self, video_metadata: Dict[str, Any])
lmms_eval/protocol.py:166
↓ 1 callersFunction_call_openai_for_evaluation
Call OpenAI API for image editing evaluation. Args: client: OpenAI client instance original_image: Original image (PIL Image
lmms_eval/tasks/imgedit/utils.py:157
↓ 1 callersFunction_call_openai_for_evaluation
Call OpenAI API for image generation evaluation.
lmms_eval/tasks/babyvision_gen/utils.py:71
↓ 1 callersFunction_candidate_lance_uris
(doc)
lmms_eval/tasks/countix/utils.py:42
↓ 1 callersFunction_candidate_roots
(cache_dir=None, env_vars=(), media_type="video")
lmms_eval/tasks/_task_utils/media_resolver.py:60
↓ 1 callersFunction_candidate_roots_cached
(cache_dir=None, media_type="video", env_values=(), global_media_root="", hf_home_env_value="")
lmms_eval/tasks/_task_utils/media_resolver.py:26
↓ 1 callersFunction_candidate_video_dirs
()
lmms_eval/tasks/egotempo/utils.py:244
↓ 1 callersFunction_candidate_video_paths
(video_path)
lmms_eval/tasks/neptune/utils.py:57
↓ 1 callersFunction_candidate_video_roots
()
lmms_eval/tasks/motionbench/utils.py:186
↓ 1 callersFunction_check_budget
Check whether the token budget has been exceeded. **Must be called while ``_USAGE_LOCK`` is held.**
lmms_eval/models/model_utils/usage_metrics.py:212
↓ 1 callersFunction_check_correctness
Check if prediction matches ground truth. Handles various equivalent representations (yes/true/1, no/false/0). Args: gt: Ground trut
lmms_eval/tasks/spatial457/utils.py:253
↓ 1 callersFunction_check_duplicates
helper function solely used in validating get_task_dict output. Takes the output of lmms_eval.evaluator_utils.get_subtask_list and returns a l
lmms_eval/tasks/__init__.py:507
↓ 1 callersMethod_check_if_video_has_audio
(self, video_path)
lmms_eval/models/simple/qwen2_5_omni.py:165
↓ 1 callersMethod_check_if_video_has_audio
(self, video_path)
lmms_eval/models/simple/omnivinci.py:276
↓ 1 callersMethod_check_if_video_has_audio
(self, video_path)
lmms_eval/models/simple/uni_moe_2_omni.py:187
↓ 1 callersMethod_check_if_video_has_audio
(self, video_path)
lmms_eval/models/simple/minicpm_o.py:274
↓ 1 callersMethod_checkpoint_to_run_dir
Copy current scratch DB to the run directory for crash safety.
lmms_eval/caching/response_cache.py:820
↓ 1 callersMethod_class_has_config_in_constructor
(self, cls)
lmms_eval/tasks/__init__.py:230
↓ 1 callersMethod_close_local_handles
(self, checkpoint: bool = False)
lmms_eval/caching/response_cache.py:563
↓ 1 callersMethod_coerce_manifest_iterable
(payload: Iterable[object])
lmms_eval/models/registry_v2.py:256
↓ 1 callersFunction_coerce_options
(options_raw: Any)
lmms_eval/tasks/motionbench/utils.py:54
↓ 1 callersMethod_coerce_payload_to_manifests
(self, payload)
lmms_eval/models/registry_v2.py:241
↓ 1 callersFunction_collect_input_media
(doc: dict, request_args: list)
lmms_eval/evaluator.py:194
↓ 1 callersFunction_collect_visual_paths
(doc: dict)
lmms_eval/tasks/mmlongbench/utils.py:52
↓ 1 callersFunction_compare_math_answers
Compare two mathematical answers with tolerance for numerical values.
lmms_eval/tasks/auxsolidmath/utils.py:65
↓ 1 callersMethod_complete_job
Mark a job as completed with results.
lmms_eval/entrypoints/job_scheduler.py:241
↓ 1 callersFunction_compute_all_shuffle_permutations
Compute all shuffle permutations matching the original CaptionQA implementation. The original implementation uses a single sequential RNG (s
lmms_eval/tasks/captionqa/utils.py:75
↓ 1 callersFunction_compute_f1
(sa, sb)
lmms_eval/tasks/websrc/utils.py:133
↓ 1 callersFunction_compute_formula_edit_distance
Compute weighted edit distance for formula elements on a single page.
lmms_eval/tasks/omnidocbench/utils.py:562
↓ 1 callersFunction_compute_table_teds
Compute average TEDS for matched table pairs on a single page.
lmms_eval/tasks/omnidocbench/utils.py:621
↓ 1 callersFunction_compute_teds
Compute Tree Edit Distance Similarity for a single table pair. Uses the TEDS implementation from ocrbench_v2 if available, otherwise falls ba
lmms_eval/tasks/omnidocbench/utils.py:593
↓ 1 callersFunction_compute_text_edit_distance
Compute weighted edit distance for text elements on a single page. Returns dict with 'distance' (weighted NED) and 'weight' (total max_len).
lmms_eval/tasks/omnidocbench/utils.py:526
↓ 1 callersFunction_compute_uniform_indices
(total_frames: int, sampled_frm: int, force_include_last_frame: bool = False)
lmms_eval/models/model_utils/load_video.py:45
↓ 1 callersFunction_compute_weighted_score
(correctness: list[bool])
lmms_eval/tasks/mathcanvas/utils.py:196
↓ 1 callersMethod_config_is_group
(self, config)
lmms_eval/tasks/__init__.py:192
↓ 1 callersFunction_configured_lance_uris
()
lmms_eval/tasks/countix/utils.py:33
↓ 1 callersFunction_content_to_visuals
(content)
lmms_eval/tasks/mmie/utils.py:81
↓ 1 callersFunction_count_options_from_doc
Count number of options from the doc dict.
lmms_eval/tasks/sitebench/merge_results.py:58
↓ 1 callersFunction_count_options_from_input
Count number of options from the input text.
lmms_eval/tasks/sitebench/merge_results.py:32
↓ 1 callersFunction_create_judge_prompt
Build judge prompt: response + ground truth answer.
lmms_eval/tasks/corecognition/utils.py:62
↓ 1 callersFunction_create_model_display_name
(model_id: str, aliases: tuple[str, ...] = ())
lmms_eval/tui/discovery.py:102
↓ 1 callersFunction_ctx_item_to_prompt_text
(item: Any)
lmms_eval/tasks/mmlongbench/utils.py:75
↓ 1 callersMethod_decode_audio_decoder
Extract audio array and sampling rate from AudioDecoder object.
lmms_eval/models/simple/qwen3_omni.py:184
↓ 1 callersFunction_decode_chatml
( tokens: List[int], *, stop_words: List[str], eod_token_ids: List[int], tokenizer: PreTrainedTokenizer, r
lmms_eval/models/model_utils/qwen/qwen_generate_utils.py:210
↓ 1 callersFunction_decode_default
( tokens: List[int], *, stop_words: List[str], eod_words: List[str], tokenizer: PreTrained
lmms_eval/models/model_utils/qwen/qwen_generate_utils.py:177
↓ 1 callersFunction_decode_image_field
Supports: - PIL.Image.Image (already decoded) - dict with {'bytes': ..., 'path': ...}
lmms_eval/tasks/unig2u/illusionbench/arshia_utils.py:174
↓ 1 callersMethod_decode_image_tokens
Decode image tokens to actual image. Args: image_tokens: List of [semantic_tokens, pixel_tokens] resolu
lmms_eval/models/simple/illume_plus.py:684
↓ 1 callersFunction_decrypt
(ciphertext_b64: str, password: str)
lmms_eval/tasks/browsecomp/utils.py:65
↓ 1 callersFunction_derive_key
(password: str, length: int)
lmms_eval/tasks/browsecomp/utils.py:58
↓ 1 callersFunction_detect_default_model_name
(client)
lmms_eval/tasks/kris_bench/utils.py:275
↓ 1 callersFunction_detect_language
Detect 'en', 'cn', or 'mixed' from the answer JSON.
lmms_eval/tasks/omnidocbench/utils.py:93
↓ 1 callersFunction_dict_to_env_vars
Convert env dict from YAML to env_vars multi-line string for UI.
lmms_eval/tui/server.py:506
↓ 1 callersFunction_dict_to_treenode
Recursively converts a dictionary to a TreeNode object.
lmms_eval/tasks/spatialtreebench/utils.py:53
↓ 1 callersMethod_distributed_barrier
Execute a distributed barrier.
lmms_eval/caching/response_cache.py:917
↓ 1 callersMethod_divide_long_lexemes
(self, segments: List[str])
lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:200
↓ 1 callersFunction_doc_to_text_qwen3vl
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/perceptioncomp/utils.py:108
↓ 1 callersFunction_doc_to_text_qwen3vl
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/videomme_v2/utils.py:107
↓ 1 callersFunction_doc_to_text_qwen3vl
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/video_holmes/utils.py:97
↓ 1 callersFunction_doc_to_text_subtitle_qwen3vl
Qwen3-VL format with subtitle.
lmms_eval/tasks/videomme_v2/utils.py:168
↓ 1 callersFunction_download_image
(image_path)
lmms_eval/tasks/mme_cc/utils.py:74
↓ 1 callersFunction_download_pdf
(doc_id: str)
lmms_eval/tasks/mmlongbench_doc/utils.py:199
↓ 1 callersFunction_download_video
(video_name: str)
lmms_eval/tasks/motionbench/utils.py:239
↓ 1 callersFunction_download_vpct_image
(sim_id: int)
lmms_eval/tasks/vpct/utils.py:27
↓ 1 callersFunction_edit_distance_matrix
Compute normalized edit distance matrix between GT and predicted elements.
lmms_eval/tasks/omnidocbench/utils.py:445
↓ 1 callersFunction_empty_extended_similarity_result
Returns an empty extended similarity result with default values. Returns: Dictionary with default extended metrics
lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_metrics.py:436
↓ 1 callersFunction_empty_similarity_result
Returns an empty similarity result with default values. Returns: Dictionary with default metrics
lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_metrics.py:246
↓ 1 callersFunction_enable_reentrant_filelocks
Force singleton file locks so nested load_dataset calls cannot deadlock. filelock >= 3.16 detects in-thread deadlocks via a global ``_registry``
lmms_eval/evaluator.py:78
↓ 1 callersMethod_encode_image
Encode image to base64
lmms_eval/llm_judge/providers/openai.py:142
↓ 1 callersMethod_encode_image_data_url
(self, image: Image.Image)
lmms_eval/models/simple/gemma3.py:176
↓ 1 callersFunction_ensure_videos
Download VIDEO.zip from PeterPanonly/COVER and extract if needed.
lmms_eval/tasks/cover/utils.py:38
↓ 1 callersFunction_env_vars_to_dict
Convert env_vars multi-line string to a dict for YAML export.
lmms_eval/tui/server.py:491
↓ 1 callersMethod_escape_sql_literal
(value: str)
lmms_eval/tasks/_task_utils/lance_video_resolver.py:40
↓ 1 callersFunction_evaluate_against_one_gt
Evaluate predicted (decoded, NMS'd) masks against one annotator's GT. Returns a dict with: IL_TP/TN/FP/FN — classification signals
lmms_eval/tasks/saco/utils.py:158
↓ 1 callersFunction_evaluate_one
Evaluate generated image with judge.
lmms_eval/tasks/kris_bench/utils.py:453
↓ 1 callersFunction_evaluate_one_image
(edited_image: Image.Image, qa_list: List[Dict[str, Any]])
lmms_eval/tasks/structeditbench/utils.py:242
↓ 1 callersMethod_expand_image_tokens
Expand each single image_token_id to image_token_count copies.
lmms_eval/models/chat/nanovlm.py:130
↓ 1 callersFunction_extract_abcd
Extract A/B/C/D from string.
lmms_eval/tasks/videomme/video_only_abcd/utils.py:39
↓ 1 callersFunction_extract_abcdx
Extract A/B/C/D/X from string.
lmms_eval/tasks/videomme/convert_mcq_oe/utils.py:42
↓ 1 callersFunction_extract_answer
(response)
lmms_eval/tasks/cover/utils.py:111
↓ 1 callersFunction_extract_answer_from_response
Extract the final answer from model response.
lmms_eval/tasks/auxsolidmath/utils.py:15
↓ 1 callersFunction_extract_answer_from_response
Extract the answer from a model response. Args: text: Raw model response text. Returns: Extracted answer string.
lmms_eval/tasks/spatial457/utils.py:230
↓ 1 callersFunction_extract_answer_letter
Extract the answer choice letter from a string. Examples: 'A answer1' -> 'A' 'A) answer2' -> 'A' '(B) answer' -> 'B' 'C' ->
lmms_eval/tasks/cv_bench/utils.py:6
↓ 1 callersFunction_extract_answer_letter
Extract the answer choice letter from a string. Examples: 'A answer1' -> 'A' 'A) answer2' -> 'A' '(B) answer' -> 'B' 'C' ->
lmms_eval/tasks/embspatial/utils.py:22
↓ 1 callersFunction_extract_answer_letter
Extract answer letter from model response. Tries multiple patterns to extract the answer letter (A/B/C/D) from the model's response. Arg
lmms_eval/tasks/geometry3k/utils.py:62
↓ 1 callersFunction_extract_answer_letter
Extract the answer choice letter (A or B) from a string. Examples: 'A' -> 'A' 'A.' -> 'A' '(A)' -> 'A' 'A an
lmms_eval/tasks/mmvp/utils.py:32
↓ 1 callersFunction_extract_answer_letter
Robustly extract the first answer-choice letter (A/B/C/D) from model output. Handles common patterns: "A" / "A." / "(A)" / "A)"
lmms_eval/tasks/mle_bench/utils.py:40
↓ 1 callersFunction_extract_answer_letter
Extract the answer choice letter from a string. Examples: 'A answer1' -> 'A' 'A) answer2' -> 'A' '(B) answer' -> 'B' 'C' ->
lmms_eval/tasks/erqa/utils.py:12
↓ 1 callersFunction_extract_answer_letter
Extract a single answer letter (A-D) from model response.
lmms_eval/tasks/wm_abench/utils.py:182
↓ 1 callersFunction_extract_answer_letter
Extract the answer choice letter from a string. Examples: 'A answer1' -> 'A' 'A) answer2' -> 'A' '(B) answer' -> 'B' 'C' ->
lmms_eval/tasks/blink/utils.py:9
↓ 1 callersFunction_extract_answer_text
(prediction: Any)
lmms_eval/tasks/mmlongbench/utils.py:20
↓ 1 callersMethod_extract_audio_array
Extract audio array from decoded audio object.
lmms_eval/models/simple/qwen3_omni.py:217
↓ 1 callersFunction_extract_boxed_answers
(text: str)
lmms_eval/tasks/hipho/utils.py:36
↓ 1 callersFunction_extract_bracket_candidates
(text: str)
lmms_eval/tasks/arc_agi_2/utils.py:140
↓ 1 callersFunction_extract_bucket
(response: str)
lmms_eval/tasks/vpct/utils.py:52
↓ 1 callersMethod_extract_cacheable
Extract the cache-safe payload from a model response. ``GenerationResult`` objects are reduced to their ``.text`` so that the cache s
lmms_eval/caching/response_cache.py:703
↓ 1 callersFunction_extract_caption
(doc: dict)
lmms_eval/tasks/fsc147/utils.py:46
↓ 1 callersFunction_extract_choice_index
(prediction: str)
lmms_eval/tasks/mmlongbench/utils.py:154
↓ 1 callersFunction_extract_choice_letter
(prediction, candidates)
lmms_eval/tasks/tvbench/utils.py:81
↓ 1 callersFunction_extract_choice_letter
(text: str)
lmms_eval/tasks/motionbench/utils.py:350
← previousnext →1,201–1,300 of 7,449, ranked by callers