Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Fanziyang-v/FlashVID
/ functions
Functions
6,334 in github.com/Fanziyang-v/FlashVID
⨍
Functions
6,334
◇
Types & classes
572
↳
Endpoints
36
Method
check_following
Checks if the response contains the expected key sentences.
lmms-eval/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/lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1018
Method
check_following
(self, value)
lmms-eval/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/lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1096
Method
check_following
(self, value)
lmms-eval/lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1144
Method
check_following
Checks if the response ends with the expected phrase.
lmms-eval/lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1175
Method
check_following
Checks if the response contains a title.
lmms-eval/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/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/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/lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1314
Method
check_following
Checks that the response does not contain commas.
lmms-eval/lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1341
Method
check_following
Checks the frequency of words with all capital letters.
lmms-eval/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/lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:1420
Method
check_following
(self, value)
lmms-eval/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/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/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/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/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/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/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/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/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/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/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/lmms_eval/tasks/ifeval/instructions.py:657
Method
check_following
Check if the response contain the expected keywords.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:718
Method
check_following
Checks if the response contain the keyword with required frequency.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:781
Method
check_following
Checks if the response contains the expected number of words.
lmms-eval/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/lmms_eval/tasks/ifeval/instructions.py:922
Method
check_following
Checks if the response contains the expected key sentences.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1010
Method
check_following
Check if the response does not contain the expected keywords.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1052
Method
check_following
(self, value)
lmms-eval/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/lmms_eval/tasks/ifeval/instructions.py:1134
Method
check_following
(self, value)
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1182
Method
check_following
Checks if the response ends with the expected phrase.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1213
Method
check_following
Checks if the response contains a title.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1235
Method
check_following
Checks that the response contains the letter at the right frequency.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1303
Method
check_following
Checks that the response is in English and in all capital letters.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1329
Method
check_following
Checks that the response is in English and in all lowercase letters.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1356
Method
check_following
Checks that the response does not contain commas.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1383
Method
check_following
Checks the frequency of words with all capital letters.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1432
Method
check_following
Checks if the response is wrapped with double quotation marks.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1462
Function
check_if_context_is_set
(expected_context="spawn")
lmms-eval/lmms_eval/tasks/detailcaps/utils.py:58
Function
check_key_in_json
(file_path, key)
lmms-eval/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/lmms_eval/tasks/hallusion_bench/utils.py:91
Method
check_with_timeout
(constraint, constraint_val)
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/constrained_generation.py:450
Method
chntext2cardinal
(self)
lmms-eval/lmms_eval/tasks/librispeech/cn_tn.py:743
Method
chntext2fraction
(self)
lmms-eval/lmms_eval/tasks/librispeech/cn_tn.py:804
Method
chntext2percentage
(self)
lmms-eval/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/lmms_eval/api/metrics.py:90
Function
chrf_fn
(items)
lmms-eval/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/lmms_eval/utils.py:217
Function
cinepile_aggregate_results
Args: results: a list of values returned by process_results Returns: A score
lmms-eval/lmms_eval/tasks/cinepile/utils.py:155
Function
cinepile_doc_to_target
(doc)
lmms-eval/lmms_eval/tasks/cinepile/utils.py:65
Function
cinepile_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/cinepile/utils.py:59
Function
cinepile_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/cinepile/utils.py:15
Function
cinepile_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
Method
class_impl
(self)
lmms-eval/lmms_eval/tasks/megabench/metrics/aggregation_type.py:20
Method
class_impl
(self)
lmms-eval/lmms_eval/tasks/megabench/metrics/response_parse_type.py:24
Method
classify_results
(row)
lmms-eval/lmms_eval/tasks/mmrefine/mmrefine_evals.py:153
Method
clean
Clean up resources or processes after the launch. :return: None
lmms-eval/lmms_eval/llm_judge/launcher/base.py:24
Method
clean
Clean up resources or processes after the SGLang judge launch. :return: None
lmms-eval/lmms_eval/llm_judge/launcher/sglang.py:35
Function
clean_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
Function
clear_torch_cache
()
lmms-eval/lmms_eval/utils.py:915
Function
clotho_aqa_doc_to_audio
(doc)
lmms-eval/lmms_eval/tasks/clotho_aqa/utils.py:11
Function
clotho_aqa_doc_to_text
(doc, lmms_eval_specific_kwargs)
lmms-eval/lmms_eval/tasks/clotho_aqa/utils.py:15
Function
clotho_aqa_v2_aggregate_results
(results)
lmms-eval/lmms_eval/tasks/clotho_aqa/utils.py:124
Function
clotho_aqa_v2_process_results
(doc, result)
lmms-eval/lmms_eval/tasks/clotho_aqa/utils.py:114
Function
cmmmu_aggregate_results
(results)
lmms-eval/lmms_eval/tasks/cmmmu/utils.py:78
Function
cmmmu_doc_to_text
(doc)
lmms-eval/lmms_eval/tasks/cmmmu/utils.py:53
Function
cmmmu_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/cmmmu/utils.py:57
Function
cmmmu_process_results
(doc, results)
lmms-eval/lmms_eval/tasks/cmmmu/utils.py:66
Function
cmmmu_process_test_results_for_submission
(doc, results)
lmms-eval/lmms_eval/tasks/cmmmu/utils.py:116
Function
cmmmu_test_aggregate_results_for_submission
(results, args)
lmms-eval/lmms_eval/tasks/cmmmu/utils.py:121
Function
coco_bleu1
(results, args)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:140
Function
coco_bleu2
(results, args)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:136
Function
coco_bleu3
(results, args)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:132
Function
coco_bleu4
(results, args)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:128
Function
coco_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
Function
coco_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
Function
coco_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
Function
coco_cap_chair_doc_to_text
(doc)
lmms-eval/lmms_eval/tasks/coco_cap_chair/utils.py:902
Function
coco_cap_chair_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/coco_cap_chair/utils.py:891
Function
coco_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
Function
coco_cider
(results, args)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:152
Function
coco_doc_to_text
(doc)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:30
Function
coco_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:19
Function
coco_doc_to_visual_karpathy
(doc)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:23
Function
coco_meteor
(results, args)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:144
Function
coco_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
Function
coco_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
Function
coco_rougel
(results, args)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:148
Function
coco_spice
(results, args)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:156
Function
coco_test_aggregation_result
(results, args)
lmms-eval/lmms_eval/tasks/coco_cap/utils.py:174
Function
coco_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
Function
cogmapeval
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
Method
combine_cents
(m: Match)
lmms-eval/lmms_eval/tasks/gigaspeech/whisper_normalizer/english.py:397
Method
combine_cents
(m: Match)
lmms-eval/lmms_eval/tasks/librispeech/whisper_normalizer/english.py:397
Function
combined_sample_stderr
(stderrs: List[float], sizes: List[int], metrics=None)
lmms-eval/lmms_eval/api/metrics.py:635
Function
common_voice_15_doc_to_audio
(doc)
lmms-eval/lmms_eval/tasks/common_voice_15/utils.py:29
← previous
next →
3,301–3,400 of 6,334, ranked by callers