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
Function
air_bench_aggregate_results_chat
(results)
lmms_eval/tasks/air_bench/utils.py:128
Function
air_bench_aggregate_results_for_submission
(results, args)
lmms_eval/tasks/air_bench/utils.py:187
Function
air_bench_aggregate_results_foundation
(results)
lmms_eval/tasks/air_bench/utils.py:194
Function
air_bench_doc_to_audio
(doc)
lmms_eval/tasks/air_bench/utils.py:15
Function
air_bench_doc_to_choice_foundation
(doc)
lmms_eval/tasks/air_bench/utils.py:165
Function
air_bench_doc_to_target_foundation
(doc)
lmms_eval/tasks/air_bench/utils.py:161
Function
air_bench_doc_to_text_chat
(doc, lmms_eval_specific_kwargs)
lmms_eval/tasks/air_bench/utils.py:19
Function
air_bench_doc_to_text_foundation
(doc, lmms_eval_specific_kwargs)
lmms_eval/tasks/air_bench/utils.py:152
Function
air_bench_process_results_chat
(doc, result)
lmms_eval/tasks/air_bench/utils.py:100
Function
air_bench_process_results_foundation
(doc, result)
lmms_eval/tasks/air_bench/utils.py:173
Method
all_groups
(self)
lmms_eval/tasks/__init__.py:82
Method
all_subtasks
(self)
lmms_eval/tasks/__init__.py:86
Method
all_tags
(self)
lmms_eval/tasks/__init__.py:90
Method
all_tasks
(self)
lmms_eval/tasks/__init__.py:78
Function
alpaca_audio_aggregate_results
(results)
lmms_eval/tasks/alpaca_audio/utils.py:119
Function
alpaca_audio_process_results
(doc, result)
lmms_eval/tasks/alpaca_audio/utils.py:109
Function
amber_g_aggregate_chair
Aggregate CHAIR metric.
lmms_eval/tasks/amber_g/utils.py:395
Function
amber_g_aggregate_cog
Aggregate Cog metric.
lmms_eval/tasks/amber_g/utils.py:425
Function
amber_g_aggregate_cover
Aggregate Cover metric.
lmms_eval/tasks/amber_g/utils.py:405
Function
amber_g_aggregate_hal
Aggregate Hal metric.
lmms_eval/tasks/amber_g/utils.py:415
Function
amber_g_doc_to_text
Convert document to text prompt.
lmms_eval/tasks/amber_g/utils.py:352
Function
amber_g_doc_to_visual
Convert document to visual input.
lmms_eval/tasks/amber_g/utils.py:336
Function
amber_g_process_result
Process a single result for AMBER evaluation.
lmms_eval/tasks/amber_g/utils.py:362
Function
ami_aggregate_results
Aggregate results for AMI evaluation
lmms_eval/tasks/ami/utils.py:340
Function
ami_doc_to_audio
Extract audio from AMI dataset document AMI dataset uses AudioDecoder type with get_all_samples() method. Returns audio array and sampling ra
lmms_eval/tasks/ami/utils.py:39
Function
ami_doc_to_text
Generate prompt for the audio model
lmms_eval/tasks/ami/utils.py:117
Function
ami_process_results_asr
Process results for Automatic Speech Recognition (ASR) task. Calculates Word Error Rate (WER) - case insensitive.
lmms_eval/tasks/ami/utils.py:132
Function
ami_process_results_llm_judge
Process results using LLM as judge for open-ended evaluation. Similar to voicebench's open-ended evaluation.
lmms_eval/tasks/ami/utils.py:262
Method
apply
Return {"no_contamination", "only_contamination"} keys for the 2 different subsets
lmms_eval/filters/decontamination.py:19
Method
apply
(self, resps, docs)
lmms_eval/filters/extraction.py:14
Method
apply
(self, resps, docs)
lmms_eval/filters/extraction.py:48
Method
apply
(self, resps, docs)
lmms_eval/filters/extraction.py:105
Method
apply
(self, resps, docs)
lmms_eval/filters/extraction.py:232
Method
apply
Assuming each entry of `resps` is a list of model responses, we discard all but the first response.
lmms_eval/filters/selection.py:18
Method
apply
(self, resps, docs)
lmms_eval/filters/selection.py:32
Method
apply
Each entry of `resps` is a list of model responses. We select the response that occurs most frequently in each entry of `resps`.
lmms_eval/filters/selection.py:48
Method
apply
(self, resps, docs)
lmms_eval/filters/transformation.py:8
Method
apply
(self, resps, docs)
lmms_eval/filters/transformation.py:19
Method
apply
(self, resps, docs)
lmms_eval/filters/transformation.py:44
Method
apply
(self, instances: List[Instance], docs: List[Dataset])
lmms_eval/api/filter.py:45
Method
apply
(self, resps, docs)
lmms_eval/tasks/muirbench/utils.py:84
Method
apply
(self, resps, docs)
lmms_eval/tasks/realworldqa/utils.py:59
Method
apply
(self, resps, docs)
lmms_eval/tasks/realworldqa/utils.py:79
Method
apply
(self, resps, docs)
lmms_eval/tasks/mmlu/flan_n_shot/generative/utils.py:34
Method
apply
(self, resps, docs)
lmms_eval/tasks/mmlu/flan_cot_zeroshot/utils.py:34
Method
apply
(self, resps, docs)
lmms_eval/tasks/illusionvqa/utils.py:37
Method
apply
Defines the operation to perform on a list of the `inst.resps` properties of `Instance` objects. Should return the list of (filtered)
lmms_eval/tasks/mix_evals/image2text/utils.py:335
Method
apply
Defines the operation to perform on a list of the `inst.resps` properties of `Instance` objects. Should return the list of (filtered)
lmms_eval/tasks/mix_evals/video2text/utils.py:355
Function
apply_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/result_init.py:214
Method
apply_filters
Iterates over FilterEnsembles and applies them to instances
lmms_eval/api/task.py:1363
Function
apply_template
(template: str, doc: dict)
lmms_eval/utils.py:978
Function
arc_agi_1_doc_to_target
(doc)
lmms_eval/tasks/arc_agi_1/utils.py:116
Function
arc_agi_1_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/arc_agi_1/utils.py:94
Function
arc_agi_1_doc_to_visual
(doc)
lmms_eval/tasks/arc_agi_1/utils.py:79
Function
arc_agi_1_process_results
(doc, results)
lmms_eval/tasks/arc_agi_1/utils.py:146
Function
arc_agi_2_doc_to_target
(doc: dict)
lmms_eval/tasks/arc_agi_2/utils.py:117
Function
arc_agi_2_doc_to_text
(doc: dict, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/arc_agi_2/utils.py:78
Function
arc_agi_2_doc_to_visual
(doc: dict)
lmms_eval/tasks/arc_agi_2/utils.py:23
Function
arc_agi_2_process_results
(doc: dict, results: list[str])
lmms_eval/tasks/arc_agi_2/utils.py:245
Method
args
Returns (string,) where `string` is the string to calculate loglikelihood over
lmms_eval/api/instance.py:92
Method
auto_doc_to_messages
(doc)
lmms_eval/api/task.py:1762
Function
auxsolidmath_aggregate
Aggregate results
lmms_eval/tasks/unig2u/auxsolidmath/utils.py:308
Function
auxsolidmath_aggregate_accuracy
Aggregate accuracy scores.
lmms_eval/tasks/auxsolidmath/utils.py:162
Function
auxsolidmath_doc_to_target
Get target answer for auxsolidmath task
lmms_eval/tasks/unig2u/auxsolidmath/utils.py:165
Function
auxsolidmath_doc_to_target
Get target answer from document.
lmms_eval/tasks/auxsolidmath/utils.py:132
Function
auxsolidmath_doc_to_text
Get text prompt for auxsolidmath task
lmms_eval/tasks/unig2u/auxsolidmath/utils.py:131
Function
auxsolidmath_doc_to_text
Build prompt for solid geometry problem.
lmms_eval/tasks/auxsolidmath/utils.py:98
Function
auxsolidmath_doc_to_text_visual_cot
Get two-stage Visual Chain-of-Thought prompt for auxsolidmath task. Stage 1: Analyze the problem and draw auxiliary lines on the 3D diagram
lmms_eval/tasks/unig2u/auxsolidmath/utils.py:170
Function
auxsolidmath_doc_to_visual
Get visual input for auxsolidmath task (original diagram)
lmms_eval/tasks/unig2u/auxsolidmath/utils.py:122
Function
auxsolidmath_doc_to_visual
Extract visual input (original diagram) from document.
lmms_eval/tasks/auxsolidmath/utils.py:89
Function
auxsolidmath_process_results
Process auxsolidmath results with LLM Judge evaluation using Azure TRAPI. Uses GPT-4o as Judge (configurable via JUDGE_DEPLOYMENT env var).
lmms_eval/tasks/unig2u/auxsolidmath/utils.py:221
Function
auxsolidmath_process_results
Process results and compute accuracy using string matching.
lmms_eval/tasks/auxsolidmath/utils.py:137
Function
av_asr_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/av_asr/utils.py:66
Function
av_asr_doc_to_visual
(doc)
lmms_eval/tasks/av_asr/utils.py:40
Function
av_asr_process_results
(doc, results)
lmms_eval/tasks/av_asr/utils.py:82
Function
av_asr_wer
(items)
lmms_eval/tasks/av_asr/utils.py:88
Function
av_odyssey_aggregate_results
Args: results: a list of values returned by process_results Returns: A score
lmms_eval/tasks/av_odyssey/utils.py:214
Function
av_odyssey_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/av_odyssey/utils.py:122
Function
av_odyssey_doc_to_visual
(doc)
lmms_eval/tasks/av_odyssey/utils.py:65
Function
av_odyssey_process_results
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary with key: metric name (in this c
lmms_eval/tasks/av_odyssey/utils.py:191
Function
av_speakerbench_aggregate_results
Aggregate per-sample scores into per-task_id accuracy and overall accuracy. Args: results: List of dicts produced by av_speakerbench
lmms_eval/tasks/av_speakerbench/utils.py:200
Function
av_speakerbench_doc_to_audio
Return audio as a dict with waveform and sampling_rate for unified audio handling. Falls back to the absolute path if loading fails.
lmms_eval/tasks/av_speakerbench/utils.py:102
Function
av_speakerbench_doc_to_audiovisual
Return the audiovisual clip path, joined with CACHE_ROOT.
lmms_eval/tasks/av_speakerbench/utils.py:92
Function
av_speakerbench_doc_to_text_audio
Prompt for audio-only mode.
lmms_eval/tasks/av_speakerbench/utils.py:80
Function
av_speakerbench_doc_to_text_av
Prompt for audiovisual mode.
lmms_eval/tasks/av_speakerbench/utils.py:74
Function
av_speakerbench_doc_to_text_visual
Prompt for visual-only mode.
lmms_eval/tasks/av_speakerbench/utils.py:86
Function
av_speakerbench_doc_to_visual
Return the visual-only clip path, joined with CACHE_ROOT.
lmms_eval/tasks/av_speakerbench/utils.py:119
Function
av_speakerbench_process_results
Compare model prediction with ground truth. Args: doc: Single dataset example. results: List of model outputs for the exampl
lmms_eval/tasks/av_speakerbench/utils.py:174
Function
babyvision_aggregate_results
Aggregate results across all samples.
lmms_eval/tasks/babyvision/utils.py:206
Function
babyvision_aggregate_results
Aggregate results across all samples.
lmms_eval/tasks/babyvision_gen/utils.py:183
Function
babyvision_doc_to_target
Extract target instruction (for reference)
lmms_eval/tasks/babyvision_gen/utils.py:132
Function
babyvision_doc_to_text
Build question text from document.
lmms_eval/tasks/babyvision/utils.py:101
Function
babyvision_doc_to_text
Extract generation prompt text from document
lmms_eval/tasks/babyvision_gen/utils.py:121
Function
babyvision_doc_to_visual
Extract input image from document.
lmms_eval/tasks/babyvision/utils.py:95
Function
babyvision_doc_to_visual
Extract input image from document
lmms_eval/tasks/babyvision_gen/utils.py:115
Function
babyvision_process_results
Process model predictions and evaluate using LLM-as-Judge API.
lmms_eval/tasks/babyvision/utils.py:138
Function
babyvision_process_results
Process model predictions and evaluate using LLM API.
lmms_eval/tasks/babyvision_gen/utils.py:137
Function
batch_evaluate
Batch evaluate all JSONL files in a directory. Args: eval_dir: Directory containing JSONL files output_dir: Directory to save res
lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/__init__.py:118
Method
batch_evaluate
Computes TEDS score between the prediction and the ground truth of a batch of samples @params pred_json: {'FILENAME': 'HTML CODE', ...
lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:140
Method
batch_level_generate
Batch generation without tool calling.
lmms_eval/models/chat/sglang.py:502
← previous
next →
3,601–3,700 of 7,449, ranked by callers