MCPcopy Create free account

hub / github.com/FeiElysia/Tempo / functions

Functions7,449 in github.com/FeiElysia/Tempo

↓ 2 callersFunction_to_rgb
(image_obj: Any)
lmms_eval/tasks/officeqa/utils.py:49
↓ 2 callersFunction_tokenize
(text)
lmms_eval/tasks/websrc/utils.py:127
↓ 2 callersFunction_tokenize_fn
Tokenize a list of strings.
tempo/mm_datautils.py:131
↓ 2 callersMethod_unload_vision_decoder
Unload vision decoder to free memory.
lmms_eval/models/simple/illume_plus.py:621
↓ 2 callersMethod_watchdog_rank
(self)
lmms_eval/models/simple/vllm.py:271
↓ 2 callersMethodadd_job
Create and queue a new job. Args: request: The evaluation request configuration. Returns: Tuple of
lmms_eval/entrypoints/job_scheduler.py:119
↓ 2 callersFunctionadd_order_label
(image, label, font_size=40)
lmms_eval/tasks/mmvetv2/utils.py:14
↓ 2 callersFunctionadd_order_label
(image, label, font_size=40)
lmms_eval/tasks/mmmu/utils_group_img.py:19
↓ 2 callersMethodadd_seg_timestamp
(vision_features, model, seg_timestamps, is_video)
tempo/vlm_multimodal_processor.py:13
↓ 2 callersMethodanalyze
(self, text: str, offset: int = 0)
lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:149
↓ 2 callersFunctionanls
https://github.com/QwenLM/Qwen-VL/blob/master/eval_mm/infographicsvqa_eval.py
lmms_eval/api/metrics.py:298
↓ 2 callersMethodanswer
(self, conv, img_list, do_sample=True, max_new_tokens=200, num_beams=1, min_length=1, top_p=0.9, repetition_pe
lmms_eval/models/simple/videochat2.py:402
↓ 2 callersMethodapply
(self, resps, docs)
lmms_eval/tasks/mmlu_pro/utils.py:94
↓ 2 callersFunctionapply_rotary_pos_emb
(x: torch.Tensor, cos: torch.Tensor, sin: torch.Tensor, unsqueeze_dim: int = 1)
lmms_eval/models/model_utils/cambrians/qwen2_monkey_patch.py:24
↓ 2 callersFunctionapproximate
Return an approximation of the original string.
lmms_eval/tasks/megabench/metrics/scoring/near_str_match.py:6
↓ 2 callersFunctionascii_text_to_image
Convert ASCII text into an image.
lmms_eval/tasks/megabench/metrics/scoring/common/conversions.py:197
↓ 2 callersMethodask
(self, text, conv)
lmms_eval/models/simple/videochat2.py:399
↓ 2 callersFunctionassign_correctness
(data_arr, correctness_entry)
lmms_eval/tasks/hallusion_bench/utils.py:161
↓ 2 callersFunctionbootstrap_chair_metric
for non multiprocessing for CHAIR
lmms_eval/api/metrics.py:539
↓ 2 callersFunctionbox_area
(box)
lmms_eval/tasks/megabench/metrics/scoring/common/metrics.py:9
↓ 2 callersMethodbuild_binary_prompt
Build prompt for binary evaluation
lmms_eval/llm_judge/utils.py:15
↓ 2 callersMethodbuild_choices
(self, item)
lmms_eval/tasks/mmupd/mmupd_evals.py:134
↓ 2 callersMethodbuild_comparative_prompt
Build prompt for comparative evaluation
lmms_eval/llm_judge/utils.py:25
↓ 2 callersFunctionbuild_comprehensive_relation_matrix
Build a relationship matrix including inner/outer relationships. Args: objects_data: Dictionary of objects with position and facing infor
lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/graph_operations.py:592
↓ 2 callersMethodbuild_description
(self)
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:823
↓ 2 callersFunctionbuild_dummy_output
(length_data)
lmms_eval/tasks/charxiv/descriptive_utils.py:106
↓ 2 callersFunctionbuild_query
Construct a multiple-choice query. Inserts <image> placeholder if missing. Appends either chain-of-thought (CoT) or direct instruction from c
lmms_eval/tasks/stare/utils.py:50
↓ 2 callersFunctionbuild_transform
(input_size)
lmms_eval/models/simple/internvideo2_5.py:33
↓ 2 callersFunctionbuild_transform
(input_size)
lmms_eval/models/simple/minimonkey.py:229
↓ 2 callersFunctionbuild_transform
Build image transformation pipeline for preprocessing. Args: input_size: Target size for the image (both width and height). Returns:
lmms_eval/models/simple/internvl3.py:32
↓ 2 callersFunctionbuild_vision_projector
(config)
tempo/multimodal_projector/builder.py:32
↓ 2 callersFunctionbuild_vision_tower_aux_list
(vision_tower_cfg, **kwargs)
tempo/multimodal_encoder/builder.py:6
↓ 2 callersFunctioncal_not
(inputs)
lmms_eval/tasks/scibench/utils.py:62
↓ 2 callersFunctioncalculate_binary_score
(result)
lmms_eval/tasks/camerabench_vqa/utils.py:66
↓ 2 callersFunctioncalculate_binary_score
(result)
lmms_eval/tasks/naturalbench/utils.py:66
↓ 2 callersFunctioncalculate_cogmap_similarity
Calculate similarity between generated and grounded cognitive maps. Supports inner/outer relationships and 3D rotation invariance. Args:
lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_metrics.py:209
↓ 2 callersFunctioncalculate_dimensions
Calculate dimensions maintaining aspect ratio
lmms_eval/tasks/gedit_bench/utils.py:33
↓ 2 callersFunctioncalculate_group_score
(result)
lmms_eval/tasks/camerabench_vqa/utils.py:81
↓ 2 callersFunctioncalculate_group_score
(result)
lmms_eval/tasks/naturalbench/utils.py:81
↓ 2 callersMethodcalculate_hit_rates
(self, data)
lmms_eval/tasks/mmupd/mmupd_evals.py:497
↓ 2 callersFunctioncalculate_ins_level_acc
(results)
lmms_eval/tasks/videommmu/utils.py:217
↓ 2 callersFunctioncalculate_ins_level_acc
Calculate the instruction level accuracy for given Subject results https://github.com/MMMU-Benchmark/MMMU/blob/51ce7f3e829c16bb44bc5445782686b4c35
lmms_eval/tasks/qbench/utils.py:136
↓ 2 callersFunctioncalculate_ins_level_acc
(results)
lmms_eval/tasks/cmmmu/utils.py:411
↓ 2 callersFunctioncalculate_ins_level_acc
Calculate the instruction level accuracy for given Subject results https://github.com/MMMU-Benchmark/MMMU/blob/51ce7f3e829c16bb44bc5445782686b4c35
lmms_eval/tasks/jmmmu/utils.py:145
↓ 2 callersFunctioncalculate_ins_level_acc
Calculate the instruction level accuracy for given Subject results https://github.com/MMMU-Benchmark/MMMU/blob/51ce7f3e829c16bb44bc5445782686b4c35
lmms_eval/tasks/mmmu_pro/utils.py:172
↓ 2 callersFunctioncalculate_ins_level_acc
Calculate the instruction level accuracy for given Subject results https://github.com/MMMU-Benchmark/MMMU/blob/51ce7f3e829c16bb44bc5445782686b4c35
lmms_eval/tasks/mmmu_pro/reasoning/utils.py:191
↓ 2 callersFunctioncalculate_ins_level_acc
Calculate the instruction level accuracy for given Subject results https://github.com/MMMU-Benchmark/MMMU/blob/51ce7f3e829c16bb44bc5445782686b4c35
lmms_eval/tasks/mmmu/utils.py:275
↓ 2 callersFunctioncalculate_ins_level_acc
Calculate the instruction level accuracy for given Subject results https://github.com/MMMU-Benchmark/MMMU/blob/51ce7f3e829c16bb44bc5445782686b4c35
lmms_eval/tasks/mmmu/utils_group_img.py:258
↓ 2 callersFunctioncalculate_ins_level_acc
Calculate the instruction level accuracy for given Subject results https://github.com/MMMU-Benchmark/MMMU/blob/51ce7f3e829c16bb44bc5445782686b4c35
lmms_eval/tasks/mmmu/reasoning/utils.py:198
↓ 2 callersFunctioncalculate_ins_level_temporal_localization
(results)
lmms_eval/tasks/FALCONBench/utils.py:545
↓ 2 callersMethodcalculate_metric
(self, score_dict)
lmms_eval/tasks/capability/utils.py:575
↓ 2 callersFunctioncalculate_mra_with_threshold
Calculate MRA with special handling for zero ground truth. Matches VLMEvalKit logic: - If ans == 0 and pred < threshold: return 1.0 (bot
lmms_eval/tasks/osi_bench/utils.py:119
↓ 2 callersFunctioncalculate_stats
(tasks)
lmms_eval/tasks/megabench/breakdown/derive_breakdown_results.py:29
↓ 2 callersMethodcall_and_parse_single_meaasge
(self, file, system_prompt, user_prompt)
lmms_eval/tasks/capability/utils.py:459
↓ 2 callersFunctioncall_judge
Call LLM Judge to evaluate answer correctness.
lmms_eval/tasks/unig2u/phyx/utils.py:119
↓ 2 callersMethodcan_compute_power
(self, expr)
lmms_eval/tasks/olympiadbench_mimo/olympiadbench_evals.py:342
↓ 2 callersMethodcan_compute_power
(self, expr)
lmms_eval/tasks/olympiadbench/olympiadbench_evals.py:340
↓ 2 callersMethodcan_infer
(self, answer, choices)
lmms_eval/tasks/hrbench/hrbench_evals.py:92
↓ 2 callersMethodcan_infer_option
(self, answer, num_choice=5)
lmms_eval/tasks/worldqa/worldqa_mc_evaluator.py:37
↓ 2 callersMethodcancel_job
Cancel a queued job. Args: job_id: The job ID to cancel Returns: Dict with cancellation message
lmms_eval/entrypoints/client.py:209
↓ 2 callersFunctioncharxiv_doc_to_visual
(doc)
lmms_eval/tasks/charxiv/utils.py:76
↓ 2 callersMethodcheck_batch_status
(self, batch_id)
lmms_eval/models/simple/batch_gpt4.py:223
↓ 2 callersMethodcheck_following
(self, value)
lmms_eval/tasks/ifeval/instructions.py:858
↓ 2 callersFunctioncheck_synonyms_word
Check if two words are synonyms based on spaCy similarity.
lmms_eval/tasks/amber_g/utils.py:101
↓ 2 callersFunctionchess_transform
Transform a sequence of chess moves encoded in SAN into a set.
lmms_eval/tasks/megabench/metrics/scoring/chess_jaccard.py:5
↓ 2 callersFunctionclean_number_string
Fixed to handle None input
lmms_eval/tasks/scibench/utils.py:128
↓ 2 callersFunctioncollect_task_sizes
(tasks_arg: str | None, *, verbosity: str = "WARNING", include_path: str | None = None)
lmms_eval/cli/power_utils.py:40
↓ 2 callersFunctioncompare_two_numbers
(p, gt)
lmms_eval/tasks/megabench/metrics/scoring/general_numerical_match.py:70
↓ 2 callersFunctioncompute_ap
(confList, matchList, numGtCare)
lmms_eval/tasks/ocrbench_v2/spotting_eval/script.py:137
↓ 2 callersFunctioncompute_cache_key
Deterministic SHA-256 cache key for a model response. ``idx`` distinguishes multiple-choice options sharing the same ``doc_id``. ``content_ha
lmms_eval/caching/response_cache.py:303
↓ 2 callersFunctioncompute_mask_iou
IoU between two binary masks.
lmms_eval/tasks/saco/utils.py:60
↓ 2 callersFunctionconstruct_prompt
(doc, post_prompt="与えられた選択肢の中から最も適切な回答のアルファベットを直接記入してください。")
lmms_eval/tasks/jmmmu_pro/utils.py:45
↓ 2 callersFunctionconstruct_prompt
(sample)
lmms_eval/tasks/cmmmu/utils.py:22
↓ 2 callersFunctionconstruct_prompt
(doc)
lmms_eval/tasks/jmmmu/utils.py:45
↓ 2 callersFunctionconstruct_prompt
(doc, post_prompt="Answer with the option letter from the given choices directly.")
lmms_eval/tasks/mmmu_pro/utils.py:41
↓ 2 callersFunctionconstruct_prompt
(doc, post_prompt="Answer with the option letter from the given choices directly.")
lmms_eval/tasks/mmmu_pro/reasoning/utils.py:48
↓ 2 callersFunctionconstruct_prompt
(doc)
lmms_eval/tasks/mmmu/utils_group_img.py:153
↓ 2 callersFunctionconstruct_prompt
Args: question (str): question in the dataset options (list): list of options num_frames (int): number of frames extracte
lmms_eval/tasks/tomato/utils.py:82
↓ 2 callersMethodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LMM. :param doc_id: int
lmms_eval/api/task.py:578
↓ 2 callersFunctioncontain_chinese_string
(text)
lmms_eval/tasks/ocrbench_v2/page_ocr_metric.py:9
↓ 2 callersFunctionconvert_dict_to_list
Convert a dictionary to a list of tuples, handling both simple and nested dictionaries. Args: data (dict): The input diction
lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:594
↓ 2 callersFunctionconvert_str_to_multi_dict
Parses the 'predict' string and returns a dictionary. Handles nested dictionaries and missing or unparseable content gracefully. Paramet
lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:269
↓ 2 callersFunctionconvert_time_to_frame
(time_in_seconds, fps)
lmms_eval/tasks/videomme/utils.py:112
↓ 2 callersFunctionconvert_time_to_frame
(time_in_seconds, fps)
lmms_eval/tasks/videomathqa/utils.py:79
↓ 2 callersFunctionconvert_time_to_frame
(time_in_seconds, fps)
lmms_eval/tasks/worldsense/utils.py:125
↓ 2 callersFunctioncount_letters
(string)
lmms_eval/tasks/cmmmu/utils.py:289
↓ 2 callersFunctioncreate_mcp_server
Create and configure the lmms-eval MCP server.
lmms_eval/mcp/server.py:26
↓ 2 callersMethodcreate_one_query
(self, problem, shot_type, hint, query_type, examples=None, shot_num=0)
lmms_eval/tasks/mathverse/mathverse_evals.py:122
↓ 2 callersMethodcreate_one_query
(self, problem, shot_type, examples=shot_examples, shot_num=0, use_caption=False, use_ocr=False)
lmms_eval/tasks/mathvista/mathvista_evals.py:350
↓ 2 callersFunctioncreate_system
根据数字系统类型返回创建相应的数字系统,默认为 mid NUMBERING_TYPES = ['low', 'mid', 'high']: 中文数字系统类型 low: '兆' = '亿' * '十' = $10^{9}$, '京' = '兆' * '十',
lmms_eval/tasks/librispeech/cn_tn.py:527
↓ 2 callersFunctioncrop2square
(pil_img)
tempo/mm_datautils.py:206
↓ 2 callersFunctioncuva_aggregate_results
(results, metric, args)
lmms_eval/tasks/cuva/utils.py:142
↓ 2 callersFunctiondecode_base64_to_image
(base64_string, target_size=-1)
lmms_eval/tasks/phyx/utils.py:26
↓ 2 callersFunctiondecode_coco_rle
Decode a single COCO RLE dict to a binary (H, W) numpy mask.
lmms_eval/tasks/saco/utils.py:52
↓ 2 callersFunctiondecode_video
Decode the video and return the RGB frames
lmms_eval/tasks/plm_videobench/eval_utils.py:224
↓ 2 callersFunctiondecrypt_text
Decrypt base64-encoded ciphertext using XOR cipher with derived key. Args: ciphertext_b64: Base64-encoded encrypted string p
lmms_eval/tasks/mmsearch_plus/decrypt_utils.py:25
↓ 2 callersMethoddefault_process
(self, visuals, contexts)
lmms_eval/models/simple/phi4_multimodal.py:193
↓ 2 callersFunctiondescriptive_query_helper
(qid, subplot_loc)
lmms_eval/tasks/charxiv/descriptive_utils.py:173
↓ 2 callersFunctiondetect_fs_type
Detect whether ``path`` is on local or remote storage. Resolves to the nearest existing ancestor if ``path`` itself does not exist yet (commo
lmms_eval/caching/fs_detect.py:131
↓ 2 callersMethoddevice
(self)
lmms_eval/models/chat/bagel_lmms_engine.py:196
← previousnext →701–800 of 7,449, ranked by callers