Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FeiElysia/Tempo
/ functions
Functions
7,449 in github.com/FeiElysia/Tempo
⨍
Functions
7,449
◇
Types & classes
488
↳
Endpoints
41
Method
max_length
(self)
lmms_eval/models/simple/bagel.py:462
Method
max_length
(self)
lmms_eval/models/simple/llama_vision.py:113
Method
max_length
(self)
lmms_eval/models/simple/mantis.py:169
Method
max_length
(self)
lmms_eval/models/simple/longva.py:211
Method
max_length
(self)
lmms_eval/models/simple/vila.py:164
Method
max_length
(self)
lmms_eval/models/simple/cogvlm2.py:99
Method
max_length
(self)
lmms_eval/models/simple/phi4_multimodal.py:141
Method
max_length
(self)
lmms_eval/models/simple/qwen2_5_vl.py:141
Method
max_length
(self)
lmms_eval/models/simple/qwen_vl.py:99
Method
max_length
(self)
lmms_eval/models/simple/whisper.py:102
Method
max_length
(self)
lmms_eval/models/simple/baichuan_omni.py:181
Method
max_length
(self)
lmms_eval/models/simple/idefics2.py:136
Method
max_length
(self)
lmms_eval/models/simple/auroracap.py:189
Method
max_length
(self)
lmms_eval/models/simple/cambrians.py:233
Method
max_length
(self)
lmms_eval/models/simple/uni_moe_2_omni.py:157
Method
max_length
(self)
lmms_eval/models/simple/minicpm_o.py:204
Method
max_length
(self)
lmms_eval/models/simple/tinyllava.py:144
Method
max_length
(self)
lmms_eval/models/simple/vita.py:165
Method
max_length
(self)
lmms_eval/models/simple/vora.py:96
Method
max_length
(self)
lmms_eval/models/simple/whisper_vllm.py:53
Method
max_length
(self)
lmms_eval/models/simple/fuyu.py:125
Method
max_video_frames
(self)
lmms_eval/models/simple/plm.py:133
Method
maybe_update_concurrency
(force: bool = False)
lmms_eval/models/chat/openai.py:134
Method
maybe_update_concurrency
(force: bool = False)
lmms_eval/models/chat/async_openai.py:384
Method
maybe_update_concurrency
(force: bool = False)
lmms_eval/models/simple/openai.py:376
Function
maze_doc_to_text
Get text prompt for maze task - text-only evaluation.
lmms_eval/tasks/unig2u/uni_mmmu/utils.py:234
Function
maze_doc_to_text
(doc: Dict, lmms_eval_specific_kwargs: Optional[Dict] = None)
lmms_eval/tasks/uni_mmmu/utils.py:217
Function
maze_doc_to_text_visual_cot
Visual CoT prompt for maze task - aligned with original Uni-MMMU.
lmms_eval/tasks/unig2u/uni_mmmu/utils.py:489
Function
maze_doc_to_visual
Get visual input for maze task.
lmms_eval/tasks/unig2u/uni_mmmu/utils.py:226
Function
maze_doc_to_visual
(doc: Dict)
lmms_eval/tasks/uni_mmmu/utils.py:209
Function
maze_process_results
Process maze results - text evaluation only using GPT-4o.
lmms_eval/tasks/unig2u/uni_mmmu/utils.py:256
Function
maze_process_results
(doc: Dict, results: List[str])
lmms_eval/tasks/uni_mmmu/utils.py:221
Function
mcc_fn
(items)
lmms_eval/api/metrics.py:359
Function
mean_relative_accuracy
(pred, target, start, end, interval)
lmms_eval/tasks/vsibench/utils.py:92
Function
meanrelativeacc
Calculates the score for the numerical metric. Args: response: The response from the model. answer: The answer to the questio
lmms_eval/tasks/spatialtreebench/metrics/rule_metrics.py:240
Function
median
(arr)
lmms_eval/api/metrics.py:28
Function
medqa_doc_to_text
(doc: Dict[str, Any], lmms_eval_specific_kwargs: Dict[str, Any])
lmms_eval/tasks/medqa/utils.py:9
Function
medqa_process_results
Parse model output and compute accuracy against the gold letter. We robustly extract a single letter from the response.
lmms_eval/tasks/medqa/utils.py:70
Function
megabench_aggregate_results_for_submission
(results, args)
lmms_eval/tasks/megabench/utils.py:105
Function
megabench_doc_to_target
(doc)
lmms_eval/tasks/megabench/utils.py:76
Function
megabench_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/megabench/utils.py:47
Function
megabench_doc_to_visual
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/megabench/utils.py:60
Function
megabench_process_results
(doc, result)
lmms_eval/tasks/megabench/utils.py:80
Function
merge_checkpoint
Merge FSDP2 sharded checkpoint into a single consolidated checkpoint. This endpoint allows merging of distributed training checkpoints for u
lmms_eval/entrypoints/http_server.py:184
Method
merge_checkpoint
Merge FSDP2 sharded checkpoint into a single consolidated checkpoint. Args: checkpoint_path: Path to sharded checkpoint
lmms_eval/entrypoints/client.py:270
Function
metric_max_over_ground_truths
Compute max metric between prediction and each ground truth.
lmms_eval/api/metrics.py:446
Function
mia_bench_aggregate_results
(results)
lmms_eval/tasks/mia_bench/utils.py:344
Function
mia_bench_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/mia_bench/utils.py:14
Function
mia_bench_doc_to_visual
(doc)
lmms_eval/tasks/mia_bench/utils.py:10
Function
mia_bench_process_results
(doc, results)
lmms_eval/tasks/mia_bench/utils.py:254
Function
mindcube_aggregate_among_results
Aggregates the 'among_accuracy' results. Calculates the mean score *only* for results where the 'type' is 'among'. Args: results (li
lmms_eval/tasks/mindcube/utils.py:189
Function
mindcube_aggregate_around_results
Aggregates the 'around_accuracy' results. Calculates the mean score *only* for results where the 'type' is 'around'. Args: results (
lmms_eval/tasks/mindcube/utils.py:235
Function
mindcube_aggregate_results
Aggregates the 'overall_accuracy' results. Calculates the mean score from a list of result dictionaries. Args: results (list[dict]):
lmms_eval/tasks/mindcube/utils.py:167
Function
mindcube_aggregate_rotation_results
Aggregates the 'rotation_accuracy' results. Calculates the mean score *only* for results where the 'type' is 'rotation'. Args: resul
lmms_eval/tasks/mindcube/utils.py:212
Function
mindcube_doc_to_text
Extracts the text prompt from a MindCube dataset sample. Args: doc (dict): A MindCube dataset sample dictionary. Returns: st
lmms_eval/tasks/mindcube/utils.py:5
Function
mindcube_doc_to_visual
Extracts and converts visual data from a MindCube dataset sample. This function iterates over the 'images' key in the dataset sample, calling
lmms_eval/tasks/mindcube/utils.py:17
Function
mindcube_process_results
Processes the model's output for a single MindCube document. Compares the predicted answer (extracted from the model's text result) with the
lmms_eval/tasks/mindcube/utils.py:108
Function
minerva_aggregate_results
(results)
lmms_eval/tasks/minerva/utils.py:168
Function
minerva_doc_to_target
(doc)
lmms_eval/tasks/minerva/utils.py:138
Function
minerva_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/minerva/utils.py:125
Function
minerva_doc_to_visual
(doc)
lmms_eval/tasks/minerva/utils.py:107
Function
minerva_process_results
(doc, results)
lmms_eval/tasks/minerva/utils.py:142
Function
mirb_aggregation
(results)
lmms_eval/tasks/mirb/utils.py:252
Function
mirb_doc_to_target
(doc)
lmms_eval/tasks/mirb/utils.py:37
Function
mirb_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/mirb/utils.py:24
Function
mirb_doc_to_visual
(doc)
lmms_eval/tasks/mirb/utils.py:32
Function
mirb_process_results
(doc, results)
lmms_eval/tasks/mirb/utils.py:193
Function
mix_evals_audio2text_doc_to_audio
(doc)
lmms_eval/tasks/mix_evals/audio2text/utils.py:102
Function
mix_evals_audio2text_doc_to_target
(doc)
lmms_eval/tasks/mix_evals/audio2text/utils.py:106
Function
mix_evals_audio2text_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/mix_evals/audio2text/utils.py:111
Function
mix_evals_audio2text_gpt_eval
(results, args)
lmms_eval/tasks/mix_evals/audio2text/utils.py:141
Function
mix_evals_audio2text_process_results_freeform
(doc, result)
lmms_eval/tasks/mix_evals/audio2text/utils.py:131
Function
mix_evals_image2text_aggregate_gen
(results, args)
lmms_eval/tasks/mix_evals/image2text/utils.py:317
Function
mix_evals_image2text_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/mix_evals/image2text/utils.py:199
Function
mix_evals_image2text_doc_to_text_open_2nd_convs
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/mix_evals/image2text/utils.py:261
Function
mix_evals_image2text_doc_to_text_open_convs
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/mix_evals/image2text/utils.py:235
Function
mix_evals_image2text_doc_to_visual
(doc)
lmms_eval/tasks/mix_evals/image2text/utils.py:186
Function
mix_evals_image2text_doc_to_visual
(doc)
lmms_eval/tasks/mix_evals/video2text/utils.py:161
Function
mix_evals_image2text_gpt_eval
(results, args)
lmms_eval/tasks/mix_evals/image2text/utils.py:306
Function
mix_evals_image2text_process_results_freeform
(doc, result)
lmms_eval/tasks/mix_evals/image2text/utils.py:285
Function
mix_evals_image2text_process_results_open_convs
(doc, result)
lmms_eval/tasks/mix_evals/image2text/utils.py:280
Function
mix_evals_video2text_aggregate_gen
(results, args)
lmms_eval/tasks/mix_evals/video2text/utils.py:284
Function
mix_evals_video2text_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/mix_evals/video2text/utils.py:166
Function
mix_evals_video2text_doc_to_text_open_2nd_convs
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/mix_evals/video2text/utils.py:228
Function
mix_evals_video2text_doc_to_text_open_convs
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/mix_evals/video2text/utils.py:202
Function
mix_evals_video2text_doc_to_visual
(doc)
lmms_eval/tasks/mix_evals/video2text/utils.py:157
Function
mix_evals_video2text_gpt_eval
(results, args)
lmms_eval/tasks/mix_evals/video2text/utils.py:273
Function
mix_evals_video2text_process_results_freeform
(doc, result)
lmms_eval/tasks/mix_evals/video2text/utils.py:252
Function
mix_evals_video2text_process_results_open_convs
(doc, result)
lmms_eval/tasks/mix_evals/video2text/utils.py:247
Function
mle_bench_aggregate_results
Compute accuracy grouped by size category, then report overall average. The final returned score is the macro-average across the three categ
lmms_eval/tasks/mle_bench/utils.py:167
Function
mle_bench_doc_to_target
Return the ground-truth answer letter (A/B/C/D). lmms-eval compares model output against this value.
lmms_eval/tasks/mle_bench/utils.py:122
Function
mle_bench_doc_to_text
Format the question and choices into a text prompt. Example output: Which of the following appears in this image? A. curtain
lmms_eval/tasks/mle_bench/utils.py:97
Function
mle_bench_doc_to_visual
Return the image as a list (lmms-eval convention).
lmms_eval/tasks/mle_bench/utils.py:92
Function
mle_bench_process_results
Parse model output and compute per-sample correctness. Returns a dict keyed by sub_task category + "average", each containing a list ent
lmms_eval/tasks/mle_bench/utils.py:135
Function
mlvu_aggregate_results_dev
Args: results: a list of values returned by process_results Returns: A score
lmms_eval/tasks/mlvu/utils.py:89
Function
mlvu_aggregate_results_test
Args: results: a list of values returned by process_results Returns: A score
lmms_eval/tasks/mlvu/utils.py:131
Function
mlvu_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/mlvu/utils.py:55
Function
mlvu_doc_to_visual_dev
(doc)
lmms_eval/tasks/mlvu/utils.py:35
Function
mlvu_doc_to_visual_test
(doc)
lmms_eval/tasks/mlvu/utils.py:45
Function
mlvu_process_results
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary with key: metric name (in this case v
lmms_eval/tasks/mlvu/utils.py:71
← previous
next →
5,601–5,700 of 7,449, ranked by callers