MCPcopy Create free account

hub / github.com/FeiElysia/Tempo / functions

Functions7,449 in github.com/FeiElysia/Tempo

Functioncsbench_mcq_doc_to_text
(doc: Dict, lmms_eval_specific_kwargs: Dict)
lmms_eval/tasks/csbench/utils.py:11
Functioncsbench_process_results
(doc: Dict, result: List[str])
lmms_eval/tasks/csbench/utils.py:83
Functioncsv2triples_noheader
(csv, separator="\\t", delimiter="\\n")
lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:643
Functioncsv_eval
(predictions, references, easy, pred_type="json")
lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:576
Methodcurrent_job_id
Get the ID of the currently running job.
lmms_eval/entrypoints/job_scheduler.py:93
Functioncuva_BLEU
(results, args)
lmms_eval/tasks/cuva/utils.py:202
Functioncuva_BLEURT
(results, args)
lmms_eval/tasks/cuva/utils.py:210
Functioncuva_ROUGE
(results, args)
lmms_eval/tasks/cuva/utils.py:206
Functioncuva_doc_to_answer
(doc)
lmms_eval/tasks/cuva/utils.py:127
Functioncuva_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/cuva/utils.py:117
Functioncuva_doc_to_visual
(doc)
lmms_eval/tasks/cuva/utils.py:104
Functioncuva_process_results
(doc, result)
lmms_eval/tasks/cuva/utils.py:133
Functioncv_bench_aggregate_results
(results: List[Dict])
lmms_eval/tasks/cv_bench/utils.py:55
Functioncv_bench_default_aggregate_results
(results: List[Dict])
lmms_eval/tasks/cv_bench/utils.py:67
Functioncv_bench_doc_to_text
(doc: dict[str, Any], lmms_eval_specific_kwargs: Optional[dict[str, Any]] = None)
lmms_eval/tasks/cv_bench/utils.py:27
Functioncv_bench_doc_to_text
(doc: dict, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/cv_bench/reasoning/utils.py:11
Functioncv_bench_doc_to_visual
(doc: dict)
lmms_eval/tasks/cv_bench/utils.py:37
Functioncv_bench_doc_to_visual
(doc: dict)
lmms_eval/tasks/cv_bench/reasoning/utils.py:7
Functioncv_bench_process_results
(doc: Dict, result: List[str])
lmms_eval/tasks/cv_bench/utils.py:41
Functioncvrr_aggregate_accuracy
(results, args)
lmms_eval/tasks/cvrr/utils.py:228
Functioncvrr_aggregate_score
(results, args)
lmms_eval/tasks/cvrr/utils.py:215
Functioncvrr_doc_to_answer
(doc)
lmms_eval/tasks/cvrr/utils.py:95
Functioncvrr_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/cvrr/utils.py:79
Functioncvrr_doc_to_visual
(doc)
lmms_eval/tasks/cvrr/utils.py:38
Functioncvrr_process_results
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary
lmms_eval/tasks/cvrr/utils.py:184
Functiond170_cn_aggregate_avg_score
(results)
lmms_eval/tasks/internal_eval/d170_cn_utils.py:138
Functiond170_cn_aggregate_info
(results, args)
lmms_eval/tasks/internal_eval/d170_cn_utils.py:131
Functiond170_cn_aggregate_score2_rate
(results)
lmms_eval/tasks/internal_eval/d170_cn_utils.py:146
Functiond170_en_aggregate_avg_score
(results)
lmms_eval/tasks/internal_eval/d170_en_utils.py:138
Functiond170_en_aggregate_info
(results, args)
lmms_eval/tasks/internal_eval/d170_en_utils.py:131
Functiond170_en_aggregate_score2_rate
(results)
lmms_eval/tasks/internal_eval/d170_en_utils.py:146
Functiondc100_en_aggregate_avg_score
(results)
lmms_eval/tasks/internal_eval/dc100_en_utils.py:143
Functiondc100_en_aggregate_info
(results, args)
lmms_eval/tasks/internal_eval/dc100_en_utils.py:136
Functiondc200_cn_aggregate_avg_score
(results)
lmms_eval/tasks/internal_eval/dc200_cn_utils.py:149
Functiondc200_cn_aggregate_info
(results, args)
lmms_eval/tasks/internal_eval/dc200_cn_utils.py:142
Functiondecode_tokens
( tokens: Union[torch.LongTensor, TokensType], tokenizer: PreTrainedTokenizer, raw_text_len: int,
lmms_eval/models/model_utils/qwen/qwen_generate_utils.py:237
Functiondecorate
(cls)
lmms_eval/api/registry.py:15
Methoddefault
(self, o)
lmms_eval/utils.py:428
Functiondefault_evaluation_params
default_evaluation_params: Default parameters to use for the validation and evaluation.
lmms_eval/tasks/ocrbench_v2/spotting_eval/script.py:27
Functiondelete_cache
(key: str = "")
lmms_eval/caching/cache.py:62
Functiondelete_extra_zero
(n)
lmms_eval/tasks/mathvision/eval_utils.py:198
Functiondetailcaps_bleu1
(results, args=None)
lmms_eval/tasks/detailcaps/utils.py:153
Functiondetailcaps_bleu2
(results, args=None)
lmms_eval/tasks/detailcaps/utils.py:149
Functiondetailcaps_bleu3
(results, args=None)
lmms_eval/tasks/detailcaps/utils.py:145
Functiondetailcaps_bleu4
(results, args=None)
lmms_eval/tasks/detailcaps/utils.py:141
Functiondetailcaps_capture
(results, args=None)
lmms_eval/tasks/detailcaps/utils.py:173
Functiondetailcaps_cider
(results, args=None)
lmms_eval/tasks/detailcaps/utils.py:165
Functiondetailcaps_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/detailcaps/utils.py:26
Functiondetailcaps_doc_to_visual
(doc)
lmms_eval/tasks/detailcaps/utils.py:22
Functiondetailcaps_meteor
(results, args=None)
lmms_eval/tasks/detailcaps/utils.py:157
Functiondetailcaps_process_result
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary with key: metric name, value: metric
lmms_eval/tasks/detailcaps/utils.py:40
Functiondetailcaps_rougel
(results, args=None)
lmms_eval/tasks/detailcaps/utils.py:161
Functiondetailcaps_spice
(results, args=None)
lmms_eval/tasks/detailcaps/utils.py:169
Functiondetailcaps_test_aggregation_result
(results, args=None)
lmms_eval/tasks/detailcaps/utils.py:188
Functiondetailcaps_test_process_result
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary with key: metric name (in this case d
lmms_eval/tasks/detailcaps/utils.py:177
Functiondetermine_answer_fields
Determine which fields contain the answers. Args: item: The evaluation item dictionary Returns: Tuple of (cogmap_field, plai
lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/parse_output.py:33
Methoddevice
(self)
lmms_eval/models/whisper_tt.py:99
Methoddevice
(self)
lmms_eval/models/simple/whisper_vllm.py:61
Methoddevice
(self)
tempo/multimodal_encoder/base_encoder.py:79
Methoddict
(self)
tempo/conversation.py:294
Functiondivide
Divide the elements from *iterable* into *n* parts, maintaining order. >>> group_1, group_2 = divide(2, [1, 2, 3, 4, 5, 6]) >>> l
lmms_eval/utils.py:1128
Functiondoc_to_audio
(doc)
lmms_eval/tasks/mmau/utils.py:11
Functiondoc_to_audio
(doc)
lmms_eval/tasks/openhermes/utils.py:11
Functiondoc_to_audio
(doc)
lmms_eval/tasks/alpaca_audio/utils.py:11
Functiondoc_to_audio
Extract audio path from document
lmms_eval/tasks/step2_audio_paralinguistic/utils.py:127
Functiondoc_to_audio
(doc)
lmms_eval/tasks/vocalsound/utils.py:6
Functiondoc_to_choice
(doc)
lmms_eval/tasks/vocalsound/utils.py:19
Methoddoc_to_decontamination_query
(self, doc)
lmms_eval/api/task.py:410
Methoddoc_to_decontamination_query
(self, doc)
lmms_eval/api/task.py:1375
Functiondoc_to_messages
System-only instruction + user contains video only.
lmms_eval/tasks/videomme/video_only_abcd/utils.py:17
Functiondoc_to_messages
(doc: dict)
lmms_eval/tasks/gpqa/reasoning/utils.py:55
Functiondoc_to_messages
(sample: Dict[str, Any], lmms_kwargs: Dict[str, Any] = None)
lmms_eval/tasks/mme_sci_image/utils.py:68
Functiondoc_to_messages
(doc: dict)
lmms_eval/tasks/aime/reasoning/utils.py:18
Methoddoc_to_messages
(self, doc: dict)
lmms_eval/api/task.py:1751
Functiondoc_to_messages_frames
Build interleaved messages for frame-based mode. Replaces <video> with sampled frames as images.
lmms_eval/tasks/mmsi_video/utils.py:359
Functiondoc_to_messages_video
Build interleaved messages for native video mode. Handles mixed <video> and <image> placeholders.
lmms_eval/tasks/mmsi_video/utils.py:311
Functiondoc_to_target
Extract target answer from document
lmms_eval/tasks/step2_audio_paralinguistic/utils.py:158
Functiondoc_to_text
Build the prompt text from the document. Following VLMEvalKit's format: - Hint (if present) - Question - Options (A, B, C, D) - P
lmms_eval/tasks/3dsrbench/utils.py:51
Functiondoc_to_text
Return empty text (no question provided).
lmms_eval/tasks/videomme/video_only_abcd/utils.py:12
Functiondoc_to_text
Build open-ended question text (without options).
lmms_eval/tasks/videomme/revert_oe_mcq/utils.py:7
Functiondoc_to_text
Build open-ended question text (without options).
lmms_eval/tasks/videomme/convert_mcq_oe/utils.py:29
Functiondoc_to_text
Format evaluation prompt from document.
lmms_eval/tasks/realunify/utils.py:29
Functiondoc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/internal_eval/utils.py:1
Functiondoc_to_text
Format evaluation prompt.
lmms_eval/tasks/unig2u/realunify/utils.py:32
Functiondoc_to_text
Format question with choices if applicable.
lmms_eval/tasks/unig2u/babyvision/utils.py:173
Functiondoc_to_text
(doc, lmms_eval_specific_kwargs)
lmms_eval/tasks/openhermes/utils.py:15
Functiondoc_to_text
(doc, lmms_eval_specific_kwargs)
lmms_eval/tasks/iconqa/utils.py:23
Functiondoc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/mmvetv2/utils.py:167
Functiondoc_to_text
(doc, lmms_eval_specific_kwargs)
lmms_eval/tasks/alpaca_audio/utils.py:15
Functiondoc_to_text
(doc: dict)
lmms_eval/tasks/aime/utils.py:199
Functiondoc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/vsisuper/recall/vsr_utils.py:18
Functiondoc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/vsisuper/count_streaming/vsc_streaming_utils.py:16
Functiondoc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/vsisuper/count/vsc_utils.py:17
Functiondoc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/llava_interleave_bench/utils.py:53
Functiondoc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/mmie/utils.py:98
Functiondoc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/mmvet/utils.py:193
Functiondoc_to_text
Generate text prompt based on task type
lmms_eval/tasks/step2_audio_paralinguistic/utils.py:132
Functiondoc_to_text
(doc, lmms_eval_specific_kwargs)
lmms_eval/tasks/vocalsound/utils.py:10
Functiondoc_to_text
(doc: dict)
lmms_eval/tasks/openai_math/utils.py:196
Functiondoc_to_text_attentional_focusing_cot
Visual CoT prompt for Attentional Focusing task.
lmms_eval/tasks/realunify/utils.py:131
← previousnext →4,201–4,300 of 7,449, ranked by callers