MCPcopy Create free account

hub / github.com/FeiElysia/Tempo / functions

Functions7,449 in github.com/FeiElysia/Tempo

↓ 1 callersFunction_score_int
(groundtruth: Any, prediction: Any)
lmms_eval/tasks/mmlongbench_doc/utils.py:141
↓ 1 callersFunction_score_list
(groundtruth: Any, prediction: Any)
lmms_eval/tasks/mmlongbench_doc/utils.py:166
↓ 1 callersFunction_score_prediction
(prediction: str, answers: list[str], points: list[Any])
lmms_eval/tasks/hipho/utils.py:212
↓ 1 callersFunction_score_prediction
(doc: dict, parsed_prediction: str)
lmms_eval/tasks/mmlongbench/utils.py:193
↓ 1 callersFunction_score_str
(groundtruth: Any, prediction: Any)
lmms_eval/tasks/mmlongbench_doc/utils.py:157
↓ 1 callersFunction_search_by_image
(image_url, screenshot_path="search_results.png", delay=5.0, headless=True)
lmms_eval/tasks/mmsearch/utils/utils.py:376
↓ 1 callersFunction_select_best_annotator
Return the candidate dict that yields the best oracle score.
lmms_eval/tasks/saco/utils.py:270
↓ 1 callersMethod_select_entry_points
(self, group: str)
lmms_eval/models/registry_v2.py:266
↓ 1 callersFunction_serialize_pil_image
(image)
lmms_eval/tui/server.py:115
↓ 1 callersMethod_setup_tp_group_for_request_sync
(self)
lmms_eval/models/simple/vllm.py:258
↓ 1 callersFunction_short_hash
(value: str)
lmms_eval/caching/response_cache.py:100
↓ 1 callersMethod_should_omit_lexeme
(self, lexeme: str)
lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:245
↓ 1 callersFunction_smart_comma_split
Splits a string by comma, but not if inside quotes or braces. This is useful for parsing argument strings that may contain JSON or other
lmms_eval/utils.py:156
↓ 1 callersMethod_split_long_sentences
(self, analyzed_sentences: List[List[LexemeWithPositions]])
lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:156
↓ 1 callersMethod_split_text_by_image_tokens
(self, context: str)
lmms_eval/models/simple/penguinvl.py:244
↓ 1 callersMethod_stage2_answer_with_image
Stage 2: Answer question using original + auxiliary image.
lmms_eval/models/simple/ovis_u1.py:472
↓ 1 callersMethod_start_job
Mark a job as running and return its config. Returns None if job doesn't exist or is cancelled.
lmms_eval/entrypoints/job_scheduler.py:225
↓ 1 callersFunction_step_model
Step 1: pick model and model_args.
lmms_eval/cli/wizard.py:88
↓ 1 callersFunction_step_options
Step 3: common evaluation options.
lmms_eval/cli/wizard.py:192
↓ 1 callersFunction_step_tasks
Step 2: pick tasks.
lmms_eval/cli/wizard.py:146
↓ 1 callersMethod_store
Store a deterministic response in the SQLite cache (JSONL logging is handled separately by ``_log_to_audit``).
lmms_eval/caching/response_cache.py:690
↓ 1 callersFunction_store_path_cache
(key: Tuple[object, ...], value: str)
lmms_eval/models/model_utils/media_encoder.py:59
↓ 1 callersFunction_stream_output
Stream subprocess output as SSE events.
lmms_eval/tui/server.py:665
↓ 1 callersFunction_strip_answer_prefix
(text: str)
lmms_eval/tasks/egotempo/utils.py:227
↓ 1 callersFunction_strip_latex_wrappers
(text: str)
lmms_eval/tasks/hipho/utils.py:107
↓ 1 callersFunction_strip_reasoning_prefix
Strip plain-text reasoning preambles from model output. Reasoning models may emit "Thinking Process:" or similar before the actual markdown.
lmms_eval/tasks/omnidocbench/utils.py:267
↓ 1 callersFunction_strip_string
(string)
lmms_eval/tasks/mathvision/eval_utils.py:325
↓ 1 callersFunction_strip_trailing_index
Many filenames look like 'animal-1-...'. We treat 'animal' as the shape label and drop trailing purely-numeric suffix if present.
lmms_eval/tasks/unig2u/illusionbench/arshia_utils.py:108
↓ 1 callersFunction_substring_exact_match
(prediction: str, answers: list[str])
lmms_eval/tasks/mmlongbench/utils.py:172
↓ 1 callersMethod_summarize_batch_requests
(self, batch_requests)
lmms_eval/models/simple/vllm.py:285
↓ 1 callersFunction_summarize_task_samples
(samples: List[Dict[str, Any]], score_key: str)
lmms_eval/models/model_utils/efficiency_metrics.py:29
↓ 1 callersFunction_take_fullpage_screenshot
(url: str, screenshot_path: str, timeout: int = FULLPAGE_TIMEOUT)
lmms_eval/tasks/mmsearch/utils/utils.py:195
↓ 1 callersMethod_task_needs_eval
(self, task: Dict)
lmms_eval/tasks/megabench/evaluator.py:61
↓ 1 callersFunction_template_match
Template matching for answer extraction (MCQ and YORN). Returns extracted option or 'Fail' if no valid match.
lmms_eval/tasks/corecognition/utils.py:95
↓ 1 callersFunction_temporal_target_frame_from_doc
For temporal_prediction samples, infer which frame is the target (ground-truth) frame. The jsonl uses filenames like: "<id>-<frame>.jpg". We
lmms_eval/tasks/kris_bench/utils.py:126
↓ 1 callersFunction_text2pts
(text: str, width: int = 640, height: int = 480, normalization_constant: int = 1, is_absolute: bool = False)
lmms_eval/tasks/refspatial/utils.py:39
↓ 1 callersFunction_text2pts
(text: str, width: int = 640, height: int = 480, normalization_constant: int = 1, is_absolute: bool = False)
lmms_eval/tasks/where2place/utils.py:27
↓ 1 callersFunction_text_to_points
(text: str, width: int, height: int)
lmms_eval/tasks/pointbench/utils.py:111
↓ 1 callersFunction_to_absolute_point
(point_xy: Tuple[float, float], width: int, height: int)
lmms_eval/tasks/osworld_g/utils.py:69
↓ 1 callersFunction_to_int_list
(value: Any)
lmms_eval/tasks/mmlongbench/utils.py:123
↓ 1 callersFunction_to_metadata_row
(raw_row: Dict[str, Any])
lmms_eval/tasks/motionbench/utils.py:69
↓ 1 callersMethod_to_pil
Coerce *image* to an RGB PIL Image.
lmms_eval/models/simple/sam3.py:175
↓ 1 callersMethod_to_remote_conversation
Convert ChatMessages to LongVILA remote_code conversation format. [{"from": "human"|"gpt", "value": [str | {"path": media_path}, ...]
lmms_eval/models/chat/longvila.py:84
↓ 1 callersFunction_to_rgb
(image_obj: Any)
lmms_eval/tasks/fsc147/utils.py:11
↓ 1 callersFunction_to_rgb
(image_obj)
lmms_eval/tasks/mathcanvas/utils.py:30
↓ 1 callersFunction_to_rgb_image
(image_value)
lmms_eval/tasks/mtvqa/utils.py:67
↓ 1 callersFunction_token_f1
(reference, prediction)
lmms_eval/tasks/mmie/utils.py:121
↓ 1 callersMethod_tokens_match
(self, prev_tokens: torch.LongTensor, tokens: List[int])
lmms_eval/models/model_utils/qwen/qwen_generate_utils.py:309
↓ 1 callersMethod_touch_visual
(self, visual: str)
lmms_eval/models/simple/dummy.py:110
↓ 1 callersFunction_toxicity_score
(response: str)
lmms_eval/tasks/safety_redteam/utils.py:139
↓ 1 callersMethod_transform_lexeme
(self, lexeme: str)
lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:253
↓ 1 callersMethod_update_image_path
(image_path)
lmms_eval/tasks/megabench/metrics/scoring/vlm_as_judge.py:44
↓ 1 callersMethod_update_similarity_metrics
Update similarity metrics in results structure.
lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_evaluator.py:271
↓ 1 callersMethod_validate_model_class
(cls: type, resolved: ResolvedModel)
lmms_eval/models/registry_v2.py:121
↓ 1 callersMethod_vcot_save_artifacts
( self, doc_id: str, task: str, generation_prompt: str, image_path: st
lmms_eval/models/simple/qwen_image_edit.py:574
↓ 1 callersMethod_vcot_save_artifacts
Save intermediate Visual CoT artifacts for debugging.
lmms_eval/models/simple/bagel_unig2u.py:828
↓ 1 callersMethod_vcot_stage1_edit
Stage 1: Generate auxiliary visualization via editing.
lmms_eval/models/simple/qwen_image_edit.py:502
↓ 1 callersMethod_vcot_stage1_generate_image
Stage 1: Generate auxiliary visualization image from prompt.
lmms_eval/models/simple/bagel_unig2u.py:764
↓ 1 callersMethod_vcot_stage2_answer
Stage 2: Answer question using original + auxiliary image.
lmms_eval/models/simple/qwen_image_edit.py:532
↓ 1 callersMethod_vcot_stage2_answer
Stage 2: Answer question using generated auxiliary image.
lmms_eval/models/simple/bagel_unig2u.py:781
↓ 1 callersFunction_video_pipe
(input_path: str)
lmms_eval/models/model_utils/load_video.py:236
↓ 1 callersFunction_video_repo_index
()
lmms_eval/tasks/motionbench/utils.py:215
↓ 1 callersFunction_with_extension_variants
(path)
lmms_eval/tasks/neptune/utils.py:50
↓ 1 callersFunction_word_error_rate
(reference, hypothesis)
lmms_eval/tasks/av_asr/utils.py:13
↓ 1 callersFunctionabs_dist_norm
(pred, target)
lmms_eval/tasks/sparbench/utils.py:250
↓ 1 callersFunctionabs_dist_norm
(pred, target)
lmms_eval/tasks/vsibench/utils.py:88
↓ 1 callersFunctionabs_dist_norm
(pred, target)
lmms_eval/tasks/spatialtreebench/metrics/rule_metrics.py:250
↓ 1 callersFunctionacc_reward
Compute the accuracy reward for a given prediction. Args: predict_str (str): The extracted prediction string. ground_truth (str):
lmms_eval/tasks/_task_utils/reasoning_utils.py:378
↓ 1 callersFunctionaction2cam_response
(instructions, initial_pose, extra_info)
lmms_eval/tasks/spatialtreebench/metrics/rule_metrics.py:931
↓ 1 callersFunctionactions2cam_response
Converts a model's response with symbolic actions into a sequence of camera poses. This function is based on the logic from `utils.cam2action
lmms_eval/tasks/spatialtreebench/metrics/rule_metrics.py:631
↓ 1 callersMethodadaptive_linear_budget_allocation
soft token allocation based on min-max normalized relevance scores, Uses linear mapping instead of softmax, providing more aggressive sparsit
tempo/vlm_multimodal_processor.py:181
↓ 1 callersFunctionadaptive_pixel_slimming
(image_path, RESIZE_W=1024, RESIZE_H=5120, thresh_gradmap=200, thresh_gradsum=50, thresh_length=15)
lmms_eval/tasks/mmsearch/utils/image_utils.py:32
↓ 1 callersFunctionadd_cannot_answer_option
Add 'cannot answer from the caption' option to non-yes/no questions.
lmms_eval/tasks/captionqa/utils.py:303
↓ 1 callersMethodadd_child
Adds a child node.
lmms_eval/tasks/spatialtreebench/utils.py:28
↓ 1 callersFunctionadd_mcp_parser
(subparsers: argparse._SubParsersAction)
lmms_eval/cli/mcp_cmd.py:8
↓ 1 callersFunctionadd_models_parser
(subparsers: argparse._SubParsersAction)
lmms_eval/cli/models_cmd.py:8
↓ 1 callersFunctionadd_power_parser
(subparsers: argparse._SubParsersAction)
lmms_eval/cli/power_cmd.py:8
↓ 1 callersFunctionadd_serve_parser
(subparsers: argparse._SubParsersAction)
lmms_eval/cli/serve_cmd.py:8
↓ 1 callersFunctionadd_tasks_parser
(subparsers: argparse._SubParsersAction)
lmms_eval/cli/tasks_cmd.py:9
↓ 1 callersFunctionadd_ui_parser
(subparsers: argparse._SubParsersAction)
lmms_eval/cli/ui_cmd.py:8
↓ 1 callersFunctionadd_version_parser
(subparsers: argparse._SubParsersAction)
lmms_eval/cli/version_cmd.py:8
↓ 1 callersMethodaggregate
Aggregate the field scores.
lmms_eval/tasks/megabench/metrics/aggregation_type.py:28
↓ 1 callersFunctionai2d_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/ai2d/reasoning/utils.py:13
↓ 1 callersFunctionalign_first_line_to_second
(code_string: str)
lmms_eval/models/model_utils/thyme/sandbox.py:102
↓ 1 callersMethodanalyze_excerpts
(self, text: str)
lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:76
↓ 1 callersMethodanalyze_sentences
(self, text: str)
lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:141
↓ 1 callersMethodanswer
(self, img_list, input_text, max_new_tokens=300, num_beams=1, min_length=1, top_p=0.9, repetition_penalty=1.0,
lmms_eval/models/simple/moviechat.py:272
↓ 1 callersMethodapply
(self, resps, docs)
lmms_eval/tasks/ai2d/utils.py:52
↓ 1 callersFunctionapply_filtering_to_results
Apply filtering logic to exclude certain settings from overall metrics. This maintains compatibility with the original evaluation logic. Args
lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/core/base_metrics.py:130
↓ 1 callersMethodapply_filters
Iterates over FilterEnsembles and applies them to instances
lmms_eval/api/task.py:683
↓ 1 callersFunctionapply_rotation_to_map
Apply 3D rotation to all objects in the map. Args: objects_data: Dictionary of objects with position and facing information rotat
lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/graph_operations.py:340
↓ 1 callersMethodasync_a_request
(self, input_id, image, sampling_params, messages)
lmms_eval/models/chat/sglang.py:413
↓ 1 callersFunctionauto_evaluate
Automatically determine evaluation mode based on data content. This function examines the data to determine if it contains cognitive maps and
lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/evaluator.py:157
↓ 1 callersFunctionav_asr_doc_to_target
(doc)
lmms_eval/tasks/av_asr/utils.py:74
↓ 1 callersFunctionav_speakerbench_doc_to_target
Return the ground-truth answer letter (A/B/C/D) from the doc.
lmms_eval/tasks/av_speakerbench/utils.py:46
↓ 1 callersFunctionbabyvision_doc_to_target
Get ground truth answer from document.
lmms_eval/tasks/babyvision/utils.py:122
↓ 1 callersFunctionbacktrack
Using backtracking, determine if there is a sequence of pronunciations that is in iambic pentameter.
lmms_eval/tasks/megabench/metrics/scoring/constrained_generation.py:209
↓ 1 callersFunctionbfs_search
(module, lst)
lmms_eval/tasks/_task_utils/math_verify_utils.py:86
↓ 1 callersFunctionbootstrap_std
Args: data: a list of values n_bootstrap: number of bootstrap samples ci: confidence interval Returns: a tupl
lmms_eval/tasks/vcr_wiki/utils.py:253
↓ 1 callersFunctionbootstrap_stderr
(f, xs, iters)
lmms_eval/api/metrics.py:510
← previousnext →1,601–1,700 of 7,449, ranked by callers