MCPcopy Create free account

hub / github.com/FeiElysia/Tempo / functions

Functions7,449 in github.com/FeiElysia/Tempo

Functionair_bench_aggregate_results_chat
(results)
lmms_eval/tasks/air_bench/utils.py:128
Functionair_bench_aggregate_results_for_submission
(results, args)
lmms_eval/tasks/air_bench/utils.py:187
Functionair_bench_aggregate_results_foundation
(results)
lmms_eval/tasks/air_bench/utils.py:194
Functionair_bench_doc_to_audio
(doc)
lmms_eval/tasks/air_bench/utils.py:15
Functionair_bench_doc_to_choice_foundation
(doc)
lmms_eval/tasks/air_bench/utils.py:165
Functionair_bench_doc_to_target_foundation
(doc)
lmms_eval/tasks/air_bench/utils.py:161
Functionair_bench_doc_to_text_chat
(doc, lmms_eval_specific_kwargs)
lmms_eval/tasks/air_bench/utils.py:19
Functionair_bench_doc_to_text_foundation
(doc, lmms_eval_specific_kwargs)
lmms_eval/tasks/air_bench/utils.py:152
Functionair_bench_process_results_chat
(doc, result)
lmms_eval/tasks/air_bench/utils.py:100
Functionair_bench_process_results_foundation
(doc, result)
lmms_eval/tasks/air_bench/utils.py:173
Methodall_groups
(self)
lmms_eval/tasks/__init__.py:82
Methodall_subtasks
(self)
lmms_eval/tasks/__init__.py:86
Methodall_tags
(self)
lmms_eval/tasks/__init__.py:90
Methodall_tasks
(self)
lmms_eval/tasks/__init__.py:78
Functionalpaca_audio_aggregate_results
(results)
lmms_eval/tasks/alpaca_audio/utils.py:119
Functionalpaca_audio_process_results
(doc, result)
lmms_eval/tasks/alpaca_audio/utils.py:109
Functionamber_g_aggregate_chair
Aggregate CHAIR metric.
lmms_eval/tasks/amber_g/utils.py:395
Functionamber_g_aggregate_cog
Aggregate Cog metric.
lmms_eval/tasks/amber_g/utils.py:425
Functionamber_g_aggregate_cover
Aggregate Cover metric.
lmms_eval/tasks/amber_g/utils.py:405
Functionamber_g_aggregate_hal
Aggregate Hal metric.
lmms_eval/tasks/amber_g/utils.py:415
Functionamber_g_doc_to_text
Convert document to text prompt.
lmms_eval/tasks/amber_g/utils.py:352
Functionamber_g_doc_to_visual
Convert document to visual input.
lmms_eval/tasks/amber_g/utils.py:336
Functionamber_g_process_result
Process a single result for AMBER evaluation.
lmms_eval/tasks/amber_g/utils.py:362
Functionami_aggregate_results
Aggregate results for AMI evaluation
lmms_eval/tasks/ami/utils.py:340
Functionami_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
Functionami_doc_to_text
Generate prompt for the audio model
lmms_eval/tasks/ami/utils.py:117
Functionami_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
Functionami_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
Methodapply
Return {"no_contamination", "only_contamination"} keys for the 2 different subsets
lmms_eval/filters/decontamination.py:19
Methodapply
(self, resps, docs)
lmms_eval/filters/extraction.py:14
Methodapply
(self, resps, docs)
lmms_eval/filters/extraction.py:48
Methodapply
(self, resps, docs)
lmms_eval/filters/extraction.py:105
Methodapply
(self, resps, docs)
lmms_eval/filters/extraction.py:232
Methodapply
Assuming each entry of `resps` is a list of model responses, we discard all but the first response.
lmms_eval/filters/selection.py:18
Methodapply
(self, resps, docs)
lmms_eval/filters/selection.py:32
Methodapply
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
Methodapply
(self, resps, docs)
lmms_eval/filters/transformation.py:8
Methodapply
(self, resps, docs)
lmms_eval/filters/transformation.py:19
Methodapply
(self, resps, docs)
lmms_eval/filters/transformation.py:44
Methodapply
(self, instances: List[Instance], docs: List[Dataset])
lmms_eval/api/filter.py:45
Methodapply
(self, resps, docs)
lmms_eval/tasks/muirbench/utils.py:84
Methodapply
(self, resps, docs)
lmms_eval/tasks/realworldqa/utils.py:59
Methodapply
(self, resps, docs)
lmms_eval/tasks/realworldqa/utils.py:79
Methodapply
(self, resps, docs)
lmms_eval/tasks/mmlu/flan_n_shot/generative/utils.py:34
Methodapply
(self, resps, docs)
lmms_eval/tasks/mmlu/flan_cot_zeroshot/utils.py:34
Methodapply
(self, resps, docs)
lmms_eval/tasks/illusionvqa/utils.py:37
Methodapply
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
Methodapply
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
Functionapply_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
Methodapply_filters
Iterates over FilterEnsembles and applies them to instances
lmms_eval/api/task.py:1363
Functionapply_template
(template: str, doc: dict)
lmms_eval/utils.py:978
Functionarc_agi_1_doc_to_target
(doc)
lmms_eval/tasks/arc_agi_1/utils.py:116
Functionarc_agi_1_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/arc_agi_1/utils.py:94
Functionarc_agi_1_doc_to_visual
(doc)
lmms_eval/tasks/arc_agi_1/utils.py:79
Functionarc_agi_1_process_results
(doc, results)
lmms_eval/tasks/arc_agi_1/utils.py:146
Functionarc_agi_2_doc_to_target
(doc: dict)
lmms_eval/tasks/arc_agi_2/utils.py:117
Functionarc_agi_2_doc_to_text
(doc: dict, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/arc_agi_2/utils.py:78
Functionarc_agi_2_doc_to_visual
(doc: dict)
lmms_eval/tasks/arc_agi_2/utils.py:23
Functionarc_agi_2_process_results
(doc: dict, results: list[str])
lmms_eval/tasks/arc_agi_2/utils.py:245
Methodargs
Returns (string,) where `string` is the string to calculate loglikelihood over
lmms_eval/api/instance.py:92
Methodauto_doc_to_messages
(doc)
lmms_eval/api/task.py:1762
Functionauxsolidmath_aggregate
Aggregate results
lmms_eval/tasks/unig2u/auxsolidmath/utils.py:308
Functionauxsolidmath_aggregate_accuracy
Aggregate accuracy scores.
lmms_eval/tasks/auxsolidmath/utils.py:162
Functionauxsolidmath_doc_to_target
Get target answer for auxsolidmath task
lmms_eval/tasks/unig2u/auxsolidmath/utils.py:165
Functionauxsolidmath_doc_to_target
Get target answer from document.
lmms_eval/tasks/auxsolidmath/utils.py:132
Functionauxsolidmath_doc_to_text
Get text prompt for auxsolidmath task
lmms_eval/tasks/unig2u/auxsolidmath/utils.py:131
Functionauxsolidmath_doc_to_text
Build prompt for solid geometry problem.
lmms_eval/tasks/auxsolidmath/utils.py:98
Functionauxsolidmath_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
Functionauxsolidmath_doc_to_visual
Get visual input for auxsolidmath task (original diagram)
lmms_eval/tasks/unig2u/auxsolidmath/utils.py:122
Functionauxsolidmath_doc_to_visual
Extract visual input (original diagram) from document.
lmms_eval/tasks/auxsolidmath/utils.py:89
Functionauxsolidmath_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
Functionauxsolidmath_process_results
Process results and compute accuracy using string matching.
lmms_eval/tasks/auxsolidmath/utils.py:137
Functionav_asr_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/av_asr/utils.py:66
Functionav_asr_doc_to_visual
(doc)
lmms_eval/tasks/av_asr/utils.py:40
Functionav_asr_process_results
(doc, results)
lmms_eval/tasks/av_asr/utils.py:82
Functionav_asr_wer
(items)
lmms_eval/tasks/av_asr/utils.py:88
Functionav_odyssey_aggregate_results
Args: results: a list of values returned by process_results Returns: A score
lmms_eval/tasks/av_odyssey/utils.py:214
Functionav_odyssey_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/av_odyssey/utils.py:122
Functionav_odyssey_doc_to_visual
(doc)
lmms_eval/tasks/av_odyssey/utils.py:65
Functionav_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
Functionav_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
Functionav_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
Functionav_speakerbench_doc_to_audiovisual
Return the audiovisual clip path, joined with CACHE_ROOT.
lmms_eval/tasks/av_speakerbench/utils.py:92
Functionav_speakerbench_doc_to_text_audio
Prompt for audio-only mode.
lmms_eval/tasks/av_speakerbench/utils.py:80
Functionav_speakerbench_doc_to_text_av
Prompt for audiovisual mode.
lmms_eval/tasks/av_speakerbench/utils.py:74
Functionav_speakerbench_doc_to_text_visual
Prompt for visual-only mode.
lmms_eval/tasks/av_speakerbench/utils.py:86
Functionav_speakerbench_doc_to_visual
Return the visual-only clip path, joined with CACHE_ROOT.
lmms_eval/tasks/av_speakerbench/utils.py:119
Functionav_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
Functionbabyvision_aggregate_results
Aggregate results across all samples.
lmms_eval/tasks/babyvision/utils.py:206
Functionbabyvision_aggregate_results
Aggregate results across all samples.
lmms_eval/tasks/babyvision_gen/utils.py:183
Functionbabyvision_doc_to_target
Extract target instruction (for reference)
lmms_eval/tasks/babyvision_gen/utils.py:132
Functionbabyvision_doc_to_text
Build question text from document.
lmms_eval/tasks/babyvision/utils.py:101
Functionbabyvision_doc_to_text
Extract generation prompt text from document
lmms_eval/tasks/babyvision_gen/utils.py:121
Functionbabyvision_doc_to_visual
Extract input image from document.
lmms_eval/tasks/babyvision/utils.py:95
Functionbabyvision_doc_to_visual
Extract input image from document
lmms_eval/tasks/babyvision_gen/utils.py:115
Functionbabyvision_process_results
Process model predictions and evaluate using LLM-as-Judge API.
lmms_eval/tasks/babyvision/utils.py:138
Functionbabyvision_process_results
Process model predictions and evaluate using LLM API.
lmms_eval/tasks/babyvision_gen/utils.py:137
Functionbatch_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
Methodbatch_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
Methodbatch_level_generate
Batch generation without tool calling.
lmms_eval/models/chat/sglang.py:502
← previousnext →3,601–3,700 of 7,449, ranked by callers