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
captionqa_process_docs
Process the dataset to add precomputed shuffle permutations to each document. This is called during dataset loading (before any parallel pro
lmms_eval/tasks/captionqa/utils.py:144
Function
captionqa_process_results
Process results for a single document. Calls judge directly for each question (server is initialized once and reused). Args: do
lmms_eval/tasks/captionqa/utils.py:358
Function
chartqa_doc_to_text
(doc, lmms_eval_specific_kwargs)
lmms_eval/tasks/unig2u/chartqa100/utils.py:5
Function
chartqa_doc_to_text
(doc, lmms_eval_specific_kwargs)
lmms_eval/tasks/chartqa/utils.py:5
Function
chartqa_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/chartqa/reasoning/utils.py:9
Function
chartqa_doc_to_text_visual_cot
Visual CoT prompt for ChartQA task.
lmms_eval/tasks/unig2u/chartqa100/utils.py:76
Function
chartqa_doc_to_visual
(doc)
lmms_eval/tasks/unig2u/chartqa100/utils.py:1
Function
chartqa_doc_to_visual
(doc)
lmms_eval/tasks/chartqa/utils.py:1
Function
chartqa_process_results
(doc, results)
lmms_eval/tasks/unig2u/chartqa100/utils.py:12
Function
chartqa_process_results
(doc, results)
lmms_eval/tasks/chartqa/utils.py:12
Function
chartqa_reasoning_process_results
(doc, results)
lmms_eval/tasks/chartqa/reasoning/utils.py:19
Function
charxiv_descriptive_aggregate_results
(results)
lmms_eval/tasks/charxiv/utils.py:107
Function
charxiv_descriptive_doc_to_messages_cot
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/charxiv/utils.py:80
Function
charxiv_descriptive_doc_to_text_cot
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/charxiv/reasoning/utils.py:81
Function
charxiv_descriptive_process_docs
(dataset: Dataset)
lmms_eval/tasks/charxiv/utils.py:48
Function
charxiv_descriptive_process_docs
(dataset: Dataset)
lmms_eval/tasks/charxiv/reasoning/utils.py:60
Function
charxiv_descriptive_process_results
(doc, results)
lmms_eval/tasks/charxiv/utils.py:98
Function
charxiv_doc_to_visual
(doc)
lmms_eval/tasks/charxiv/reasoning/utils.py:85
Function
charxiv_reasoning_aggregate_results
(results)
lmms_eval/tasks/charxiv/utils.py:138
Function
charxiv_reasoning_doc_to_messages_cot
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/charxiv/utils.py:89
Function
charxiv_reasoning_doc_to_text_cot
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/charxiv/reasoning/utils.py:30
Function
charxiv_reasoning_process_results
(doc, results)
lmms_eval/tasks/charxiv/utils.py:125
Method
chat_completion
(self, *, messages, **kwargs)
lmms_eval/tasks/unig2u/phyx/utils.py:63
Method
chat_completion
(self, *, messages, **kwargs)
lmms_eval/tasks/unig2u/phyx/utils.py:74
Method
chat_completion
(self, *, messages, **kwargs)
lmms_eval/tasks/unig2u/babyvision/utils.py:67
Method
chat_completion
(self, *, messages, **kwargs)
lmms_eval/tasks/unig2u/babyvision/utils.py:78
Method
chat_completion
(self, *, messages, **kwargs)
lmms_eval/tasks/unig2u/geometry3k/utils.py:64
Method
chat_completion
(self, *, messages, **kwargs)
lmms_eval/tasks/unig2u/geometry3k/utils.py:75
Method
chat_completion
(self, *, messages, **kwargs)
lmms_eval/tasks/unig2u/auxsolidmath/utils.py:65
Method
chat_completion
(self, *, messages, **kwargs)
lmms_eval/tasks/unig2u/auxsolidmath/utils.py:76
Function
check_argument_types
Check to make sure all CLI args are typed, raises error if not
lmms_eval/__main__.py:72
Method
check_following
(self, value)
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:118
Method
check_following
Check if the language of the entire response follows the instruction. Args: value: A string representing the response. Ret
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:153
Method
check_following
Check if the number of sentences follows the instruction. Args: value: A string representing the response. Returns:
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:213
Method
check_following
Check if the number of placeholders follows the instruction. Args: value: A string representing the response. Returns:
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:260
Method
check_following
r"""Check if the number of bullet lists meets the requirement. Args: value: A string representing the response. The response is exp
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:302
Method
check_following
Checks if the response matches the constrained options. Args: value: A string representing the response. Returns:
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:337
Method
check_following
Checks if the response starts with the constrained keyword or phrase. Args: value: A string representing the response. Ret
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:381
Method
check_following
Checks if the number of highlighted sections meets the requirement. Args: value: a string repesenting the response. The response is
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:425
Method
check_following
Checks the response contains multiple sections. Args: value: A string representing the response. The response is expected
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:490
Method
check_following
Checks the response contains required number of paragraphs. Args: value: A string representing the response. The response may conta
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:537
Method
check_following
Checks if the response follows the postscript format. Args: value: a string representing the response. The response is expected to
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:590
Method
check_following
r"""Checks if the rephrasing follows the instruction. Args: value: A string representing the response, which is expected to rephras
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:642
Method
check_following
Check if the response contain the expected keywords.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:703
Method
check_following
Checks if the response contain the keyword with required frequency.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:758
Method
check_following
Checks if the response contains the expected number of words.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:810
Method
check_following
Checks for required number of paragraphs and correct first word. Args: value: a string representing the response. The response may
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:891
Method
check_following
Checks if the response contains the expected key sentences.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:976
Method
check_following
Check if the response does not contain the expected keywords.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1018
Method
check_following
(self, value)
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1066
Method
check_following
Checks if the response has two different answers. Args: value: A string representing the response. Returns: True
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1096
Method
check_following
(self, value)
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1144
Method
check_following
Checks if the response ends with the expected phrase.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1175
Method
check_following
Checks if the response contains a title.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1197
Method
check_following
Checks that the response contains the letter at the right frequency.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1261
Method
check_following
Checks that the response is in English and in all capital letters.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1287
Method
check_following
Checks that the response is in English and in all lowercase letters.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1314
Method
check_following
Checks that the response does not contain commas.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1341
Method
check_following
Checks the frequency of words with all capital letters.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1390
Method
check_following
Checks if the response is wrapped with double quotation marks.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1420
Method
check_following
(self, value)
lmms_eval/tasks/ifeval/instructions.py:124
Method
check_following
Check if the language of the entire response follows the instruction. Args: value: A string representing the response. Ret
lmms_eval/tasks/ifeval/instructions.py:159
Method
check_following
Check if the number of sentences follows the instruction. Args: value: A string representing the response. Returns:
lmms_eval/tasks/ifeval/instructions.py:225
Method
check_following
Check if the number of placeholders follows the instruction. Args: value: A string representing the response. Returns:
lmms_eval/tasks/ifeval/instructions.py:272
Method
check_following
r"""Check if the number of bullet lists meets the requirement. Args: value: A string representing the response. The response is exp
lmms_eval/tasks/ifeval/instructions.py:314
Method
check_following
Checks if the response matches the constrained options. Args: value: A string representing the response. Returns:
lmms_eval/tasks/ifeval/instructions.py:349
Method
check_following
Checks if the response starts with the constrained keyword or phrase. Args: value: A string representing the response. Ret
lmms_eval/tasks/ifeval/instructions.py:393
Method
check_following
Checks if the number of highlighted sections meets the requirement. Args: value: a string repesenting the response. The response is
lmms_eval/tasks/ifeval/instructions.py:437
Method
check_following
Checks the response contains multiple sections. Args: value: A string representing the response. The response is expected
lmms_eval/tasks/ifeval/instructions.py:505
Method
check_following
Checks the response contains required number of paragraphs. Args: value: A string representing the response. The response may conta
lmms_eval/tasks/ifeval/instructions.py:552
Method
check_following
Checks if the response follows the postscript format. Args: value: a string representing the response. The response is expected to
lmms_eval/tasks/ifeval/instructions.py:605
Method
check_following
r"""Checks if the rephrasing follows the instruction. Args: value: A string representing the response, which is expected to rephras
lmms_eval/tasks/ifeval/instructions.py:657
Method
check_following
Check if the response contain the expected keywords.
lmms_eval/tasks/ifeval/instructions.py:718
Method
check_following
Checks if the response contain the keyword with required frequency.
lmms_eval/tasks/ifeval/instructions.py:781
Method
check_following
Checks if the response contains the expected number of words.
lmms_eval/tasks/ifeval/instructions.py:833
Method
check_following
Checks for required number of paragraphs and correct first word. Args: value: a string representing the response. The response may
lmms_eval/tasks/ifeval/instructions.py:922
Method
check_following
Checks if the response contains the expected key sentences.
lmms_eval/tasks/ifeval/instructions.py:1010
Method
check_following
Check if the response does not contain the expected keywords.
lmms_eval/tasks/ifeval/instructions.py:1052
Method
check_following
(self, value)
lmms_eval/tasks/ifeval/instructions.py:1104
Method
check_following
Checks if the response has two different answers. Args: value: A string representing the response. Returns: True
lmms_eval/tasks/ifeval/instructions.py:1134
Method
check_following
(self, value)
lmms_eval/tasks/ifeval/instructions.py:1182
Method
check_following
Checks if the response ends with the expected phrase.
lmms_eval/tasks/ifeval/instructions.py:1213
Method
check_following
Checks if the response contains a title.
lmms_eval/tasks/ifeval/instructions.py:1235
Method
check_following
Checks that the response contains the letter at the right frequency.
lmms_eval/tasks/ifeval/instructions.py:1303
Method
check_following
Checks that the response is in English and in all capital letters.
lmms_eval/tasks/ifeval/instructions.py:1329
Method
check_following
Checks that the response is in English and in all lowercase letters.
lmms_eval/tasks/ifeval/instructions.py:1356
Method
check_following
Checks that the response does not contain commas.
lmms_eval/tasks/ifeval/instructions.py:1383
Method
check_following
Checks the frequency of words with all capital letters.
lmms_eval/tasks/ifeval/instructions.py:1432
Method
check_following
Checks if the response is wrapped with double quotation marks.
lmms_eval/tasks/ifeval/instructions.py:1462
Function
check_if_context_is_set
(expected_context="spawn")
lmms_eval/tasks/detailcaps/utils.py:58
Function
check_key_in_json
(file_path, key)
lmms_eval/tasks/gedit_bench/viescore/utils.py:353
Function
check_same_by_chatgpt
(data, output_entry, gpt_model="gpt-4", load_json=False, save_json_path="./hallusion_output.json", retries=3)
lmms_eval/tasks/hallusion_bench/utils.py:91
Method
check_with_timeout
(constraint, constraint_val)
lmms_eval/tasks/megabench/metrics/scoring/constrained_generation.py:450
Method
chntext2cardinal
(self)
lmms_eval/tasks/librispeech/cn_tn.py:743
Method
chntext2fraction
(self)
lmms_eval/tasks/librispeech/cn_tn.py:804
Method
chntext2percentage
(self)
lmms_eval/tasks/librispeech/cn_tn.py:903
Function
chrf
chrF++ is a tool for automatic evaluation of machine translation output based on character n-gram precision and recall enhanced with word n-grams.
lmms_eval/api/metrics.py:90
Function
chrf_fn
(items)
lmms_eval/api/metrics.py:389
Function
chunks
Divides an iterable into chunks of specified size or based on a given function. Useful for batching Parameters: - iter: The input it
lmms_eval/utils.py:229
Function
cinepile_aggregate_results
Args: results: a list of values returned by process_results Returns: A score
lmms_eval/tasks/cinepile/utils.py:155
← previous
next →
3,901–4,000 of 7,449, ranked by callers