MCPcopy Create free account

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

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

↓ 1 callersFunctionremove_def_indef_articles
Remove definite and indefinite articles.
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/scoring/common/transformations.py:7
↓ 1 callersFunctionremove_erhua
去除儿化音词中的儿: 他女儿在那边儿 -> 他女儿在那边
MMaDA/lmms_eval/lmms_eval/tasks/librispeech/cn_tn.py:997
↓ 1 callersFunctionremove_latex_math_delimiters
(latex_str)
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/scoring/common/transformations.py:97
↓ 1 callersFunctionremove_none_pattern
(input_string)
MMaDA/lmms_eval/lmms_eval/logging_utils.py:28
↓ 1 callersFunctionremove_none_pattern
Remove the ',none' substring from the input_string if it exists at the end. Args: input_string (str): The input string from which to remo
MMaDA/lmms_eval/lmms_eval/loggers/utils.py:14
↓ 1 callersFunctionremove_punc
(text)
MMaDA/lmms_eval/lmms_eval/tasks/mmsearch/score/f1_score.py:16
↓ 1 callersMethodremove_punctuation
Remove punctuation based on Unicode category.
MMaDA/lmms_eval/lmms_eval/tasks/common_voice_15/utils.py:113
↓ 1 callersMethodremove_punctuation
Remove punctuation based on Unicode category.
MMaDA/lmms_eval/lmms_eval/tasks/gigaspeech/utils.py:117
↓ 1 callersMethodremove_punctuation
Remove punctuation based on Unicode category.
MMaDA/lmms_eval/lmms_eval/tasks/people_speech/utils.py:113
↓ 1 callersMethodremove_punctuation
Remove punctuation based on Unicode category.
MMaDA/lmms_eval/lmms_eval/tasks/tedlium/utils.py:113
↓ 1 callersMethodremove_punctuation
Remove punctuation based on Unicode category.
MMaDA/lmms_eval/lmms_eval/tasks/fleurs/utils.py:222
↓ 1 callersMethodremove_punctuation
Remove punctuation based on Unicode category.
MMaDA/lmms_eval/lmms_eval/tasks/librispeech/utils.py:126
↓ 1 callersMethodremove_punctuation
(cls, sent: str)
MMaDA/lmms_eval/lmms_eval/tasks/covost2/utils.py:145
↓ 1 callersMethodremove_punctuation
Remove punctuation based on Unicode category.
MMaDA/lmms_eval/lmms_eval/tasks/open_asr/utils.py:113
↓ 1 callersFunctionremove_right_units
(string)
LLaDA/dataset_utils/math500.py:80
↓ 1 callersFunctionremove_space
(text)
MMaDA/lmms_eval/lmms_eval/tasks/librispeech/cn_tn.py:1024
↓ 1 callersFunctionremove_symbols_and_diacritics
Replace any other markers, symbols, and punctuations with a space, and drop any diacritics (category 'Mn' and some manual mappings)
MMaDA/lmms_eval/lmms_eval/tasks/gigaspeech/whisper_normalizer/basic.py:27
↓ 1 callersFunctionremove_symbols_and_diacritics
Replace any other markers, symbols, and punctuations with a space, and drop any diacritics (category 'Mn' and some manual mappings)
MMaDA/lmms_eval/lmms_eval/tasks/librispeech/whisper_normalizer/basic.py:27
↓ 1 callersFunctionremove_type_in_cnf
(s)
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/scoring/symbolic_planning.py:77
↓ 1 callersMethodrename
Compares attributes of trees
MMaDA/lmms_eval/lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:63
↓ 1 callersFunctionreplace_greek_letters
Replace Greek letters in Unicode with their LaTeX equivalents.
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/scoring/common/transformations.py:92
↓ 1 callersFunctionreplace_images_tokens
(input_string)
MMaDA/lmms_eval/lmms_eval/tasks/jmmmu/utils.py:30
↓ 1 callersFunctionreplace_images_tokens
(input_string)
MMaDA/lmms_eval/lmms_eval/tasks/mmmu_pro/utils.py:26
↓ 1 callersFunctionreplace_images_tokens
(input_string)
MMaDA/lmms_eval/lmms_eval/tasks/mmmu/utils.py:106
↓ 1 callersFunctionreplace_images_tokens
(input_string)
MMaDA/lmms_eval/lmms_eval/tasks/mmmu/utils_group_img.py:136
↓ 1 callersFunctionreplace_macrons_with_latex_overline
Replace letters with macrons with the LaTeX bar.
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/scoring/common/transformations.py:13
↓ 1 callersFunctionreplace_potential_chinese_comma
(input_string)
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/scoring/multi_ref_phrase.py:7
↓ 1 callersFunctionrequest_caching_arg_to_dict
(cache_requests: str)
MMaDA/lmms_eval/lmms_eval/evaluator.py:677
↓ 1 callersMethodreset
(self)
MMaDA/lmms_eval/lmms_eval/models/model_mmada/utils.py:187
↓ 1 callersMethodreset
(self)
MMaDA/models/utils.py:187
↓ 1 callersMethodreset_parameters
(self)
LLaDA/modeling_llada.py:1142
↓ 1 callersMethodreset_parameters
(self)
MMaDA/lmms_eval/lmms_eval/models/model_mmada/modeling_llada.py:1142
↓ 1 callersMethodreset_parameters
(self)
MMaDA/models/modeling_llada.py:1142
↓ 1 callersFunctionresize_image_height
(image, fixed_size)
MMaDA/lmms_eval/lmms_eval/tasks/mmvetv2/utils.py:51
↓ 1 callersFunctionresize_image_height
(image, fixed_size)
MMaDA/lmms_eval/lmms_eval/tasks/mmmu/utils_group_img.py:40
↓ 1 callersFunctionresize_image_width
(image, fixed_size)
MMaDA/lmms_eval/lmms_eval/tasks/mmvetv2/utils.py:72
↓ 1 callersFunctionresize_image_width
(image, fixed_size)
MMaDA/lmms_eval/lmms_eval/tasks/mmmu/utils_group_img.py:61
↓ 1 callersMethodretrieve_batch_results
(self, file_id)
MMaDA/lmms_eval/lmms_eval/models/batch_gpt4.py:197
↓ 1 callersFunctionrhyming_part_include_unstressed
Get the "rhyming part" of a string with CMUdict phones. "Rhyming part" here means everything from the vowel in the last syllable up to the en
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/scoring/constrained_generation.py:123
↓ 1 callersMethodrotate_half
(self, x: torch.Tensor)
LLaDA/modeling_llada.py:402
↓ 1 callersMethodrotate_half
(self, x: torch.Tensor)
MMaDA/lmms_eval/lmms_eval/models/model_mmada/modeling_llada.py:402
↓ 1 callersMethodrotate_half
(self, x: torch.Tensor)
MMaDA/models/modeling_llada.py:402
↓ 1 callersFunctionrun_query
(query: str, screenshot_dir_path: str, max_result_num: int)
MMaDA/lmms_eval/lmms_eval/tasks/mmsearch/utils/utils.py:64
↓ 1 callersFunctionrun_single_task_evaluation
(config, model, tokenizer)
LLaDA/eval.py:41
↓ 1 callersFunctionrun_task_tests
Find the package root and run the tests for the given tasks
MMaDA/lmms_eval/lmms_eval/utils.py:555
↓ 1 callersMethodrun_tests
(self)
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/scoring/program_judge.py:79
↓ 1 callersMethodrun_user_code
(self, input_data)
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/scoring/program_judge.py:37
↓ 1 callersMethodsafe_equal
Check if the prediction is equal to the answer, even if they are of different types
MMaDA/lmms_eval/lmms_eval/tasks/mathvista/mathvista_evals.py:339
↓ 1 callersFunctionsafe_judge_with_retry
(model, question, gt, pred, max_retries=10, delay=2)
MMaDA/lmms_eval/lmms_eval/tasks/videoevalpro/utils.py:81
↓ 1 callersFunctionsafe_parse_response
(reply)
MMaDA/lmms_eval/lmms_eval/tasks/videomathqa/cot_step_evaluation.py:79
↓ 1 callersMethodsample
Draw `n` samples from our fewshot docs. This method should be overridden by subclasses.
MMaDA/lmms_eval/lmms_eval/api/samplers.py:52
↓ 1 callersFunctionsanitize_model_name
Given the model name, returns a sanitized version of it.
MMaDA/lmms_eval/lmms_eval/utils.py:242
↓ 1 callersMethodsave_attention_map
(self, attention_map)
MMaDA/lmms_eval/lmms_eval/models/mplug_owl_video/modeling_mplug_owl.py:753
↓ 1 callersMethodsave_image_to_temp_file
(self, image)
MMaDA/lmms_eval/lmms_eval/models/qwen_vl_api.py:73
↓ 1 callersFunctionsave_results
(config, method_name, raw_outputs, correct_count, total_count, total_steps, total_len, external_metrics)
LLaDA/eval.py:165
↓ 1 callersMethodsave_results_aggregated
Saves the aggregated results and samples to the output path and pushes them to the Hugging Face hub if requested. Args:
MMaDA/lmms_eval/lmms_eval/loggers/evaluation_tracker.py:170
↓ 1 callersMethodsave_results_samples
Saves the samples results to the output path and pushes them to the Hugging Face hub if requested. Args: task_name (str)
MMaDA/lmms_eval/lmms_eval/loggers/evaluation_tracker.py:241
↓ 1 callersFunctionsave_to_cache
(file_name, obj)
MMaDA/lmms_eval/lmms_eval/caching/cache.py:38
↓ 1 callersMethodscore_answer
(self, question, answer, extraction, quick_match=False)
MMaDA/lmms_eval/lmms_eval/tasks/mathverse/mathverse_evals.py:187
↓ 1 callersFunctionsearch_text_brief_result
(query, max_result_num, screenshot_dir)
MMaDA/lmms_eval/lmms_eval/tasks/mmsearch/utils/utils.py:59
↓ 1 callersFunctionsearch_url_full_result
(urls, screenshot_dir)
MMaDA/lmms_eval/lmms_eval/tasks/mmsearch/utils/utils.py:167
↓ 1 callersFunctionseed_aggregation_result
(results)
MMaDA/lmms_eval/lmms_eval/tasks/seedbench/utils.py:27
↓ 1 callersFunctionseed_aggregation_result
(results)
MMaDA/lmms_eval/lmms_eval/tasks/seedbench/ko_utils.py:27
↓ 1 callersFunctionseed_aggregation_result
(results)
MMaDA/lmms_eval/lmms_eval/tasks/seedbench_2_plus/utils.py:35
↓ 1 callersFunctionseed_aggregation_result
(results)
MMaDA/lmms_eval/lmms_eval/tasks/seedbench_2/utils.py:39
↓ 1 callersMethodserialize_function
Serializes a given function or string. If 'keep_callable' is True, the original callable is returned. Otherwise, attempts to return t
MMaDA/lmms_eval/lmms_eval/api/group.py:61
↓ 1 callersMethodset_cache_hook
(self, cache_hook)
MMaDA/lmms_eval/lmms_eval/api/model.py:126
↓ 1 callersMethodset_fewshot_seed
(self, seed: Optional[int] = None)
MMaDA/lmms_eval/lmms_eval/api/task.py:648
↓ 1 callersMethodset_input_embeddings
(self, value)
MMaDA/lmms_eval/lmms_eval/models/mplug_owl_video/modeling_mplug_owl.py:1195
↓ 1 callersMethodset_output_embeddings
(self, new_embeddings)
MMaDA/lmms_eval/lmms_eval/models/mplug_owl_video/modeling_mplug_owl.py:1198
↓ 1 callersFunctionset_precision
Calculate the precision, using sets.
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/scoring/common/metrics.py:70
↓ 1 callersFunctionset_seed
Args: Helper function for reproducible behavior to set the seed in `random`, `numpy`, `torch`. seed (`int`): The seed to set.
MMaDA/lmms_eval/lmms_eval/models/model_mmada/training_utils.py:47
↓ 1 callersFunctionset_seed
Args: Helper function for reproducible behavior to set the seed in `random`, `numpy`, `torch`. seed (`int`): The seed to set.
MMaDA/models/training_utils.py:47
↓ 1 callersMethodshrink_image_to_file_size
(self, img: Image, max_file_size=4838990)
MMaDA/lmms_eval/lmms_eval/models/claude.py:113
↓ 1 callersFunctionslim_image_and_save
(image_path, save_path)
MMaDA/lmms_eval/lmms_eval/tasks/mmsearch/utils/image_utils.py:14
↓ 1 callersFunctionsodac_llm_score
SODA_c with score matrix computed from LLM.
MMaDA/lmms_eval/lmms_eval/tasks/plm_videobench/eval_utils.py:131
↓ 1 callersMethodsplit_audio
(self, audio_arrays)
MMaDA/lmms_eval/lmms_eval/models/aero.py:136
↓ 1 callersFunctionsplit_cnf_by_parentheses
(s)
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/scoring/symbolic_planning.py:90
↓ 1 callersMethodsplit_doc_into_passages
(self, doc)
MMaDA/lmms_eval/lmms_eval/tasks/mmsearch/retrieve_content/retriever.py:33
↓ 1 callersFunctionsplit_media_tags
(content)
MMaDA/lmms_eval/lmms_eval/tasks/av_odyssey/utils.py:45
↓ 1 callersFunctionsplit_model
(model_name, num_layers=None)
MMaDA/lmms_eval/lmms_eval/models/internvl2.py:130
↓ 1 callersMethodsplit_text
(self, text, keywords)
MMaDA/lmms_eval/lmms_eval/models/egogpt.py:245
↓ 1 callersFunctionspotting_evaluation
(prediction_list, img_metas)
MMaDA/lmms_eval/lmms_eval/tasks/ocrbench_v2/spotting_metric.py:128
↓ 1 callersFunctionsqa_doc_to_target
(doc)
MMaDA/lmms_eval/lmms_eval/tasks/scienceqa/utils.py:34
↓ 1 callersFunctionstate_transition
(current_state, effects, param_to_obj)
MMaDA/lmms_eval/lmms_eval/tasks/megabench/metrics/scoring/symbolic_planning.py:159
↓ 1 callersFunctionstderr_for_metric
(metric, bootstrap_iters: int)
MMaDA/lmms_eval/lmms_eval/api/metrics.py:534
↓ 1 callersFunctionstream_jsonl_all
Streams a JSONL file.
LLaDA/dataset_utils/eval_correctness_mbpp/evaluation.py:180
↓ 1 callersFunctionstring2symbols
(chinese_string, system)
MMaDA/lmms_eval/lmms_eval/tasks/librispeech/cn_tn.py:571
↓ 1 callersFunctionstrip_variable_assignment
(s)
MMaDA/lmms_eval/lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:291
↓ 1 callersFunctionsubsample_video
Process video file and return uniformly sampled frames as PIL Images. Args: video_path (str): Path to the video file max_nfr
MMaDA/lmms_eval/lmms_eval/tasks/megabench/image_video_utils.py:28
↓ 1 callersFunctionswallow_io
()
LLaDA/dataset_utils/eval_correctness_mbpp/execution.py:604
↓ 1 callersMethodt2i_gen_prompt
(self, text_ids, image_ids)
MMaDA/lmms_eval/lmms_eval/models/model_mmada/prompting_utils.py:135
↓ 1 callersMethodt2i_gen_prompt
(self, text_ids, image_ids)
MMaDA/models/prompting_utils.py:135
↓ 1 callersFunctiontake_fullpage_screenshot
(url: str, screenshot_path: str, timeout: int = FULLPAGE_TIMEOUT)
MMaDA/lmms_eval/lmms_eval/tasks/mmsearch/utils/utils.py:193
↓ 1 callersFunctiontake_screenshot_async
(url: str, screenshot_path: str, timeout: int = BRIEF_TIMEOUT)
MMaDA/lmms_eval/lmms_eval/tasks/mmsearch/utils/utils.py:132
↓ 1 callersFunctiontask_list_refine
(task_list)
MMaDA/lmms_eval/lmms_eval/tasks/megabench/breakdown/analysis_utils.py:9
↓ 1 callersFunctiontemporal_grounding_aggregate_submissions
(results, args, task)
MMaDA/lmms_eval/lmms_eval/tasks/charades_sta/utils.py:87
↓ 1 callersMethodtest_docs
(self)
MMaDA/lmms_eval/lmms_eval/api/task.py:1111
↓ 1 callersMethodtest_docs_no_media
(self)
MMaDA/lmms_eval/lmms_eval/api/task.py:1115
↓ 1 callersFunctiontest_instruction_following_loose
Tests response for an upper bound for following instructions.
MMaDA/lmms_eval/lmms_eval/tasks/ifeval/utils.py:58
← previousnext →1,501–1,600 of 4,510, ranked by callers