MCPcopy Create free account

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

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

Methodconfig
(self)
MMaDA/lmms_eval/lmms_eval/models/videollama3.py:120
Methodconfig
(self)
MMaDA/lmms_eval/lmms_eval/models/xcomposer2d5.py:103
Functionconflict_make
Makes sure if A conflicts with B, B will conflict with A. Args: conflicts: Dictionary of potential conflicts where key is instruction id
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions_registry.py:155
Methodconstruct_requests
(self, doc_id: int, ctx: str, **kwargs)
MMaDA/lmms_eval/lmms_eval/api/task.py:1414
Functioncosine_schedule
(t)
MMaDA/lmms_eval/lmms_eval/models/model_mmada/sampling.py:39
Functioncosine_schedule
(t)
MMaDA/models/sampling.py:39
Methodcount
(splits, choices="ABCD", prefix="", suffix="")
MMaDA/lmms_eval/lmms_eval/tasks/worldqa/worldqa_mc_evaluator.py:49
Methodcount_bytes
Used for byte-level perplexity metrics in rolling loglikelihood
MMaDA/lmms_eval/lmms_eval/api/task.py:538
Methodcount_choice
(splits, choices, prefix="", suffix="")
MMaDA/lmms_eval/lmms_eval/tasks/hrbench/hrbench_evals.py:56
Functioncount_sentences
Count the number of sentences.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions_util.py:1673
Functioncount_words
Counts the number of words.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/instructions_util.py:1660
Functioncountdown_doc_to_text
(doc, use_fewshot = False)
LLaDA/dataset_utils/countdown.py:62
Functioncountdown_extract_answer
(generated_text)
LLaDA/dataset_utils/countdown.py:84
Functioncountdown_is_correct
(equation, target, numbers)
LLaDA/dataset_utils/countdown.py:104
Functioncountdown_read_data
(data_path)
LLaDA/dataset_utils/countdown.py:135
Functioncovost2_bleu
(results, args)
MMaDA/lmms_eval/lmms_eval/tasks/covost2/utils.py:51
Functioncovost2_bleu_en
(results, args)
MMaDA/lmms_eval/lmms_eval/tasks/covost2/utils.py:64
Functioncovost2_doc_to_audio
(doc)
MMaDA/lmms_eval/lmms_eval/tasks/covost2/utils.py:27
Functioncovost2_doc_to_text
(doc, lmms_eval_specific_kwargs)
MMaDA/lmms_eval/lmms_eval/tasks/covost2/utils.py:31
Functioncovost2_en_zh_process_result
(doc, result)
MMaDA/lmms_eval/lmms_eval/tasks/covost2/utils.py:44
Functioncovost2_zh_en_process_result
(doc, result)
MMaDA/lmms_eval/lmms_eval/tasks/covost2/utils.py:37
Methodcreate
(cls, i, v)
MMaDA/lmms_eval/lmms_eval/tasks/librispeech/cn_tn.py:461
Methodcreate_custom_forward
(module)
MMaDA/lmms_eval/lmms_eval/models/mplug_owl_video/modeling_mplug_owl.py:610
Methodcreate_custom_forward
(module)
MMaDA/lmms_eval/lmms_eval/models/mplug_owl_video/modeling_mplug_owl.py:959
Functioncrop_image_search_results
(image_path, save_path)
MMaDA/lmms_eval/lmms_eval/tasks/mmsearch/utils/image_utils.py:145
Functioncross_entropy_per_percent_masked_bucket
(logits, labels, input_ids, mask_id, output_size, label_smoothing)
MMaDA/lmms_eval/lmms_eval/models/model_mmada/training_utils.py:346
Functioncross_entropy_per_percent_masked_bucket
(logits, labels, input_ids, mask_id, output_size, label_smoothing)
MMaDA/models/training_utils.py:346
Functioncsv2triples_noheader
(csv, separator="\\t", delimiter="\\n")
MMaDA/lmms_eval/lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:646
Functioncsv_eval
(predictions, references, easy, pred_type="json")
MMaDA/lmms_eval/lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:579
Functioncustom_forward
(*inputs)
MMaDA/lmms_eval/lmms_eval/models/mplug_owl_video/modeling_mplug_owl.py:1804
Methodcustom_forward
(*inputs)
MMaDA/lmms_eval/lmms_eval/models/mplug_owl_video/modeling_mplug_owl.py:611
Methodcustom_forward
(*inputs)
MMaDA/lmms_eval/lmms_eval/models/mplug_owl_video/modeling_mplug_owl.py:960
Functioncuva_BLEU
(results, args)
MMaDA/lmms_eval/lmms_eval/tasks/cuva/utils.py:208
Functioncuva_BLEURT
(results, args)
MMaDA/lmms_eval/lmms_eval/tasks/cuva/utils.py:216
Functioncuva_ROUGE
(results, args)
MMaDA/lmms_eval/lmms_eval/tasks/cuva/utils.py:212
Functioncuva_doc_to_answer
(doc)
MMaDA/lmms_eval/lmms_eval/tasks/cuva/utils.py:133
Functioncuva_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
MMaDA/lmms_eval/lmms_eval/tasks/cuva/utils.py:123
Functioncuva_doc_to_visual
(doc)
MMaDA/lmms_eval/lmms_eval/tasks/cuva/utils.py:110
Functioncuva_process_results
(doc, result)
MMaDA/lmms_eval/lmms_eval/tasks/cuva/utils.py:139
Functioncvrr_aggregate_accuracy
(results, args)
MMaDA/lmms_eval/lmms_eval/tasks/cvrr/utils.py:236
Functioncvrr_aggregate_score
(results, args)
MMaDA/lmms_eval/lmms_eval/tasks/cvrr/utils.py:223
Functioncvrr_doc_to_answer
(doc)
MMaDA/lmms_eval/lmms_eval/tasks/cvrr/utils.py:103
Functioncvrr_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
MMaDA/lmms_eval/lmms_eval/tasks/cvrr/utils.py:87
Functioncvrr_doc_to_visual
(doc)
MMaDA/lmms_eval/lmms_eval/tasks/cvrr/utils.py:46
Functioncvrr_process_results
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary
MMaDA/lmms_eval/lmms_eval/tasks/cvrr/utils.py:192
Functiond170_cn_aggregate_avg_score
(results)
MMaDA/lmms_eval/lmms_eval/tasks/internal_eval/d170_cn_utils.py:125
Functiond170_cn_aggregate_info
(results, args)
MMaDA/lmms_eval/lmms_eval/tasks/internal_eval/d170_cn_utils.py:118
Functiond170_cn_aggregate_score2_rate
(results)
MMaDA/lmms_eval/lmms_eval/tasks/internal_eval/d170_cn_utils.py:133
Functiond170_en_aggregate_avg_score
(results)
MMaDA/lmms_eval/lmms_eval/tasks/internal_eval/d170_en_utils.py:125
Functiond170_en_aggregate_info
(results, args)
MMaDA/lmms_eval/lmms_eval/tasks/internal_eval/d170_en_utils.py:118
Functiond170_en_aggregate_score2_rate
(results)
MMaDA/lmms_eval/lmms_eval/tasks/internal_eval/d170_en_utils.py:133
Functiondc100_en_aggregate_avg_score
(results)
MMaDA/lmms_eval/lmms_eval/tasks/internal_eval/dc100_en_utils.py:120
Functiondc100_en_aggregate_info
(results, args)
MMaDA/lmms_eval/lmms_eval/tasks/internal_eval/dc100_en_utils.py:113
Functiondc200_cn_aggregate_avg_score
(results)
MMaDA/lmms_eval/lmms_eval/tasks/internal_eval/dc200_cn_utils.py:125
Functiondc200_cn_aggregate_info
(results, args)
MMaDA/lmms_eval/lmms_eval/tasks/internal_eval/dc200_cn_utils.py:118
Functiondecode_tokens
( tokens: Union[torch.LongTensor, TokensType], tokenizer: PreTrainedTokenizer, raw_text_len: in
MMaDA/lmms_eval/lmms_eval/models/model_utils/qwen/qwen_generate_utils.py:238
Functiondecorate
(cls)
MMaDA/lmms_eval/lmms_eval/api/registry.py:15
Methoddefault
(self, o)
MMaDA/lmms_eval/lmms_eval/utils.py:335
Functiondefault_evaluation_params
default_evaluation_params: Default parameters to use for the validation and evaluation.
MMaDA/lmms_eval/lmms_eval/tasks/ocrbench_v2/spotting_eval/script.py:27
Functiondelete_cache
(key: str = "")
MMaDA/lmms_eval/lmms_eval/caching/cache.py:62
Functiondelete_extra_zero
(n)
MMaDA/lmms_eval/lmms_eval/tasks/mathvision/eval_utils.py:201
Functiondetailcaps_bleu1
(results, args=None)
MMaDA/lmms_eval/lmms_eval/tasks/detailcaps/utils.py:153
Functiondetailcaps_bleu2
(results, args=None)
MMaDA/lmms_eval/lmms_eval/tasks/detailcaps/utils.py:149
Functiondetailcaps_bleu3
(results, args=None)
MMaDA/lmms_eval/lmms_eval/tasks/detailcaps/utils.py:145
Functiondetailcaps_bleu4
(results, args=None)
MMaDA/lmms_eval/lmms_eval/tasks/detailcaps/utils.py:141
Functiondetailcaps_capture
(results, args=None)
MMaDA/lmms_eval/lmms_eval/tasks/detailcaps/utils.py:173
Functiondetailcaps_cider
(results, args=None)
MMaDA/lmms_eval/lmms_eval/tasks/detailcaps/utils.py:165
Functiondetailcaps_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
MMaDA/lmms_eval/lmms_eval/tasks/detailcaps/utils.py:26
Functiondetailcaps_doc_to_visual
(doc)
MMaDA/lmms_eval/lmms_eval/tasks/detailcaps/utils.py:22
Functiondetailcaps_meteor
(results, args=None)
MMaDA/lmms_eval/lmms_eval/tasks/detailcaps/utils.py:157
Functiondetailcaps_process_result
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary with key: metric name, value: metric
MMaDA/lmms_eval/lmms_eval/tasks/detailcaps/utils.py:40
Functiondetailcaps_rougel
(results, args=None)
MMaDA/lmms_eval/lmms_eval/tasks/detailcaps/utils.py:161
Functiondetailcaps_spice
(results, args=None)
MMaDA/lmms_eval/lmms_eval/tasks/detailcaps/utils.py:169
Functiondetailcaps_test_aggregation_result
(results, args=None)
MMaDA/lmms_eval/lmms_eval/tasks/detailcaps/utils.py:188
Functiondetailcaps_test_process_result
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary with key: metric name (in this case d
MMaDA/lmms_eval/lmms_eval/tasks/detailcaps/utils.py:177
Functiondetokenize_generations
Detokenize the generated tokens.
MMaDA/lmms_eval/lmms_eval/models/mplug_owl_video/processing_mplug_owl.py:120
Methoddevice
(self)
MMaDA/lmms_eval/lmms_eval/models/whisper_vllm.py:61
Methoddict
(self)
MMaDA/lmms_eval/lmms_eval/models/video_chatgpt/video_conversation.py:103
Functiondisable_default_handler
Disable the default handler of the HuggingFace muse' root logger.
MMaDA/lmms_eval/lmms_eval/models/model_mmada/logging.py:183
Functiondisable_default_handler
Disable the default handler of the HuggingFace muse' root logger.
MMaDA/models/logging.py:183
Methoddisable_gradient_checkpointing
Deactivates gradient checkpointing for the current model (may be referred to as *activation checkpointing* or *checkpoint activatio
MMaDA/lmms_eval/lmms_eval/models/model_mmada/modeling_utils.py:173
Methoddisable_gradient_checkpointing
Deactivates gradient checkpointing for the current model (may be referred to as *activation checkpointing* or *checkpoint activatio
MMaDA/models/modeling_utils.py:173
Methoddisable_npu_flash_attention
r""" disable npu flash attention from torch_npu
MMaDA/lmms_eval/lmms_eval/models/model_mmada/modeling_utils.py:204
Methoddisable_npu_flash_attention
r""" disable npu flash attention from torch_npu
MMaDA/models/modeling_utils.py:204
Functiondisable_progress_bar
Disable tqdm progress bar.
MMaDA/lmms_eval/lmms_eval/models/model_mmada/logging.py:335
Functiondisable_progress_bar
Disable tqdm progress bar.
MMaDA/models/logging.py:335
Functiondisable_propagation
Disable propagation of the library log outputs. Note that log propagation is disabled by default.
MMaDA/lmms_eval/lmms_eval/models/model_mmada/logging.py:219
Functiondisable_propagation
Disable propagation of the library log outputs. Note that log propagation is disabled by default.
MMaDA/models/logging.py:219
Methoddisable_xformers_memory_efficient_attention
r""" Disable memory efficient attention from [xFormers](https://facebookresearch.github.io/xformers/).
MMaDA/lmms_eval/lmms_eval/models/model_mmada/modeling_utils.py:264
Methoddisable_xformers_memory_efficient_attention
r""" Disable memory efficient attention from [xFormers](https://facebookresearch.github.io/xformers/).
MMaDA/models/modeling_utils.py:264
Functiondivide
Divide the elements from *iterable* into *n* parts, maintaining order. >>> group_1, group_2 = divide(2, [1, 2, 3, 4, 5, 6]) >>> l
MMaDA/lmms_eval/lmms_eval/utils.py:812
Methoddo_update_step
( self, epoch: int, global_step: int, on_load_weights: bool = False )
MMaDA/lmms_eval/lmms_eval/models/model_mmada/modeling_magvitv2.py:11
Methoddo_update_step
( self, epoch: int, global_step: int, on_load_weights: bool = False )
MMaDA/models/modeling_magvitv2.py:11
Methoddo_update_step_end
(self, epoch: int, global_step: int)
MMaDA/lmms_eval/lmms_eval/models/model_mmada/modeling_magvitv2.py:27
Methoddo_update_step_end
(self, epoch: int, global_step: int)
MMaDA/models/modeling_magvitv2.py:27
Functiondoc_to_audio
(doc)
MMaDA/lmms_eval/lmms_eval/tasks/mmau/utils.py:18
Functiondoc_to_audio
(doc)
MMaDA/lmms_eval/lmms_eval/tasks/openhermes/utils.py:18
Functiondoc_to_audio
(doc)
MMaDA/lmms_eval/lmms_eval/tasks/alpaca_audio/utils.py:18
Functiondoc_to_audio
(doc)
MMaDA/lmms_eval/lmms_eval/tasks/vocalsound/utils.py:19
Functiondoc_to_choice
(doc)
MMaDA/lmms_eval/lmms_eval/tasks/vocalsound/utils.py:32
← previousnext →2,401–2,500 of 4,510, ranked by callers