MCPcopy Create free account

hub / github.com/Fanziyang-v/FlashVID / functions

Functions6,334 in github.com/Fanziyang-v/FlashVID

Methodcheck_following
Checks if the response contains the expected key sentences.
lmms-eval/lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:976
Methodcheck_following
Check if the response does not contain the expected keywords.
lmms-eval/lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1018
Methodcheck_following
(self, value)
lmms-eval/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/lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1096
Methodcheck_following
(self, value)
lmms-eval/lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1144
Methodcheck_following
Checks if the response ends with the expected phrase.
lmms-eval/lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1175
Methodcheck_following
Checks if the response contains a title.
lmms-eval/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/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/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/lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1314
Methodcheck_following
Checks that the response does not contain commas.
lmms-eval/lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1341
Methodcheck_following
Checks the frequency of words with all capital letters.
lmms-eval/lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1390
Methodcheck_following
Checks if the response is wrapped with double quotation marks.
lmms-eval/lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1420
Methodcheck_following
(self, value)
lmms-eval/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/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/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/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/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/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/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/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/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/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/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/lmms_eval/tasks/ifeval/instructions.py:657
Methodcheck_following
Check if the response contain the expected keywords.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:718
Methodcheck_following
Checks if the response contain the keyword with required frequency.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:781
Methodcheck_following
Checks if the response contains the expected number of words.
lmms-eval/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/lmms_eval/tasks/ifeval/instructions.py:922
Methodcheck_following
Checks if the response contains the expected key sentences.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1010
Methodcheck_following
Check if the response does not contain the expected keywords.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1052
Methodcheck_following
(self, value)
lmms-eval/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/lmms_eval/tasks/ifeval/instructions.py:1134
Methodcheck_following
(self, value)
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1182
Methodcheck_following
Checks if the response ends with the expected phrase.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1213
Methodcheck_following
Checks if the response contains a title.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1235
Methodcheck_following
Checks that the response contains the letter at the right frequency.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1303
Methodcheck_following
Checks that the response is in English and in all capital letters.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1329
Methodcheck_following
Checks that the response is in English and in all lowercase letters.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1356
Methodcheck_following
Checks that the response does not contain commas.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1383
Methodcheck_following
Checks the frequency of words with all capital letters.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1432
Methodcheck_following
Checks if the response is wrapped with double quotation marks.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1462
Functioncheck_if_context_is_set
(expected_context="spawn")
lmms-eval/lmms_eval/tasks/detailcaps/utils.py:58
Functioncheck_key_in_json
(file_path, key)
lmms-eval/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/lmms_eval/tasks/hallusion_bench/utils.py:91
Methodcheck_with_timeout
(constraint, constraint_val)
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/constrained_generation.py:450
Methodchntext2cardinal
(self)
lmms-eval/lmms_eval/tasks/librispeech/cn_tn.py:743
Methodchntext2fraction
(self)
lmms-eval/lmms_eval/tasks/librispeech/cn_tn.py:804
Methodchntext2percentage
(self)
lmms-eval/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/lmms_eval/api/metrics.py:90
Functionchrf_fn
(items)
lmms-eval/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/lmms_eval/utils.py:217
Functioncinepile_aggregate_results
Args: results: a list of values returned by process_results Returns: A score
lmms-eval/lmms_eval/tasks/cinepile/utils.py:155
Functioncinepile_doc_to_target
(doc)
lmms-eval/lmms_eval/tasks/cinepile/utils.py:65
Functioncinepile_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/cinepile/utils.py:59
Functioncinepile_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/cinepile/utils.py:15
Functioncinepile_process_results
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary with key: metric name (in this case a
lmms-eval/lmms_eval/tasks/cinepile/utils.py:120
Methodclass_impl
(self)
lmms-eval/lmms_eval/tasks/megabench/metrics/aggregation_type.py:20
Methodclass_impl
(self)
lmms-eval/lmms_eval/tasks/megabench/metrics/response_parse_type.py:24
Methodclassify_results
(row)
lmms-eval/lmms_eval/tasks/mmrefine/mmrefine_evals.py:153
Methodclean
Clean up resources or processes after the launch. :return: None
lmms-eval/lmms_eval/llm_judge/launcher/base.py:24
Methodclean
Clean up resources or processes after the SGLang judge launch. :return: None
lmms-eval/lmms_eval/llm_judge/launcher/sglang.py:35
Functionclean_text
Clean and normalize text. Args: text: Input text to clean Returns: Cleaned text
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/utils/text_utils.py:53
Functionclear_torch_cache
()
lmms-eval/lmms_eval/utils.py:915
Functionclotho_aqa_doc_to_audio
(doc)
lmms-eval/lmms_eval/tasks/clotho_aqa/utils.py:11
Functionclotho_aqa_doc_to_text
(doc, lmms_eval_specific_kwargs)
lmms-eval/lmms_eval/tasks/clotho_aqa/utils.py:15
Functionclotho_aqa_v2_aggregate_results
(results)
lmms-eval/lmms_eval/tasks/clotho_aqa/utils.py:124
Functionclotho_aqa_v2_process_results
(doc, result)
lmms-eval/lmms_eval/tasks/clotho_aqa/utils.py:114
Functioncmmmu_aggregate_results
(results)
lmms-eval/lmms_eval/tasks/cmmmu/utils.py:78
Functioncmmmu_doc_to_text
(doc)
lmms-eval/lmms_eval/tasks/cmmmu/utils.py:53
Functioncmmmu_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/cmmmu/utils.py:57
Functioncmmmu_process_results
(doc, results)
lmms-eval/lmms_eval/tasks/cmmmu/utils.py:66
Functioncmmmu_process_test_results_for_submission
(doc, results)
lmms-eval/lmms_eval/tasks/cmmmu/utils.py:116
Functioncmmmu_test_aggregate_results_for_submission
(results, args)
lmms-eval/lmms_eval/tasks/cmmmu/utils.py:121
Functioncoco_bleu1
(results, args)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:140
Functioncoco_bleu2
(results, args)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:136
Functioncoco_bleu3
(results, args)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:132
Functioncoco_bleu4
(results, args)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:128
Functioncoco_cap_chair_aggregate_results_chair_i
Args: results: a list of values returned by process_results Returns: A score
lmms-eval/lmms_eval/tasks/coco_cap_chair/utils.py:982
Functioncoco_cap_chair_aggregate_results_chair_s
Args: results: a list of values returned by process_results Returns: A score
lmms-eval/lmms_eval/tasks/coco_cap_chair/utils.py:1002
Functioncoco_cap_chair_aggregate_results_recall
Args: results: a list of values returned by process_results Returns: A score
lmms-eval/lmms_eval/tasks/coco_cap_chair/utils.py:1022
Functioncoco_cap_chair_doc_to_text
(doc)
lmms-eval/lmms_eval/tasks/coco_cap_chair/utils.py:902
Functioncoco_cap_chair_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/coco_cap_chair/utils.py:891
Functioncoco_cap_chair_process_result
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary with key: metric name, value: metric
lmms-eval/lmms_eval/tasks/coco_cap_chair/utils.py:965
Functioncoco_cider
(results, args)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:152
Functioncoco_doc_to_text
(doc)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:30
Functioncoco_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:19
Functioncoco_doc_to_visual_karpathy
(doc)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:23
Functioncoco_meteor
(results, args)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:144
Functioncoco_process_result
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary with key: metric name, value: metric
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:53
Functioncoco_process_result_karpathy
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary with key: metric name, value: metric
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:34
Functioncoco_rougel
(results, args)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:148
Functioncoco_spice
(results, args)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:156
Functioncoco_test_aggregation_result
(results, args)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:174
Functioncoco_test_process_result
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary with key: metric name (in this case c
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:160
Functioncogmapeval
Calculates the score for the cogmap metric. Args: response: The response from the model. answer: The answer to the question.
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/rule_metrics.py:301
Methodcombine_cents
(m: Match)
lmms-eval/lmms_eval/tasks/gigaspeech/whisper_normalizer/english.py:397
Methodcombine_cents
(m: Match)
lmms-eval/lmms_eval/tasks/librispeech/whisper_normalizer/english.py:397
Functioncombined_sample_stderr
(stderrs: List[float], sizes: List[int], metrics=None)
lmms-eval/lmms_eval/api/metrics.py:635
Functioncommon_voice_15_doc_to_audio
(doc)
lmms-eval/lmms_eval/tasks/common_voice_15/utils.py:29
← previousnext →3,301–3,400 of 6,334, ranked by callers