MCPcopy Create free account

hub / github.com/FeiElysia/Tempo / functions

Functions7,449 in github.com/FeiElysia/Tempo

Methodbuild_description
Build the instruction description. Args: num_placeholders: An integer denoting the minimum number of placeholders requi
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:236
Methodbuild_description
Build the instruction description. Args: num_bullets: An integer specifying the exact number of bullet lists that is re
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:278
Methodbuild_description
Build the instruction description.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:322
Methodbuild_description
Build the instruction description. Args: starter: A string representing the keyward that the response should start with
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:357
Methodbuild_description
Build the instruction description. Args: num_highlights: An integer specifying the minimum number of highlighted sectio
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:399
Methodbuild_description
Build the instruction description. Args: section_spliter: A string represents the section spliter keyword that marks a
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:452
Methodbuild_description
Build the instruction description. Args: num_paragraphs: An integer specifying the number of paragraphs. Returns:
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:512
Methodbuild_description
Build the instruction description. Args: postscript_marker: A string containing the keyword that marks the start of the
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:564
Methodbuild_description
Build the instruction description. Args: original_message: A string representing the original message. The rephrased re
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:615
Methodbuild_description
Build the instruction description. Args: keywords: A sequence of strings representing the keywords that are expected in
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:674
Methodbuild_description
Build the instruction description. Args: keyword: A string representing a keyword that is expected in the response. frequ
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:714
Methodbuild_description
Build the instruction description. Args: num_words: An integer specifying the number of words contained in the response
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:771
Methodbuild_description
r"""Build the instruction description. Args: num_paragraphs: An integer indicating the number of paragraphs expected in
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:847
Methodbuild_description
Build the instruction description. Args: key_sentences: A sequences of strings representing the key sentences that are
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:940
Methodbuild_description
Build the instruction description. Args: forbidden_words: A sequences of strings respresenting words that are not allow
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:990
Methodbuild_description
Builds the instruction description. Args: original_paragraph: A string presenting the original paragraph. The rephrases
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1029
Methodbuild_description
Build the instruction description.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1083
Methodbuild_description
Build the instruction description. Args: prompt_to_repeat: The prompt that is meant to be repeated. Returns: A s
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1119
Methodbuild_description
Build the instruction description. Args: end_phrase: A string representing the phrase the response should end with. Return
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1153
Methodbuild_description
Build the instruction description.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1185
Methodbuild_description
Build the instruction description. Args: letter: A string representing a letter that is expected in the response. let_fre
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1212
Methodbuild_description
Build the instruction description.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1275
Methodbuild_description
Build the instruction description.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1302
Methodbuild_description
Build the instruction description.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1329
Methodbuild_description
Build the instruction description. Args: capital_frequency: An integer that represents the number of words that should
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1349
Methodbuild_description
Build the instruction description.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1407
Methodbuild_description
(self, **kwargs)
lmms_eval/tasks/ifeval/instructions.py:115
Methodbuild_description
Build the instruction description. Args: language: A string representing the expected language of the response. The lan
lmms_eval/tasks/ifeval/instructions.py:131
Methodbuild_description
Build the instruction description. Args: num_sentences: An integer specifying the number of sentences as a threshold.
lmms_eval/tasks/ifeval/instructions.py:181
Methodbuild_description
Build the instruction description. Args: num_placeholders: An integer denoting the minimum number of placeholders requi
lmms_eval/tasks/ifeval/instructions.py:248
Methodbuild_description
Build the instruction description. Args: num_bullets: An integer specifying the exact number of bullet lists that is re
lmms_eval/tasks/ifeval/instructions.py:290
Methodbuild_description
Build the instruction description.
lmms_eval/tasks/ifeval/instructions.py:334
Methodbuild_description
Build the instruction description. Args: starter: A string representing the keyward that the response should start with
lmms_eval/tasks/ifeval/instructions.py:369
Methodbuild_description
Build the instruction description. Args: num_highlights: An integer specifying the minimum number of highlighted sectio
lmms_eval/tasks/ifeval/instructions.py:411
Methodbuild_description
Build the instruction description. Args: section_spliter: A string represents the section spliter keyword that marks a
lmms_eval/tasks/ifeval/instructions.py:464
Methodbuild_description
Build the instruction description. Args: num_paragraphs: An integer specifying the number of paragraphs. Returns:
lmms_eval/tasks/ifeval/instructions.py:527
Methodbuild_description
Build the instruction description. Args: postscript_marker: A string containing the keyword that marks the start of the
lmms_eval/tasks/ifeval/instructions.py:579
Methodbuild_description
Build the instruction description. Args: original_message: A string representing the original message. The rephrased re
lmms_eval/tasks/ifeval/instructions.py:630
Methodbuild_description
Build the instruction description. Args: keywords: A sequence of strings representing the keywords that are expected in
lmms_eval/tasks/ifeval/instructions.py:689
Methodbuild_description
Build the instruction description. Args: keyword: A string representing a keyword that is expected in the response. frequ
lmms_eval/tasks/ifeval/instructions.py:729
Methodbuild_description
Build the instruction description. Args: num_words: An integer specifying the number of words contained in the response
lmms_eval/tasks/ifeval/instructions.py:794
Methodbuild_description
r"""Build the instruction description. Args: num_paragraphs: An integer indicating the number of paragraphs expected in
lmms_eval/tasks/ifeval/instructions.py:870
Methodbuild_description
Build the instruction description. Args: key_sentences: A sequences of strings representing the key sentences that are
lmms_eval/tasks/ifeval/instructions.py:971
Methodbuild_description
Build the instruction description. Args: forbidden_words: A sequences of strings respresenting words that are not allow
lmms_eval/tasks/ifeval/instructions.py:1024
Methodbuild_description
Builds the instruction description. Args: original_paragraph: A string presenting the original paragraph. The rephrases
lmms_eval/tasks/ifeval/instructions.py:1063
Methodbuild_description
Build the instruction description.
lmms_eval/tasks/ifeval/instructions.py:1121
Methodbuild_description
Build the instruction description. Args: prompt_to_repeat: The prompt that is meant to be repeated. Returns: A s
lmms_eval/tasks/ifeval/instructions.py:1157
Methodbuild_description
Build the instruction description. Args: end_phrase: A string representing the phrase the response should end with. Return
lmms_eval/tasks/ifeval/instructions.py:1191
Methodbuild_description
Build the instruction description.
lmms_eval/tasks/ifeval/instructions.py:1223
Methodbuild_description
Build the instruction description. Args: letter: A string representing a letter that is expected in the response. let_fre
lmms_eval/tasks/ifeval/instructions.py:1250
Methodbuild_description
Build the instruction description.
lmms_eval/tasks/ifeval/instructions.py:1317
Methodbuild_description
Build the instruction description.
lmms_eval/tasks/ifeval/instructions.py:1344
Methodbuild_description
Build the instruction description.
lmms_eval/tasks/ifeval/instructions.py:1371
Methodbuild_description
Build the instruction description. Args: capital_frequency: An integer that represents the number of words that should
lmms_eval/tasks/ifeval/instructions.py:1391
Methodbuild_description
Build the instruction description.
lmms_eval/tasks/ifeval/instructions.py:1449
Functionbuild_descriptive_quries
(data, image_dir)
lmms_eval/tasks/charxiv/descriptive_utils.py:193
Methodbuild_inputs
(prompt_text, pil_image, target_width, target_height)
lmms_eval/models/simple/ovis_u1.py:352
Methodbuild_option_str
(self, option_list)
lmms_eval/tasks/mmupd/mmupd_evals.py:114
Methodbuild_payload_for_index
(global_index: int)
lmms_eval/models/chat/openai.py:173
Methodbuild_payload_for_index
(global_index: int)
lmms_eval/models/simple/openai.py:415
Functionbuild_reasoning_queries
(data, image_dir)
lmms_eval/tasks/charxiv/reasoning_utils.py:90
Functionbypass
(items)
lmms_eval/api/metrics.py:349
Functionbypass_agg
(arr)
lmms_eval/api/metrics.py:18
Functionbyte_perplexity_fn
(items)
lmms_eval/api/metrics.py:262
Methodcal_f1
Calculate global F1 accuracy score (field-level, micro-averaged) by counting all true positives, false negatives and false positives
lmms_eval/tasks/synthdog/donut_evaluator.py:117
Functioncalculate_accuracy
Calculate accuracy percentage from results. Args: results: Results dictionary Returns: Accuracy as percentage (0-100)
lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/core/base_metrics.py:10
Functioncalculate_bleu4
(reference, hypothesis)
lmms_eval/tasks/cuva/utils.py:56
Functioncalculate_bleu4
(reference, hypothesis)
lmms_eval/tasks/funqa/utils.py:130
Functioncalculate_center_of_mass
Calculate the center of mass for a set of positions. Args: positions: List of [x, y] positions Returns: Center of mass [x, y
lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/utils/spatial_utils.py:100
Functioncalculate_distance
(coord1, coord2)
lmms_eval/tasks/sparbench/utils.py:143
Functioncalculate_ocr_metrics
计算答案质量的综合评估指标(ROUGE、BLEU和BGE语义相似度)
lmms_eval/tasks/snsbench/metrics.py:99
Functioncalculate_position_similarity
Calculate similarity between two positions using Euclidean distance. Args: pos1: First position [x, y] pos2: Second position [x,
lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/utils/spatial_utils.py:10
Functioncalculate_rouge
(reference, hypothesis)
lmms_eval/tasks/cuva/utils.py:78
Functioncalculate_rouge
(reference, hypothesis)
lmms_eval/tasks/funqa/utils.py:152
Functioncall_gpt4o
Call GPT-4o API with a text prompt.
lmms_eval/tasks/unig2u/uni_mmmu/utils.py:62
Functioncambench_aggregate_results_ACC
Args: results: a list of values returned by process_results Returns: A score
lmms_eval/tasks/camerabench_vqa/utils.py:273
Functioncambench_aggregate_results_G_ACC
Args: results: a list of values returned by process_results Returns: A score
lmms_eval/tasks/camerabench_vqa/utils.py:201
Functioncambench_aggregate_results_I_ACC
Args: results: a list of values returned by process_results Returns: A score
lmms_eval/tasks/camerabench_vqa/utils.py:249
Functioncambench_aggregate_results_Q_ACC
Args: results: a list of values returned by process_results Returns: A score
lmms_eval/tasks/camerabench_vqa/utils.py:225
Functioncambench_doc_to_text
(doc)
lmms_eval/tasks/camerabench_vqa/utils.py:172
Functioncambench_doc_to_visual
(doc)
lmms_eval/tasks/camerabench_vqa/utils.py:148
Functioncambench_process_results
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary with key: metric name (in this case m
lmms_eval/tasks/camerabench_vqa/utils.py:182
Functioncambrian_qwen2_forward
( self, input_ids, attention_mask, position_ids, past_key_values, inputs_embeds, u
lmms_eval/models/model_utils/cambrians/qwen2_monkey_patch.py:143
Methodcancel_batch
(self, batch_id)
lmms_eval/models/simple/batch_gpt4.py:229
Functioncancel_job
Cancel a queued job. Note: Running jobs cannot be cancelled.
lmms_eval/entrypoints/http_server.py:142
Methodcancel_job
(self, job_id: str)
lmms_eval/entrypoints/client.py:367
Methodcancel_job
Cancel a queued job. Args: job_id: The ID of the job to cancel. Returns: Tuple of (success, message
lmms_eval/entrypoints/job_scheduler.py:145
Functioncancel_run
Cancel a queued evaluation run. Args: run_id: The run ID to cancel. Only queued (not yet running) runs can be cancelled.
lmms_eval/mcp/tools.py:339
Functioncapability_aggregate_f1score
(results, args)
lmms_eval/tasks/capability/utils.py:163
Functioncapability_aggregate_inference_result
(results, args)
lmms_eval/tasks/capability/utils.py:100
Functioncapability_aggregate_precision
(results, args)
lmms_eval/tasks/capability/utils.py:147
Functioncapability_aggregate_recall
(results, args)
lmms_eval/tasks/capability/utils.py:155
Functioncapability_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/capability/utils.py:68
Functioncapability_doc_to_visual
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/capability/utils.py:55
Functioncapability_process_results
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary with key: metric name (in this case c
lmms_eval/tasks/capability/utils.py:73
Functioncaptionqa_aggregate_accuracy
Aggregate CaptionQA accuracy across all questions.
lmms_eval/tasks/captionqa/utils.py:488
Functioncaptionqa_aggregate_cannot_answer
Aggregate 'cannot answer' rate across all questions.
lmms_eval/tasks/captionqa/utils.py:523
Functioncaptionqa_aggregate_score
Aggregate CaptionQA score across all questions.
lmms_eval/tasks/captionqa/utils.py:456
Functioncaptionqa_doc_to_text
Generate the prompt for caption generation.
lmms_eval/tasks/captionqa/utils.py:244
Functioncaptionqa_doc_to_visual
Extract visual content from document.
lmms_eval/tasks/captionqa/utils.py:231
← previousnext →3,801–3,900 of 7,449, ranked by callers