MCPcopy Create free account

hub / github.com/Feng-Hong/WINO-DLLM / functions

Functions4,510 in github.com/Feng-Hong/WINO-DLLM

Functionbrier_score_fn
(items)
MMaDA/lmms_eval/lmms_eval/api/metrics.py:136
Functionbroadcast
(tensor, src=0)
MMaDA/lmms_eval/lmms_eval/models/model_mmada/misc.py:37
Functionbroadcast
(tensor, src=0)
MMaDA/models/misc.py:37
Methodbuild
(cls, config: ModelConfig, size: Optional[int] = None, **kwargs)
LLaDA/modeling_llada.py:239
Methodbuild
(cls, layer_id: int, config: ModelConfig, cache: BufferCache)
LLaDA/modeling_llada.py:748
Methodbuild
(cls, config: ModelConfig, size: Optional[int] = None, **kwargs)
MMaDA/lmms_eval/lmms_eval/models/model_mmada/modeling_llada.py:239
Methodbuild
(cls, layer_id: int, config: ModelConfig, cache: BufferCache)
MMaDA/lmms_eval/lmms_eval/models/model_mmada/modeling_llada.py:748
Methodbuild
(cls, config: ModelConfig, size: Optional[int] = None, **kwargs)
MMaDA/models/modeling_llada.py:239
Methodbuild
(cls, layer_id: int, config: ModelConfig, cache: BufferCache)
MMaDA/models/modeling_llada.py:748
Methodbuild_description
(self, **kwargs)
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:115
Methodbuild_description
Build the instruction description. Args: language: A string representing the expected language of the response. The lan
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:131
Methodbuild_description
Build the instruction description. Args: num_sentences: An integer specifying the number of sentences as a threshold.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:181
Methodbuild_description
Build the instruction description. Args: num_placeholders: An integer denoting the minimum number of placeholders requi
MMaDA/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
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:290
Methodbuild_description
Build the instruction description.
MMaDA/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
MMaDA/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
MMaDA/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
MMaDA/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:
MMaDA/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
MMaDA/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
MMaDA/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
MMaDA/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
MMaDA/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
MMaDA/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
MMaDA/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
MMaDA/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
MMaDA/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
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1063
Methodbuild_description
Build the instruction description.
MMaDA/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
MMaDA/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
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1191
Methodbuild_description
Build the instruction description.
MMaDA/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
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1250
Methodbuild_description
Build the instruction description.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1317
Methodbuild_description
Build the instruction description.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1344
Methodbuild_description
Build the instruction description.
MMaDA/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
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1391
Methodbuild_description
Build the instruction description.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1449
Methodbuild_option_str
(self, option_list)
MMaDA/lmms_eval/lmms_eval/tasks/mmupd/mmupd_evals.py:114
Functionbypass
(items)
MMaDA/lmms_eval/lmms_eval/api/metrics.py:344
Functionbypass_agg
(arr)
MMaDA/lmms_eval/lmms_eval/api/metrics.py:18
Functionbyte_perplexity_fn
(items)
MMaDA/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
MMaDA/lmms_eval/lmms_eval/tasks/synthdog/donut_evaluator.py:125
Functioncalculate_bleu4
(reference, hypothesis)
MMaDA/lmms_eval/lmms_eval/tasks/cuva/utils.py:60
Functioncalculate_bleu4
(reference, hypothesis)
MMaDA/lmms_eval/lmms_eval/tasks/funqa/utils.py:132
Functioncalculate_rouge
(reference, hypothesis)
MMaDA/lmms_eval/lmms_eval/tasks/cuva/utils.py:82
Functioncalculate_rouge
(reference, hypothesis)
MMaDA/lmms_eval/lmms_eval/tasks/funqa/utils.py:154
Methodcan_generate
(self)
LLaDA/modeling_llada.py:1495
Methodcan_generate
(self)
MMaDA/lmms_eval/lmms_eval/models/model_mmada/modeling_llada.py:1495
Methodcan_generate
(self)
MMaDA/models/modeling_llada.py:1495
Methodcancel_batch
(self, batch_id)
MMaDA/lmms_eval/lmms_eval/models/batch_gpt4.py:200
Functioncapability_aggregate_f1score
(results, args)
MMaDA/lmms_eval/lmms_eval/tasks/capability/utils.py:164
Functioncapability_aggregate_inference_result
(results, args)
MMaDA/lmms_eval/lmms_eval/tasks/capability/utils.py:101
Functioncapability_aggregate_precision
(results, args)
MMaDA/lmms_eval/lmms_eval/tasks/capability/utils.py:148
Functioncapability_aggregate_recall
(results, args)
MMaDA/lmms_eval/lmms_eval/tasks/capability/utils.py:156
Functioncapability_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
MMaDA/lmms_eval/lmms_eval/tasks/capability/utils.py:69
Functioncapability_doc_to_visual
(doc, lmms_eval_specific_kwargs=None)
MMaDA/lmms_eval/lmms_eval/tasks/capability/utils.py:56
Functioncapability_process_results
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary with key: metric name (in this case c
MMaDA/lmms_eval/lmms_eval/tasks/capability/utils.py:74
Functionchartqa_doc_to_text
(doc, lmms_eval_specific_kwargs)
MMaDA/lmms_eval/lmms_eval/tasks/chartqa/utils.py:5
Functionchartqa_doc_to_visual
(doc)
MMaDA/lmms_eval/lmms_eval/tasks/chartqa/utils.py:1
Functionchartqa_process_results
(doc, results)
MMaDA/lmms_eval/lmms_eval/tasks/chartqa/utils.py:12
Functioncheck_argument_types
Check to make sure all CLI args are typed, raises error if not
MMaDA/lmms_eval/lmms_eval/__main__.py:63
Functioncheck_correctness
Evaluates the functional correctness of a completion by running the test suite provided in the problem.
LLaDA/dataset_utils/eval_correctness_mbpp/execution.py:23
Methodcheck_following
(self, value)
MMaDA/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
MMaDA/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:
MMaDA/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:
MMaDA/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
MMaDA/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:
MMaDA/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
MMaDA/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
MMaDA/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
MMaDA/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
MMaDA/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
MMaDA/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
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:657
Methodcheck_following
Check if the response contain the expected keywords.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:718
Methodcheck_following
Checks if the response contain the keyword with required frequency.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:781
Methodcheck_following
Checks if the response contains the expected number of words.
MMaDA/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
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:922
Methodcheck_following
Checks if the response contains the expected key sentences.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1010
Methodcheck_following
Check if the response does not contain the expected keywords.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1052
Methodcheck_following
(self, value)
MMaDA/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
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1134
Methodcheck_following
(self, value)
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1182
Methodcheck_following
Checks if the response ends with the expected phrase.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1213
Methodcheck_following
Checks if the response contains a title.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1235
Methodcheck_following
Checks that the response contains the letter at the right frequency.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1303
Methodcheck_following
Checks that the response is in English and in all capital letters.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1329
Methodcheck_following
Checks that the response is in English and in all lowercase letters.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1356
Methodcheck_following
Checks that the response does not contain commas.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1383
Methodcheck_following
Checks the frequency of words with all capital letters.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1432
Methodcheck_following
Checks if the response is wrapped with double quotation marks.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1462
Functioncheck_if_context_is_set
(expected_context="spawn")
MMaDA/lmms_eval/lmms_eval/tasks/detailcaps/utils.py:58
Functioncheck_same_by_chatgpt
(data, output_entry, gpt_model="gpt-4", load_json=False, save_json_path="./hallusion_output.json", retries=3)
MMaDA/lmms_eval/lmms_eval/tasks/hallusion_bench/utils.py:94
Methodcheck_with_timeout
(constraint, constraint_val)
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/scoring/constrained_generation.py:450
Methodchntext2cardinal
(self)
MMaDA/lmms_eval/lmms_eval/tasks/librispeech/cn_tn.py:739
Methodchntext2fraction
(self)
MMaDA/lmms_eval/lmms_eval/tasks/librispeech/cn_tn.py:800
Methodchntext2percentage
(self)
MMaDA/lmms_eval/lmms_eval/tasks/librispeech/cn_tn.py:899
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.
MMaDA/lmms_eval/lmms_eval/api/metrics.py:90
Functionchrf_fn
(items)
MMaDA/lmms_eval/lmms_eval/api/metrics.py:384
← previousnext →2,201–2,300 of 4,510, ranked by callers