MCPcopy Create free account

hub / github.com/FeiElysia/Tempo / functions

Functions7,449 in github.com/FeiElysia/Tempo

↓ 1 callersFunction_normalize_env_line
(line: str)
lmms_eval/tui/server.py:471
↓ 1 callersFunction_normalize_mc_answer
Normalize multiple choice answer for comparison.
lmms_eval/tasks/illusionbench/utils.py:76
↓ 1 callersFunction_normalize_openai_message_content
(content)
lmms_eval/models/simple/openai.py:44
↓ 1 callersFunction_normalize_points
(points: Sequence[Any], expected_count: int)
lmms_eval/tasks/hipho/utils.py:191
↓ 1 callersFunction_normalize_targets
(answer: Any)
lmms_eval/tasks/mathkangaroo/utils.py:20
↓ 1 callersMethod_normalize_top_p_for_vllm
(top_p: Any)
lmms_eval/models/simple/vllm.py:341
↓ 1 callersMethod_normalize_visuals_to_clips
(self, visuals: Any)
lmms_eval/models/simple/penguinvl.py:186
↓ 1 callersFunction_normalize_xyxy
(bbox_xyxy: List[float], width: int, height: int)
lmms_eval/tasks/screenspot_pro/utils.py:65
↓ 1 callersMethod_omit_long_lexemes
(self, text: str, reject_threshold: int)
lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:209
↓ 1 callersMethod_open_local_handles
(self)
lmms_eval/caching/response_cache.py:541
↓ 1 callersMethod_pack_message
(self, role: str, content)
lmms_eval/tasks/gpqa/openai/utils.py:126
↓ 1 callersMethod_pack_message
(self, role: str, content)
lmms_eval/tasks/aime/utils.py:168
↓ 1 callersMethod_pack_message
(self, role: str, content)
lmms_eval/tasks/openai_math/utils.py:165
↓ 1 callersFunction_padding_224
(frames)
lmms_eval/models/simple/internvideo2.py:147
↓ 1 callersFunction_padding_224
(frames)
lmms_eval/models/simple/videochat2.py:112
↓ 1 callersFunction_parse_bbox
(value: Any)
lmms_eval/tasks/screenspot_pro/utils.py:73
↓ 1 callersFunction_parse_bool_from_response
(response: str)
lmms_eval/tasks/viverbench/utils.py:49
↓ 1 callersFunction_parse_bool_from_serialized
(candidate: str)
lmms_eval/tasks/viverbench/utils.py:26
↓ 1 callersFunction_parse_choice_from_response
(response, option_map)
lmms_eval/tasks/neptune/utils.py:85
↓ 1 callersFunction_parse_grid_from_response
(text: str)
lmms_eval/tasks/arc_agi_1/utils.py:121
↓ 1 callersFunction_parse_img_size
(value: Any)
lmms_eval/tasks/screenspot_pro/utils.py:88
↓ 1 callersFunction_parse_mc_answer
Parse multiple choice answer from model response.
lmms_eval/tasks/illusionbench/utils.py:57
↓ 1 callersFunction_parse_multi_choice_response
(response: str, all_choices: List[str])
lmms_eval/tasks/medqa/utils.py:83
↓ 1 callersFunction_parse_options
Parse options from format '(a) Option1 (b) Option2' to list ['Option1', 'Option2'].
lmms_eval/tasks/mmvp/utils.py:86
↓ 1 callersMethod_parse_output_directory
Parse output directory: output_path/model_name/YYYYMMDD_HHMMSS_results.json Returns: {model_name: {"results": path, "sam
lmms_eval/entrypoints/job_scheduler.py:377
↓ 1 callersFunction_parse_page_numbers
(value: Any)
lmms_eval/tasks/mmlongbench_doc/utils.py:254
↓ 1 callersFunction_parse_point
(prediction: str)
lmms_eval/tasks/screenspot_pro/utils.py:38
↓ 1 callersFunction_parse_point
(prediction: str)
lmms_eval/tasks/osworld_g/utils.py:42
↓ 1 callersFunction_parse_point
(prediction: str)
lmms_eval/tasks/screenspot_v2/utils.py:37
↓ 1 callersFunction_parse_prediction
Parse model markdown output into typed element lists.
lmms_eval/tasks/omnidocbench/utils.py:307
↓ 1 callersFunction_parse_prediction_list
(text)
lmms_eval/tasks/vsisuper/count_streaming/vsc_streaming_utils.py:51
↓ 1 callersFunction_parse_qa_pairs
(value)
lmms_eval/tasks/mtvqa/utils.py:11
↓ 1 callersMethod_parse_response
Parse the raw response into a structured object, depending on the parser.
lmms_eval/tasks/megabench/evaluator.py:297
↓ 1 callersFunction_parse_task_yaml
(yaml_path: Path)
lmms_eval/tui/discovery.py:43
↓ 1 callersFunction_parse_temporal_window
Helper to convert various inputs into a valid list of two floats/ints. Returns None if conversion fails.
lmms_eval/tasks/FALCONBench/utils.py:575
↓ 1 callersFunction_parse_tf_answer
Parse True/False answer from response.
lmms_eval/tasks/illusionbench/utils.py:38
↓ 1 callersFunction_parse_video_ref
Parse 'uuid_start_end' → (uid, start, end) or None.
lmms_eval/tasks/egotempo/utils.py:21
↓ 1 callersFunction_patch_cambrian_qwen2
(model)
lmms_eval/models/simple/cambrians_vsr.py:132
↓ 1 callersMethod_patch_prepare_methods
Patch model's prepare_* methods to auto-move output tensors to device.
lmms_eval/models/chat/bagel_lmms_engine.py:170
↓ 1 callersFunction_perspective_toxicity_score
(response: str)
lmms_eval/tasks/safety_redteam/utils.py:118
↓ 1 callersFunction_pick_from_list
Show a numbered list and let the user pick one entry.
lmms_eval/cli/wizard.py:36
↓ 1 callersFunction_point_in_bbox
(point_xy: Tuple[float, float], bbox_xywh: List[float])
lmms_eval/tasks/osworld_g/utils.py:76
↓ 1 callersFunction_point_in_box
(point_xy: Tuple[float, float], box_xyxy: List[float])
lmms_eval/tasks/screenspot_pro/utils.py:109
↓ 1 callersFunction_point_in_box
(point_xy: Tuple[float, float], box_xyxy: List[float])
lmms_eval/tasks/screenspot_v2/utils.py:79
↓ 1 callersFunction_point_in_polygon
(point_xy: Tuple[float, float], polygon: List[float])
lmms_eval/tasks/osworld_g/utils.py:84
↓ 1 callersMethod_post_request
(self, payload)
lmms_eval/tasks/hrbench/hrbench_evals.py:33
↓ 1 callersMethod_post_request
(self, payload)
lmms_eval/tasks/mmupd/mmupd_evals.py:400
↓ 1 callersMethod_post_request
(self, payload)
lmms_eval/tasks/mmbench/mmbench_evals.py:129
↓ 1 callersMethod_post_request
(self, payload)
lmms_eval/tasks/worldqa/worldqa_mc_evaluator.py:65
↓ 1 callersMethod_prepare_content_reasoning
(self, inputs: list[dict[str, str | List]], user_image_path: str)
lmms_eval/models/chat/thyme.py:377
↓ 1 callersMethod_prepare_content_simple
(self, inputs: list[dict[str, str | List]])
lmms_eval/models/chat/thyme.py:402
↓ 1 callersMethod_prepare_images
Convert a list of visuals (various formats) to PIL Images.
lmms_eval/models/simple/ovis_u1.py:269
↓ 1 callersMethod_prepare_metric_and_aggregation
(self)
lmms_eval/api/task.py:906
↓ 1 callersMethod_prepare_model_specific_config
(self)
lmms_eval/api/task.py:881
↓ 1 callersMethod_prepare_video_kwargs
(self)
lmms_eval/models/chat/sglang.py:235
↓ 1 callersMethod_preserve_necessary_cogmap_fields
Preserve necessary fields in the results dictionary.
lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_evaluator.py:42
↓ 1 callersMethod_print_cogmap_metrics
Print cognitive map specific metrics.
lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_evaluator.py:382
↓ 1 callersMethod_print_results
Print results with cognitive map specific information.
lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_evaluator.py:375
↓ 1 callersFunction_print_table
Print a formatted results table similar to run_falcon_eval.py.
lmms_eval/tasks/saco/compute_metrics.py:21
↓ 1 callersMethod_process_single
Tokenize with chat template, expand image tokens, and process images.
lmms_eval/models/chat/nanovlm.py:140
↓ 1 callersMethod_process_visual_input
(self, video: np.ndarray, question: str, real_fps: float)
lmms_eval/models/simple/tempo.py:283
↓ 1 callersMethod_quick_compare
(self, response_expr, answer_expr, tol=1e-6)
lmms_eval/tasks/seephys/seephys_evals.py:331
↓ 1 callersFunction_record_metrics
( total_elapsed_time: float, total_gen_tokens: int, avg_speed: float, additional_metrics: Opti
lmms_eval/models/model_utils/gen_metrics.py:75
↓ 1 callersFunction_relaxed_match
(prediction: str, target: str, max_relative_change: float = 0.05)
lmms_eval/tasks/officeqa/utils.py:32
↓ 1 callersFunction_remove_right_units
(string)
lmms_eval/tasks/mathvision/eval_utils.py:289
↓ 1 callersMethod_remove_unpickable_values
(self, dictionary)
lmms_eval/models/chat/thyme.py:427
↓ 1 callersFunction_render_page
(doc_id: str, page_number: int)
lmms_eval/tasks/mmlongbench_doc/utils.py:230
↓ 1 callersFunction_render_page_fitz
Render a PDF page using PyMuPDF (no system deps).
lmms_eval/tasks/mmlongbench_doc/utils.py:207
↓ 1 callersFunction_render_page_pdf2image
Render a PDF page using pdf2image (needs poppler).
lmms_eval/tasks/mmlongbench_doc/utils.py:222
↓ 1 callersMethod_replay_audit_log
Replay JSONL entries missing from SQLite (crash recovery).
lmms_eval/caching/response_cache.py:595
↓ 1 callersFunction_resolve_cache_dir
()
lmms_eval/tasks/tvbench/utils.py:47
↓ 1 callersFunction_resolve_cache_run_id
(world_size: int)
lmms_eval/caching/response_cache.py:117
↓ 1 callersFunction_resolve_image_path
(image_ref)
lmms_eval/tasks/mmie/utils.py:19
↓ 1 callersFunction_resolve_image_path
(relative_path: str)
lmms_eval/tasks/mmlongbench/utils.py:38
↓ 1 callersFunction_resolve_lance_video
(doc)
lmms_eval/tasks/countix/utils.py:91
↓ 1 callersFunction_resolve_local_video
(video_id: str)
lmms_eval/tasks/minerva/utils.py:44
↓ 1 callersFunction_resolve_model_class
Auto-detect and return the appropriate HF model class for a Qwen3 variant. Returns (model_class, dtype_kwarg_name) where dtype_kwarg_name is the
lmms_eval/models/simple/qwen3_vl.py:23
↓ 1 callersFunction_resolve_prompt_kwargs
(lmms_eval_specific_kwargs: Optional[dict])
lmms_eval/tasks/motionbench/utils.py:306
↓ 1 callersFunction_resolve_prompt_kwargs
(lmms_eval_specific_kwargs)
lmms_eval/tasks/mme_cc/utils.py:15
↓ 1 callersFunction_resolve_video_id
(doc)
lmms_eval/tasks/countix/utils.py:79
↓ 1 callersFunction_resolve_video_path
(doc: Dict[str, Any])
lmms_eval/tasks/motionbench/utils.py:271
↓ 1 callersMethod_resolve_worker_devices
( self, device: Optional[str], worker_gpus: Optional[str], worker_count: Optio
lmms_eval/models/chat/async_hf_model.py:82
↓ 1 callersMethod_resolve_worker_devices
(self, device: Optional[str], worker_gpus: Optional[str], worker_count: Optional[int])
lmms_eval/models/chat/nanovlm.py:90
↓ 1 callersFunction_rgba_to_rgb
(image)
lmms_eval/tasks/megabench/image_video_utils.py:22
↓ 1 callersMethod_run_evaluation
Run evaluation in a subprocess using accelerate/torchrun. This allows GPU-based evaluation to run in a separate process whil
lmms_eval/entrypoints/job_scheduler.py:302
↓ 1 callersFunction_run_generate_until_agentic
( lm, requests: list[Instance], agentic_trace_mode: str = "basic", response_cache: Optional[Re
lmms_eval/evaluator.py:638
↓ 1 callersFunction_run_power_analysis
Run power analysis to calculate minimum sample size for detecting a given effect.
lmms_eval/__main__.py:93
↓ 1 callersMethod_run_single_request
( self, worker: _WorkerResources, request: Instance, )
lmms_eval/models/chat/async_hf_model.py:162
↓ 1 callersMethod_run_single_request
Run inference for a single request on a specific worker. Returns (answer, elapsed, n_tokens).
lmms_eval/models/chat/nanovlm.py:162
↓ 1 callersFunction_run_tui
(_args: argparse.Namespace)
lmms_eval/cli/dispatch.py:83
↓ 1 callersMethod_safe_cache_stem
(video_id: str)
lmms_eval/tasks/_task_utils/lance_video_resolver.py:44
↓ 1 callersMethod_safe_to_dict
Convert response to plain dict for robust inspection.
lmms_eval/tasks/seephys/seephys_evals.py:72
↓ 1 callersFunction_sample_video_frames
(video_path, max_num_frames=32, frame_sampling="uniform")
lmms_eval/tasks/neptune/utils.py:124
↓ 1 callersFunction_sandboxed_execution_target
Target function for sandboxed code execution in a subprocess. Results are put into return_dict. `previous_execution_context` is a dict {'
lmms_eval/models/model_utils/thyme/sandbox.py:472
↓ 1 callersMethod_sanitize_results_dict
Sanitize the results dictionary.
lmms_eval/logging_utils.py:115
↓ 1 callersMethod_sanitize_results_dict
Sanitize the results dictionary.
lmms_eval/loggers/wandb_logger.py:73
↓ 1 callersMethod_save_audio_to_temp
Save audio array to a temporary file and return the path.
lmms_eval/models/simple/audio_flamingo_3.py:129
↓ 1 callersMethod_save_audio_to_temp
Save audio array to a temporary file and return the path.
lmms_eval/models/simple/kimi_audio.py:125
↓ 1 callersFunction_score_answer
(groundtruth: Any, prediction: Any, answer_format: Any)
lmms_eval/tasks/mmlongbench_doc/utils.py:181
↓ 1 callersFunction_score_float
(groundtruth: Any, prediction: Any)
lmms_eval/tasks/mmlongbench_doc/utils.py:149
← previousnext →1,501–1,600 of 7,449, ranked by callers