MCPcopy Create free account

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

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

Methodbuild_description
Build the instruction description. Args: num_placeholders: An integer denoting the minimum number of placeholders requi
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:248
Methodbuild_description
Build the instruction description. Args: num_bullets: An integer specifying the exact number of bullet lists that is re
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:290
Methodbuild_description
Build the instruction description.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:334
Methodbuild_description
Build the instruction description. Args: starter: A string representing the keyward that the response should start with
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:369
Methodbuild_description
Build the instruction description. Args: num_highlights: An integer specifying the minimum number of highlighted sectio
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:411
Methodbuild_description
Build the instruction description. Args: section_spliter: A string represents the section spliter keyword that marks a
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:464
Methodbuild_description
Build the instruction description. Args: num_paragraphs: An integer specifying the number of paragraphs. Returns:
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:527
Methodbuild_description
Build the instruction description. Args: postscript_marker: A string containing the keyword that marks the start of the
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:579
Methodbuild_description
Build the instruction description. Args: original_message: A string representing the original message. The rephrased re
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:630
Methodbuild_description
Build the instruction description. Args: keywords: A sequence of strings representing the keywords that are expected in
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:689
Methodbuild_description
Build the instruction description. Args: keyword: A string representing a keyword that is expected in the response. frequ
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:729
Methodbuild_description
Build the instruction description. Args: num_words: An integer specifying the number of words contained in the response
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:794
Methodbuild_description
r"""Build the instruction description. Args: num_paragraphs: An integer indicating the number of paragraphs expected in
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:870
Methodbuild_description
Build the instruction description. Args: key_sentences: A sequences of strings representing the key sentences that are
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:971
Methodbuild_description
Build the instruction description. Args: forbidden_words: A sequences of strings respresenting words that are not allow
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1024
Methodbuild_description
Builds the instruction description. Args: original_paragraph: A string presenting the original paragraph. The rephrases
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1063
Methodbuild_description
Build the instruction description.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1121
Methodbuild_description
Build the instruction description. Args: prompt_to_repeat: The prompt that is meant to be repeated. Returns: A s
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1157
Methodbuild_description
Build the instruction description. Args: end_phrase: A string representing the phrase the response should end with. Return
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1191
Methodbuild_description
Build the instruction description.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1223
Methodbuild_description
Build the instruction description. Args: letter: A string representing a letter that is expected in the response. let_fre
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1250
Methodbuild_description
Build the instruction description.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1317
Methodbuild_description
Build the instruction description.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1344
Methodbuild_description
Build the instruction description.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1371
Methodbuild_description
Build the instruction description. Args: capital_frequency: An integer that represents the number of words that should
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1391
Methodbuild_description
Build the instruction description.
lmms-eval/lmms_eval/tasks/ifeval/instructions.py:1449
Functionbuild_descriptive_quries
(data, image_dir)
lmms-eval/lmms_eval/tasks/charxiv/descriptive_utils.py:193
Functionbuild_logger
(logger_name, logger_filename)
llava/utils.py:87
Methodbuild_option_str
(self, option_list)
lmms-eval/lmms_eval/tasks/mmupd/mmupd_evals.py:114
Functionbuild_reasoning_queries
(data, image_dir)
lmms-eval/lmms_eval/tasks/charxiv/reasoning_utils.py:90
Functionbypass
(items)
lmms-eval/lmms_eval/api/metrics.py:349
Functionbypass_agg
(arr)
lmms-eval/lmms_eval/api/metrics.py:18
Functionbyte_perplexity_fn
(items)
lmms-eval/lmms_eval/api/metrics.py:262
Methodcal_f1
Calculate global F1 accuracy score (field-level, micro-averaged) by counting all true positives, false negatives and false positives
lmms-eval/lmms_eval/tasks/synthdog/donut_evaluator.py:117
Functioncalculate_accuracy
Calculate accuracy percentage from results. Args: results: Results dictionary Returns: Accuracy as percentage (0-100)
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/core/base_metrics.py:10
Functioncalculate_bleu4
(reference, hypothesis)
lmms-eval/lmms_eval/tasks/cuva/utils.py:56
Functioncalculate_bleu4
(reference, hypothesis)
lmms-eval/lmms_eval/tasks/funqa/utils.py:130
Functioncalculate_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/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/utils/spatial_utils.py:100
Functioncalculate_distance
(coord1, coord2)
lmms-eval/lmms_eval/tasks/sparbench/utils.py:143
Functioncalculate_ocr_metrics
计算答案质量的综合评估指标(ROUGE、BLEU和BGE语义相似度)
lmms-eval/lmms_eval/tasks/snsbench/metrics.py:99
Functioncalculate_position_similarity
Calculate similarity between two positions using Euclidean distance. Args: pos1: First position [x, y] pos2: Second position [x,
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/utils/spatial_utils.py:10
Functioncalculate_rouge
(reference, hypothesis)
lmms-eval/lmms_eval/tasks/cuva/utils.py:78
Functioncalculate_rouge
(reference, hypothesis)
lmms-eval/lmms_eval/tasks/funqa/utils.py:152
Functioncambench_aggregate_results_ACC
Args: results: a list of values returned by process_results Returns: A score
lmms-eval/lmms_eval/tasks/camerabench_vqa/utils.py:273
Functioncambench_aggregate_results_G_ACC
Args: results: a list of values returned by process_results Returns: A score
lmms-eval/lmms_eval/tasks/camerabench_vqa/utils.py:201
Functioncambench_aggregate_results_I_ACC
Args: results: a list of values returned by process_results Returns: A score
lmms-eval/lmms_eval/tasks/camerabench_vqa/utils.py:249
Functioncambench_aggregate_results_Q_ACC
Args: results: a list of values returned by process_results Returns: A score
lmms-eval/lmms_eval/tasks/camerabench_vqa/utils.py:225
Functioncambench_doc_to_text
(doc)
lmms-eval/lmms_eval/tasks/camerabench_vqa/utils.py:172
Functioncambench_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/camerabench_vqa/utils.py:148
Functioncambench_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/lmms_eval/tasks/camerabench_vqa/utils.py:182
Methodcancel_batch
(self, batch_id)
lmms-eval/lmms_eval/models/simple/batch_gpt4.py:225
Functioncancel_job
Cancel a queued job. Note: Running jobs cannot be cancelled.
lmms-eval/lmms_eval/entrypoints/http_server.py:142
Methodcancel_job
(self, job_id: str)
lmms-eval/lmms_eval/entrypoints/client.py:367
Methodcancel_job
Cancel a queued job. Args: job_id: The ID of the job to cancel. Returns: Tuple of (success, message
lmms-eval/lmms_eval/entrypoints/job_scheduler.py:145
Functioncapability_aggregate_f1score
(results, args)
lmms-eval/lmms_eval/tasks/capability/utils.py:163
Functioncapability_aggregate_inference_result
(results, args)
lmms-eval/lmms_eval/tasks/capability/utils.py:100
Functioncapability_aggregate_precision
(results, args)
lmms-eval/lmms_eval/tasks/capability/utils.py:147
Functioncapability_aggregate_recall
(results, args)
lmms-eval/lmms_eval/tasks/capability/utils.py:155
Functioncapability_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/capability/utils.py:68
Functioncapability_doc_to_visual
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/capability/utils.py:55
Functioncapability_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/lmms_eval/tasks/capability/utils.py:73
Functioncaptionqa_aggregate_accuracy
Aggregate CaptionQA accuracy across all questions.
lmms-eval/lmms_eval/tasks/captionqa/utils.py:488
Functioncaptionqa_aggregate_cannot_answer
Aggregate 'cannot answer' rate across all questions.
lmms-eval/lmms_eval/tasks/captionqa/utils.py:523
Functioncaptionqa_aggregate_score
Aggregate CaptionQA score across all questions.
lmms-eval/lmms_eval/tasks/captionqa/utils.py:456
Functioncaptionqa_doc_to_text
Generate the prompt for caption generation.
lmms-eval/lmms_eval/tasks/captionqa/utils.py:244
Functioncaptionqa_doc_to_visual
Extract visual content from document.
lmms-eval/lmms_eval/tasks/captionqa/utils.py:231
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/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/lmms_eval/tasks/captionqa/utils.py:358
Functionchartqa_doc_to_text
(doc, lmms_eval_specific_kwargs)
lmms-eval/lmms_eval/tasks/chartqa/utils.py:5
Functionchartqa_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/chartqa/utils.py:1
Functionchartqa_process_results
(doc, results)
lmms-eval/lmms_eval/tasks/chartqa/utils.py:12
Functioncharxiv_descriptive_aggregate_results
(results)
lmms-eval/lmms_eval/tasks/charxiv/utils.py:95
Functioncharxiv_descriptive_doc_to_messages_cot
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/charxiv/utils.py:68
Functioncharxiv_descriptive_doc_to_messages_cot
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/charxiv/reasoning/utils.py:86
Functioncharxiv_descriptive_process_docs
(dataset: Dataset)
lmms-eval/lmms_eval/tasks/charxiv/utils.py:38
Functioncharxiv_descriptive_process_docs
(dataset: Dataset)
lmms-eval/lmms_eval/tasks/charxiv/reasoning/utils.py:57
Functioncharxiv_descriptive_process_results
(doc, results)
lmms-eval/lmms_eval/tasks/charxiv/utils.py:86
Functioncharxiv_descriptive_process_results
(doc, results)
lmms-eval/lmms_eval/tasks/charxiv/reasoning/utils.py:119
Functioncharxiv_reasoning_aggregate_results
(results)
lmms-eval/lmms_eval/tasks/charxiv/utils.py:126
Functioncharxiv_reasoning_doc_to_messages_cot
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/charxiv/utils.py:77
Functioncharxiv_reasoning_doc_to_messages_cot
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/charxiv/reasoning/utils.py:97
Functioncharxiv_reasoning_process_results
(doc, results)
lmms-eval/lmms_eval/tasks/charxiv/utils.py:113
Functioncharxiv_reasoning_process_results
(doc, results)
lmms-eval/lmms_eval/tasks/charxiv/reasoning/utils.py:108
Functioncheck_argument_types
Check to make sure all CLI args are typed, raises error if not
lmms-eval/lmms_eval/__main__.py:90
Methodcheck_following
(self, value)
lmms-eval/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/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/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/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/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/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/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/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/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/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/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/lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:642
Methodcheck_following
Check if the response contain the expected keywords.
lmms-eval/lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:703
Methodcheck_following
Checks if the response contain the keyword with required frequency.
lmms-eval/lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:758
Methodcheck_following
Checks if the response contains the expected number of words.
lmms-eval/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/lmms_eval/tasks/voicebench/instruction_following_eval/instructions.py:891
← previousnext →3,201–3,300 of 6,334, ranked by callers