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
build_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
Method
build_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
Method
build_description
Build the instruction description.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:322
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_description
Build the instruction description.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1083
Method
build_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
Method
build_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
Method
build_description
Build the instruction description.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1185
Method
build_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
Method
build_description
Build the instruction description.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1275
Method
build_description
Build the instruction description.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1302
Method
build_description
Build the instruction description.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1329
Method
build_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
Method
build_description
Build the instruction description.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1407
Method
build_description
(self, **kwargs)
lmms_eval/tasks/ifeval/instructions.py:115
Method
build_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
Method
build_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
Method
build_description
Build the instruction description. Args: num_placeholders: An integer denoting the minimum number of placeholders requi
lmms_eval/tasks/ifeval/instructions.py:248
Method
build_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
Method
build_description
Build the instruction description.
lmms_eval/tasks/ifeval/instructions.py:334
Method
build_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
Method
build_description
Build the instruction description. Args: num_highlights: An integer specifying the minimum number of highlighted sectio
lmms_eval/tasks/ifeval/instructions.py:411
Method
build_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
Method
build_description
Build the instruction description. Args: num_paragraphs: An integer specifying the number of paragraphs. Returns:
lmms_eval/tasks/ifeval/instructions.py:527
Method
build_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
Method
build_description
Build the instruction description. Args: original_message: A string representing the original message. The rephrased re
lmms_eval/tasks/ifeval/instructions.py:630
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_description
Builds the instruction description. Args: original_paragraph: A string presenting the original paragraph. The rephrases
lmms_eval/tasks/ifeval/instructions.py:1063
Method
build_description
Build the instruction description.
lmms_eval/tasks/ifeval/instructions.py:1121
Method
build_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
Method
build_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
Method
build_description
Build the instruction description.
lmms_eval/tasks/ifeval/instructions.py:1223
Method
build_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
Method
build_description
Build the instruction description.
lmms_eval/tasks/ifeval/instructions.py:1317
Method
build_description
Build the instruction description.
lmms_eval/tasks/ifeval/instructions.py:1344
Method
build_description
Build the instruction description.
lmms_eval/tasks/ifeval/instructions.py:1371
Method
build_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
Method
build_description
Build the instruction description.
lmms_eval/tasks/ifeval/instructions.py:1449
Function
build_descriptive_quries
(data, image_dir)
lmms_eval/tasks/charxiv/descriptive_utils.py:193
Method
build_inputs
(prompt_text, pil_image, target_width, target_height)
lmms_eval/models/simple/ovis_u1.py:352
Method
build_option_str
(self, option_list)
lmms_eval/tasks/mmupd/mmupd_evals.py:114
Method
build_payload_for_index
(global_index: int)
lmms_eval/models/chat/openai.py:173
Method
build_payload_for_index
(global_index: int)
lmms_eval/models/simple/openai.py:415
Function
build_reasoning_queries
(data, image_dir)
lmms_eval/tasks/charxiv/reasoning_utils.py:90
Function
bypass
(items)
lmms_eval/api/metrics.py:349
Function
bypass_agg
(arr)
lmms_eval/api/metrics.py:18
Function
byte_perplexity_fn
(items)
lmms_eval/api/metrics.py:262
Method
cal_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
Function
calculate_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
Function
calculate_bleu4
(reference, hypothesis)
lmms_eval/tasks/cuva/utils.py:56
Function
calculate_bleu4
(reference, hypothesis)
lmms_eval/tasks/funqa/utils.py:130
Function
calculate_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
Function
calculate_distance
(coord1, coord2)
lmms_eval/tasks/sparbench/utils.py:143
Function
calculate_ocr_metrics
计算答案质量的综合评估指标(ROUGE、BLEU和BGE语义相似度)
lmms_eval/tasks/snsbench/metrics.py:99
Function
calculate_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
Function
calculate_rouge
(reference, hypothesis)
lmms_eval/tasks/cuva/utils.py:78
Function
calculate_rouge
(reference, hypothesis)
lmms_eval/tasks/funqa/utils.py:152
Function
call_gpt4o
Call GPT-4o API with a text prompt.
lmms_eval/tasks/unig2u/uni_mmmu/utils.py:62
Function
cambench_aggregate_results_ACC
Args: results: a list of values returned by process_results Returns: A score
lmms_eval/tasks/camerabench_vqa/utils.py:273
Function
cambench_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
Function
cambench_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
Function
cambench_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
Function
cambench_doc_to_text
(doc)
lmms_eval/tasks/camerabench_vqa/utils.py:172
Function
cambench_doc_to_visual
(doc)
lmms_eval/tasks/camerabench_vqa/utils.py:148
Function
cambench_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
Function
cambrian_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
Method
cancel_batch
(self, batch_id)
lmms_eval/models/simple/batch_gpt4.py:229
Function
cancel_job
Cancel a queued job. Note: Running jobs cannot be cancelled.
lmms_eval/entrypoints/http_server.py:142
Method
cancel_job
(self, job_id: str)
lmms_eval/entrypoints/client.py:367
Method
cancel_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
Function
cancel_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
Function
capability_aggregate_f1score
(results, args)
lmms_eval/tasks/capability/utils.py:163
Function
capability_aggregate_inference_result
(results, args)
lmms_eval/tasks/capability/utils.py:100
Function
capability_aggregate_precision
(results, args)
lmms_eval/tasks/capability/utils.py:147
Function
capability_aggregate_recall
(results, args)
lmms_eval/tasks/capability/utils.py:155
Function
capability_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/capability/utils.py:68
Function
capability_doc_to_visual
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/capability/utils.py:55
Function
capability_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
Function
captionqa_aggregate_accuracy
Aggregate CaptionQA accuracy across all questions.
lmms_eval/tasks/captionqa/utils.py:488
Function
captionqa_aggregate_cannot_answer
Aggregate 'cannot answer' rate across all questions.
lmms_eval/tasks/captionqa/utils.py:523
Function
captionqa_aggregate_score
Aggregate CaptionQA score across all questions.
lmms_eval/tasks/captionqa/utils.py:456
Function
captionqa_doc_to_text
Generate the prompt for caption generation.
lmms_eval/tasks/captionqa/utils.py:244
Function
captionqa_doc_to_visual
Extract visual content from document.
lmms_eval/tasks/captionqa/utils.py:231
← previous
next →
3,801–3,900 of 7,449, ranked by callers