MCPcopy Create free account

hub / github.com/FeiElysia/Tempo / functions

Functions7,449 in github.com/FeiElysia/Tempo

Functioncaptionqa_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
Functioncaptionqa_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
Functionchartqa_doc_to_text
(doc, lmms_eval_specific_kwargs)
lmms_eval/tasks/unig2u/chartqa100/utils.py:5
Functionchartqa_doc_to_text
(doc, lmms_eval_specific_kwargs)
lmms_eval/tasks/chartqa/utils.py:5
Functionchartqa_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/chartqa/reasoning/utils.py:9
Functionchartqa_doc_to_text_visual_cot
Visual CoT prompt for ChartQA task.
lmms_eval/tasks/unig2u/chartqa100/utils.py:76
Functionchartqa_doc_to_visual
(doc)
lmms_eval/tasks/unig2u/chartqa100/utils.py:1
Functionchartqa_doc_to_visual
(doc)
lmms_eval/tasks/chartqa/utils.py:1
Functionchartqa_process_results
(doc, results)
lmms_eval/tasks/unig2u/chartqa100/utils.py:12
Functionchartqa_process_results
(doc, results)
lmms_eval/tasks/chartqa/utils.py:12
Functionchartqa_reasoning_process_results
(doc, results)
lmms_eval/tasks/chartqa/reasoning/utils.py:19
Functioncharxiv_descriptive_aggregate_results
(results)
lmms_eval/tasks/charxiv/utils.py:107
Functioncharxiv_descriptive_doc_to_messages_cot
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/charxiv/utils.py:80
Functioncharxiv_descriptive_doc_to_text_cot
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/charxiv/reasoning/utils.py:81
Functioncharxiv_descriptive_process_docs
(dataset: Dataset)
lmms_eval/tasks/charxiv/utils.py:48
Functioncharxiv_descriptive_process_docs
(dataset: Dataset)
lmms_eval/tasks/charxiv/reasoning/utils.py:60
Functioncharxiv_descriptive_process_results
(doc, results)
lmms_eval/tasks/charxiv/utils.py:98
Functioncharxiv_doc_to_visual
(doc)
lmms_eval/tasks/charxiv/reasoning/utils.py:85
Functioncharxiv_reasoning_aggregate_results
(results)
lmms_eval/tasks/charxiv/utils.py:138
Functioncharxiv_reasoning_doc_to_messages_cot
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/charxiv/utils.py:89
Functioncharxiv_reasoning_doc_to_text_cot
(doc, lmms_eval_specific_kwargs=None)
lmms_eval/tasks/charxiv/reasoning/utils.py:30
Functioncharxiv_reasoning_process_results
(doc, results)
lmms_eval/tasks/charxiv/utils.py:125
Methodchat_completion
(self, *, messages, **kwargs)
lmms_eval/tasks/unig2u/phyx/utils.py:63
Methodchat_completion
(self, *, messages, **kwargs)
lmms_eval/tasks/unig2u/phyx/utils.py:74
Methodchat_completion
(self, *, messages, **kwargs)
lmms_eval/tasks/unig2u/babyvision/utils.py:67
Methodchat_completion
(self, *, messages, **kwargs)
lmms_eval/tasks/unig2u/babyvision/utils.py:78
Methodchat_completion
(self, *, messages, **kwargs)
lmms_eval/tasks/unig2u/geometry3k/utils.py:64
Methodchat_completion
(self, *, messages, **kwargs)
lmms_eval/tasks/unig2u/geometry3k/utils.py:75
Methodchat_completion
(self, *, messages, **kwargs)
lmms_eval/tasks/unig2u/auxsolidmath/utils.py:65
Methodchat_completion
(self, *, messages, **kwargs)
lmms_eval/tasks/unig2u/auxsolidmath/utils.py:76
Functioncheck_argument_types
Check to make sure all CLI args are typed, raises error if not
lmms_eval/__main__.py:72
Methodcheck_following
(self, value)
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:118
Methodcheck_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
Methodcheck_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
Methodcheck_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
Methodcheck_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
Methodcheck_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
Methodcheck_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
Methodcheck_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
Methodcheck_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
Methodcheck_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
Methodcheck_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
Methodcheck_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
Methodcheck_following
Check if the response contain the expected keywords.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:703
Methodcheck_following
Checks if the response contain the keyword with required frequency.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:758
Methodcheck_following
Checks if the response contains the expected number of words.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:810
Methodcheck_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
Methodcheck_following
Checks if the response contains the expected key sentences.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:976
Methodcheck_following
Check if the response does not contain the expected keywords.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1018
Methodcheck_following
(self, value)
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1066
Methodcheck_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
Methodcheck_following
(self, value)
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1144
Methodcheck_following
Checks if the response ends with the expected phrase.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1175
Methodcheck_following
Checks if the response contains a title.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1197
Methodcheck_following
Checks that the response contains the letter at the right frequency.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1261
Methodcheck_following
Checks that the response is in English and in all capital letters.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1287
Methodcheck_following
Checks that the response is in English and in all lowercase letters.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1314
Methodcheck_following
Checks that the response does not contain commas.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1341
Methodcheck_following
Checks the frequency of words with all capital letters.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1390
Methodcheck_following
Checks if the response is wrapped with double quotation marks.
lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1420
Methodcheck_following
(self, value)
lmms_eval/tasks/ifeval/instructions.py:124
Methodcheck_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
Methodcheck_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
Methodcheck_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
Methodcheck_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
Methodcheck_following
Checks if the response matches the constrained options. Args: value: A string representing the response. Returns:
lmms_eval/tasks/ifeval/instructions.py:349
Methodcheck_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
Methodcheck_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
Methodcheck_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
Methodcheck_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
Methodcheck_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
Methodcheck_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
Methodcheck_following
Check if the response contain the expected keywords.
lmms_eval/tasks/ifeval/instructions.py:718
Methodcheck_following
Checks if the response contain the keyword with required frequency.
lmms_eval/tasks/ifeval/instructions.py:781
Methodcheck_following
Checks if the response contains the expected number of words.
lmms_eval/tasks/ifeval/instructions.py:833
Methodcheck_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
Methodcheck_following
Checks if the response contains the expected key sentences.
lmms_eval/tasks/ifeval/instructions.py:1010
Methodcheck_following
Check if the response does not contain the expected keywords.
lmms_eval/tasks/ifeval/instructions.py:1052
Methodcheck_following
(self, value)
lmms_eval/tasks/ifeval/instructions.py:1104
Methodcheck_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
Methodcheck_following
(self, value)
lmms_eval/tasks/ifeval/instructions.py:1182
Methodcheck_following
Checks if the response ends with the expected phrase.
lmms_eval/tasks/ifeval/instructions.py:1213
Methodcheck_following
Checks if the response contains a title.
lmms_eval/tasks/ifeval/instructions.py:1235
Methodcheck_following
Checks that the response contains the letter at the right frequency.
lmms_eval/tasks/ifeval/instructions.py:1303
Methodcheck_following
Checks that the response is in English and in all capital letters.
lmms_eval/tasks/ifeval/instructions.py:1329
Methodcheck_following
Checks that the response is in English and in all lowercase letters.
lmms_eval/tasks/ifeval/instructions.py:1356
Methodcheck_following
Checks that the response does not contain commas.
lmms_eval/tasks/ifeval/instructions.py:1383
Methodcheck_following
Checks the frequency of words with all capital letters.
lmms_eval/tasks/ifeval/instructions.py:1432
Methodcheck_following
Checks if the response is wrapped with double quotation marks.
lmms_eval/tasks/ifeval/instructions.py:1462
Functioncheck_if_context_is_set
(expected_context="spawn")
lmms_eval/tasks/detailcaps/utils.py:58
Functioncheck_key_in_json
(file_path, key)
lmms_eval/tasks/gedit_bench/viescore/utils.py:353
Functioncheck_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
Methodcheck_with_timeout
(constraint, constraint_val)
lmms_eval/tasks/megabench/metrics/scoring/constrained_generation.py:450
Methodchntext2cardinal
(self)
lmms_eval/tasks/librispeech/cn_tn.py:743
Methodchntext2fraction
(self)
lmms_eval/tasks/librispeech/cn_tn.py:804
Methodchntext2percentage
(self)
lmms_eval/tasks/librispeech/cn_tn.py:903
Functionchrf
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
Functionchrf_fn
(items)
lmms_eval/api/metrics.py:389
Functionchunks
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
Functioncinepile_aggregate_results
Args: results: a list of values returned by process_results Returns: A score
lmms_eval/tasks/cinepile/utils.py:155
← previousnext →3,901–4,000 of 7,449, ranked by callers