Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Feng-Hong/WINO-DLLM
/ functions
Functions
4,510 in github.com/Feng-Hong/WINO-DLLM
⨍
Functions
4,510
◇
Types & classes
452
↳
Endpoints
18
Function
brier_score_fn
(items)
MMaDA/lmms_eval/lmms_eval/api/metrics.py:136
Function
broadcast
(tensor, src=0)
MMaDA/lmms_eval/lmms_eval/models/model_mmada/misc.py:37
Function
broadcast
(tensor, src=0)
MMaDA/models/misc.py:37
Method
build
(cls, config: ModelConfig, size: Optional[int] = None, **kwargs)
LLaDA/modeling_llada.py:239
Method
build
(cls, layer_id: int, config: ModelConfig, cache: BufferCache)
LLaDA/modeling_llada.py:748
Method
build
(cls, config: ModelConfig, size: Optional[int] = None, **kwargs)
MMaDA/lmms_eval/lmms_eval/models/model_mmada/modeling_llada.py:239
Method
build
(cls, layer_id: int, config: ModelConfig, cache: BufferCache)
MMaDA/lmms_eval/lmms_eval/models/model_mmada/modeling_llada.py:748
Method
build
(cls, config: ModelConfig, size: Optional[int] = None, **kwargs)
MMaDA/models/modeling_llada.py:239
Method
build
(cls, layer_id: int, config: ModelConfig, cache: BufferCache)
MMaDA/models/modeling_llada.py:748
Method
build_description
(self, **kwargs)
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:115
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_description
Build the instruction description.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:334
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_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
Method
build_description
Build the instruction description.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1121
Method
build_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
Method
build_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
Method
build_description
Build the instruction description.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1223
Method
build_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
Method
build_description
Build the instruction description.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1317
Method
build_description
Build the instruction description.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1344
Method
build_description
Build the instruction description.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1371
Method
build_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
Method
build_description
Build the instruction description.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1449
Method
build_option_str
(self, option_list)
MMaDA/lmms_eval/lmms_eval/tasks/mmupd/mmupd_evals.py:114
Function
bypass
(items)
MMaDA/lmms_eval/lmms_eval/api/metrics.py:344
Function
bypass_agg
(arr)
MMaDA/lmms_eval/lmms_eval/api/metrics.py:18
Function
byte_perplexity_fn
(items)
MMaDA/lmms_eval/lmms_eval/api/metrics.py:262
Method
cal_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
Function
calculate_bleu4
(reference, hypothesis)
MMaDA/lmms_eval/lmms_eval/tasks/cuva/utils.py:60
Function
calculate_bleu4
(reference, hypothesis)
MMaDA/lmms_eval/lmms_eval/tasks/funqa/utils.py:132
Function
calculate_rouge
(reference, hypothesis)
MMaDA/lmms_eval/lmms_eval/tasks/cuva/utils.py:82
Function
calculate_rouge
(reference, hypothesis)
MMaDA/lmms_eval/lmms_eval/tasks/funqa/utils.py:154
Method
can_generate
(self)
LLaDA/modeling_llada.py:1495
Method
can_generate
(self)
MMaDA/lmms_eval/lmms_eval/models/model_mmada/modeling_llada.py:1495
Method
can_generate
(self)
MMaDA/models/modeling_llada.py:1495
Method
cancel_batch
(self, batch_id)
MMaDA/lmms_eval/lmms_eval/models/batch_gpt4.py:200
Function
capability_aggregate_f1score
(results, args)
MMaDA/lmms_eval/lmms_eval/tasks/capability/utils.py:164
Function
capability_aggregate_inference_result
(results, args)
MMaDA/lmms_eval/lmms_eval/tasks/capability/utils.py:101
Function
capability_aggregate_precision
(results, args)
MMaDA/lmms_eval/lmms_eval/tasks/capability/utils.py:148
Function
capability_aggregate_recall
(results, args)
MMaDA/lmms_eval/lmms_eval/tasks/capability/utils.py:156
Function
capability_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
MMaDA/lmms_eval/lmms_eval/tasks/capability/utils.py:69
Function
capability_doc_to_visual
(doc, lmms_eval_specific_kwargs=None)
MMaDA/lmms_eval/lmms_eval/tasks/capability/utils.py:56
Function
capability_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
Function
chartqa_doc_to_text
(doc, lmms_eval_specific_kwargs)
MMaDA/lmms_eval/lmms_eval/tasks/chartqa/utils.py:5
Function
chartqa_doc_to_visual
(doc)
MMaDA/lmms_eval/lmms_eval/tasks/chartqa/utils.py:1
Function
chartqa_process_results
(doc, results)
MMaDA/lmms_eval/lmms_eval/tasks/chartqa/utils.py:12
Function
check_argument_types
Check to make sure all CLI args are typed, raises error if not
MMaDA/lmms_eval/lmms_eval/__main__.py:63
Function
check_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
Method
check_following
(self, value)
MMaDA/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
MMaDA/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:
MMaDA/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:
MMaDA/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
MMaDA/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:
MMaDA/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
MMaDA/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
MMaDA/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
MMaDA/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
MMaDA/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
MMaDA/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
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:657
Method
check_following
Check if the response contain the expected keywords.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:718
Method
check_following
Checks if the response contain the keyword with required frequency.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:781
Method
check_following
Checks if the response contains the expected number of words.
MMaDA/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
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:922
Method
check_following
Checks if the response contains the expected key sentences.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1010
Method
check_following
Check if the response does not contain the expected keywords.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1052
Method
check_following
(self, value)
MMaDA/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
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1134
Method
check_following
(self, value)
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1182
Method
check_following
Checks if the response ends with the expected phrase.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1213
Method
check_following
Checks if the response contains a title.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1235
Method
check_following
Checks that the response contains the letter at the right frequency.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1303
Method
check_following
Checks that the response is in English and in all capital letters.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1329
Method
check_following
Checks that the response is in English and in all lowercase letters.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1356
Method
check_following
Checks that the response does not contain commas.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1383
Method
check_following
Checks the frequency of words with all capital letters.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1432
Method
check_following
Checks if the response is wrapped with double quotation marks.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions.py:1462
Function
check_if_context_is_set
(expected_context="spawn")
MMaDA/lmms_eval/lmms_eval/tasks/detailcaps/utils.py:58
Function
check_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
Method
check_with_timeout
(constraint, constraint_val)
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/scoring/constrained_generation.py:450
Method
chntext2cardinal
(self)
MMaDA/lmms_eval/lmms_eval/tasks/librispeech/cn_tn.py:739
Method
chntext2fraction
(self)
MMaDA/lmms_eval/lmms_eval/tasks/librispeech/cn_tn.py:800
Method
chntext2percentage
(self)
MMaDA/lmms_eval/lmms_eval/tasks/librispeech/cn_tn.py:899
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.
MMaDA/lmms_eval/lmms_eval/api/metrics.py:90
Function
chrf_fn
(items)
MMaDA/lmms_eval/lmms_eval/api/metrics.py:384
← previous
next →
2,201–2,300 of 4,510, ranked by callers