MCPcopy Create free account

hub / github.com/Alpha-VLLM/Lumina-DiMOO / functions

Functions3,694 in github.com/Alpha-VLLM/Lumina-DiMOO

↓ 2 callersMethodask
(self, text, conv)
VLMEvalKit/vlmeval/vlm/video_llm/videochat2.py:243
↓ 2 callersMethodattention
( self, q: torch.Tensor, k: torch.Tensor, v: torch.Tensor, attention_b
model/modeling_llada.py:681
↓ 2 callersMethodattention
( self, q: torch.Tensor, k: torch.Tensor, v: torch.Tensor, attention_b
VLMEvalKit/vlmeval/vlm/lumina_dimmo/modeling_llada.py:662
↓ 2 callersFunctionauto_merge_and_unzip_parts
(target_dir, extract_dir, zip_prefix=None)
VLMEvalKit/vlmeval/dataset/CGAVCounting/utils.py:367
↓ 2 callersFunctionbarrier
()
inference/inference_t2i_ddp.py:40
↓ 2 callersFunctionbox_area
(box)
VLMEvalKit/vlmeval/dataset/utils/megabench/scoring/common/metrics.py:9
↓ 2 callersFunctionbtn_submit_click
(filename, ann_id)
VLMEvalKit/scripts/data_browser.py:92
↓ 2 callersFunctionbuild_choices
(item)
VLMEvalKit/vlmeval/dataset/utils/multiple_choice.py:300
↓ 2 callersFunctionbuild_dataset_from_config
(cfg, dataset_name)
VLMEvalKit/run.py:76
↓ 2 callersMethodbuild_multi_choice_prompt
(self, line, dataset=None)
VLMEvalKit/vlmeval/vlm/ovis/ovis.py:79
↓ 2 callersFunctionbuild_prompt
(question, options, prediction)
VLMEvalKit/vlmeval/dataset/utils/multiple_choice.py:178
↓ 2 callersFunctionbuild_speech_projector
(config)
VLMEvalKit/vlmeval/vlm/ola/ola/model/speech_projector/builder.py:4
↓ 2 callersFunctionbuild_transform
(input_size)
VLMEvalKit/vlmeval/vlm/minimonkey.py:22
↓ 2 callersFunctionbuild_transform
(input_size)
VLMEvalKit/vlmeval/vlm/sail_vl.py:24
↓ 2 callersFunctionbuild_transform
(input_size)
VLMEvalKit/vlmeval/vlm/internvl/utils.py:23
↓ 2 callersFunctionbuild_video_prompt
(prompt, dataset=None, max_frames=64)
VLMEvalKit/vlmeval/vlm/internvl/utils.py:175
↓ 2 callersFunctionbuild_vision_projector
(config, delay_load=False, **kwargs)
VLMEvalKit/vlmeval/vlm/ola/ola/model/multimodal_projector/builder.py:149
↓ 2 callersFunctionbuild_vision_resampler
(model_args, delay_load=False, **kwargs)
VLMEvalKit/vlmeval/vlm/ola/ola/model/multimodal_resampler/builder.py:16
↓ 2 callersFunctionbuild_vision_tower
(vision_tower_cfg, **kwargs)
VLMEvalKit/vlmeval/vlm/ola/ola/model/multimodal_encoder/builder.py:4
↓ 2 callersMethodbuild_yorn_prompt
(self, line, dataset=None)
VLMEvalKit/vlmeval/vlm/ovis/ovis.py:71
↓ 2 callersFunctioncal_acc_all
(pred_info, answer_info)
VLMEvalKit/vlmeval/dataset/utils/ccocr_evaluator/kie_evaluator.py:258
↓ 2 callersFunctioncal_f1_all
Calculate global F1 accuracy score (field-level, micro-averaged) by counting all true positives, false negatives and false positives
VLMEvalKit/vlmeval/dataset/utils/ccocr_evaluator/kie_evaluator.py:122
↓ 2 callersFunctioncal_f1_score
(y_true, y_pred)
VLMEvalKit/vlmeval/dataset/utils/yorn.py:144
↓ 2 callersFunctioncalculate_average
(scores_dict)
VLMEvalKit/vlmeval/dataset/utils/ocrbrnch_v2_eval.py:39
↓ 2 callersFunctioncalculate_binary_score
(result)
VLMEvalKit/vlmeval/dataset/utils/naturalbench.py:103
↓ 2 callersFunctioncalculate_group
(result)
VLMEvalKit/vlmeval/dataset/utils/naturalbench.py:118
↓ 2 callersFunctioncalculate_intervals_iou
Calculate the IoU of two lists of intervals. Each list contains intervals represented as [start, end].
VLMEvalKit/vlmeval/dataset/utils/cgbench.py:332
↓ 2 callersFunctioncalculate_model_summary
Re-calculate model performance summary statistics across core and open tasks. Args: task_results: List of task results with scor
VLMEvalKit/vlmeval/dataset/utils/megabench/tools/derive_breakdown_results.py:10
↓ 2 callersFunctioncalculate_stats
(tasks)
VLMEvalKit/vlmeval/dataset/utils/megabench/tools/derive_breakdown_results.py:31
↓ 2 callersMethodcan_compute_power
(self, expr)
VLMEvalKit/vlmeval/dataset/mmmath.py:395
↓ 2 callersMethodcan_compute_power
Check if the power expression can be computed. Parameters: expr (sympy expression): The expression to check. Return
VLMEvalKit/vlmeval/dataset/utils/olympiadbench.py:476
↓ 2 callersFunctioncan_infer_lego
(answer, question_type, choices)
VLMEvalKit/vlmeval/utils/matching_util.py:118
↓ 2 callersFunctioncan_infer_option
(answer, choices)
VLMEvalKit/vlmeval/utils/matching_util.py:8
↓ 2 callersFunctioncan_infer_text
(answer, choices)
VLMEvalKit/vlmeval/utils/matching_util.py:97
↓ 2 callersFunctioncheck_denotation
Return True if the predicted denotation is correct. Args: target_values (list[Value]) predicted_values (list[Value]) Returns:
VLMEvalKit/vlmeval/dataset/utils/tablevqabench.py:456
↓ 2 callersFunctionchess_transform
Transform a sequence of chess moves encoded in SAN into a set.
VLMEvalKit/vlmeval/dataset/utils/megabench/scoring/chess_jaccard.py:7
↓ 2 callersMethodclass_impl
(self)
VLMEvalKit/vlmeval/dataset/utils/megabench/metric_type.py:62
↓ 2 callersFunctioncollect_task_metadata
Collect task metadata for a model's results using the all_task_meta.json file
VLMEvalKit/vlmeval/dataset/utils/megabench/tools/analysis_utils.py:163
↓ 2 callersMethodcompare_string_with_values
(self, input_str, target_values)
VLMEvalKit/vlmeval/dataset/image_mcq.py:2097
↓ 2 callersFunctioncompare_two_numbers
(p, gt)
VLMEvalKit/vlmeval/dataset/utils/megabench/scoring/general_numerical_match.py:71
↓ 2 callersFunctioncompute_ap
(confList, matchList,numGtCare)
VLMEvalKit/vlmeval/dataset/utils/Ocrbench_v2/spotting_eval/script.py:136
↓ 2 callersMethodconcat_tilist
(self, message)
VLMEvalKit/vlmeval/vlm/llava/llava.py:123
↓ 2 callersFunctioncontain_chinese_string
(text)
VLMEvalKit/vlmeval/dataset/utils/Ocrbench_v2/page_ocr_metric.py:11
↓ 2 callersFunctionconvert_dict_to_list
Convert a dictionary to a list of tuples, handling both simple and nested dictionaries. Args: data (dict): The input diction
VLMEvalKit/vlmeval/dataset/utils/Ocrbench_v2/TEDS_metric.py:599
↓ 2 callersFunctionconvert_table
(input_str)
VLMEvalKit/vlmeval/dataset/Omnidocbench/utils.py:1893
↓ 2 callersFunctioncount_choice
(splits, choices, prefix='', suffix='')
VLMEvalKit/vlmeval/utils/matching_util.py:24
↓ 2 callersFunctioncount_letters
(string)
VLMEvalKit/vlmeval/dataset/cmmmu.py:82
↓ 2 callersFunctioncreate_sam_vit
( model_name: str = "sam_b_downsample", image_size: int = 1024, ckpt_path: str = "", **kwargs,
VLMEvalKit/vlmeval/vlm/ursa/ursa_model/sam.py:553
↓ 2 callersMethoddecode
(self, t: List[int])
xllmx/model/tokenizer.py:110
↓ 2 callersFunctiondecode_base64_to_image
(base64_string, target_size=-1)
VLMEvalKit/vlmeval/smp/vlm.py:147
↓ 2 callersFunctionderive_keyword_stats
Calculate keyword-based statistics for skills, input_format, and output_format.
VLMEvalKit/vlmeval/dataset/utils/megabench/tools/analysis_utils.py:109
↓ 2 callersFunctiondoc_parsing_evaluation
(pred, gt)
VLMEvalKit/vlmeval/dataset/utils/Ocrbench_v2/TEDS_metric.py:493
↓ 2 callersFunctionedit_config
(repo_id)
VLMEvalKit/vlmeval/vlm/yi_vl.py:28
↓ 2 callersFunctionema_inplace
(moving_avg, new, decay)
VLMEvalKit/vlmeval/vlm/ola/ola/model/speech_encoder/beats/quantizer.py:25
↓ 2 callersFunctionencode_image
(path: str, max_height: int = 1024, max_width: int = 1024)
VLMEvalKit/vlmeval/api/siliconflow.py:26
↓ 2 callersMethodencode_image
Encode an image into VQ indices using the loaded VQ-VAE model.
data/item_processor.py:120
↓ 2 callersMethodencode_image
(self, image_path)
VLMEvalKit/vlmeval/vlm/llama4.py:137
↓ 2 callersMethodencode_image
(self, img)
VLMEvalKit/vlmeval/vlm/lumina_dimmo/model.py:64
↓ 2 callersFunctionensure_finite_
Modify ``x`` in place to replace ``float("-inf")`` with the minimum value of the dtype when ``check_neg_inf`` is ``True`` and to replace ``fl
model/modeling_llada.py:158
↓ 2 callersFunctionensure_finite_
Modify ``x`` in place to replace ``float("-inf")`` with the minimum value of the dtype when ``check_neg_inf`` is ``True`` and to replace ``fl
VLMEvalKit/vlmeval/vlm/lumina_dimmo/modeling_llada.py:158
↓ 2 callersFunctionensure_image_url
(image: str)
VLMEvalKit/vlmeval/vlm/qwen2_vl/model.py:20
↓ 2 callersFunctionensure_video_url
(video: str)
VLMEvalKit/vlmeval/vlm/qwen2_vl/model.py:29
↓ 2 callersMethodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/vdc.py:346
↓ 2 callersMethodevaluate
The main entry point to evaluate all tasks in self.data based on the HF dataset’s metric info.
VLMEvalKit/vlmeval/dataset/utils/megabench/evaluator.py:77
↓ 2 callersMethodevaluate
(self, eval_file, **judge_kwargs)
VLMEvalKit/vlmeval/dataset/Omnidocbench/omnidocbench.py:61
↓ 2 callersFunctionevaluate_process_steps_data
(df, steps)
VLMEvalKit/vlmeval/dataset/utils/wemath.py:44
↓ 2 callersMethodexpression_equal
(self, exp1, exp2)
VLMEvalKit/vlmeval/dataset/mmmath.py:220
↓ 2 callersMethodexpression_equal
(默认 expression1 为 Ground_Truth) 函数: 判断两个表达式是否在数学意义上等价 步骤1: 提取表达式, 防止有的模型会给出"x=1"而不是"1" 步骤2: 使用 sympy 库进行等价判断
VLMEvalKit/vlmeval/dataset/utils/olympiadbench.py:271
↓ 2 callersFunctionextract_answer_content
( response, is_ascii_art=False, should_remove_surrounding_whitespace=True )
VLMEvalKit/vlmeval/dataset/utils/megabench/parsing/common/utils.py:40
↓ 2 callersFunctionextract_bbox_from_string
(bbox_str)
VLMEvalKit/vlmeval/dataset/utils/tdbench.py:10
↓ 2 callersFunctionextract_final_answer
(latex_response)
VLMEvalKit/vlmeval/dataset/utils/physics_eval_utils.py:29
↓ 2 callersFunctionextract_final_answer_allform
(latex_response, answer_type=None, latex_wrap=r'\\boxed{(.*?)}')
VLMEvalKit/vlmeval/dataset/utils/physics_eval_utils.py:43
↓ 2 callersFunctionextract_first_number
(string)
VLMEvalKit/vlmeval/dataset/utils/Ocrbench_v2/vqa_metric.py:152
↓ 2 callersFunctionextract_json_between_backticks
(s)
VLMEvalKit/vlmeval/dataset/utils/vcrbench/eval.py:87
↓ 2 callersFunctionextract_json_from_response
(text)
VLMEvalKit/vlmeval/dataset/utils/mme_reasoning.py:1081
↓ 2 callersFunctionextract_lang_content
(ans)
VLMEvalKit/vlmeval/dataset/utils/visulogic.py:46
↓ 2 callersFunctionextract_last_boxed_content
(text)
VLMEvalKit/vlmeval/dataset/utils/visulogic.py:9
↓ 2 callersMethodextract_last_numbers
(self, s)
VLMEvalKit/vlmeval/dataset/visfactor.py:45
↓ 2 callersFunctionextract_tex_table
(content)
VLMEvalKit/vlmeval/dataset/Omnidocbench/utils.py:676
↓ 2 callersMethodfill_fix_offset
(more_fix_crop, image_w, image_h, crop_w, crop_h)
VLMEvalKit/vlmeval/dataset/utils/mvbench.py:375
↓ 2 callersMethodfill_fix_offset
(more_fix_crop, image_w, image_h, crop_w, crop_h)
VLMEvalKit/vlmeval/dataset/utils/tamperbench.py:603
↓ 2 callersFunctionfind_closest_aspect_ratio
(aspect_ratio, target_ratios, width, height, image_size)
VLMEvalKit/vlmeval/vlm/minimonkey.py:33
↓ 2 callersFunctionfind_string_occurrences_with_variations
(text, search_string)
VLMEvalKit/vlmeval/dataset/utils/megabench/scoring/constrained_generation.py:167
↓ 2 callersFunctionflatten
Convert Dictionary into Non-nested Dictionary Example: input(dict) { "menu": [ {"name
VLMEvalKit/vlmeval/dataset/utils/ccocr_evaluator/kie_evaluator.py:23
↓ 2 callersMethodformat_time
(self,t)
VLMEvalKit/vlmeval/dataset/CGAVCounting/cg_av_counting.py:70
↓ 2 callersMethodforward_padding_mask
( self, features: torch.Tensor, padding_mask: torch.Tensor, )
VLMEvalKit/vlmeval/vlm/ola/ola/model/speech_encoder/beats/Tokenizers.py:111
↓ 2 callersMethodforward_padding_mask
( self, features: torch.Tensor, padding_mask: torch.Tensor, )
VLMEvalKit/vlmeval/vlm/ola/ola/model/speech_encoder/beats/BEATs.py:106
↓ 2 callersMethodgenerate
(self, inputs, **kwargs)
VLMEvalKit/vlmeval/api/hf_chat_model.py:257
↓ 2 callersFunctiongenerate_combinations
Function to generate all possible combinations of values from a dictionary.
VLMEvalKit/vlmeval/dataset/utils/Ocrbench_v2/TEDS_metric.py:338
↓ 2 callersFunctiongenerate_image
MaskGit parallel decoding to generate VQ tokens Args: model: Model prompt: Prompt tensor seq_len: Sequence
generators/image_generation_generator.py:13
↓ 2 callersMethodgenerate_inner
The inner function to generate the answer. Returns: tuple(int, str, str): ret_code, response, log
VLMEvalKit/vlmeval/api/base.py:47
↓ 2 callersMethodgenerate_multichoice
(self, image_path, text, dataset)
VLMEvalKit/vlmeval/vlm/xcomposer/xcomposer2d5.py:282
↓ 2 callersFunctiongenerate_text_to_image_prompt
Generate prompt for text-to-image generation Args: prompt_text: User input text prompt templates: Optional prompt t
utils/prompt_utils.py:22
↓ 2 callersMethodgenerate_vanilla
(self, image_path, prompt)
VLMEvalKit/vlmeval/vlm/monkey.py:23
↓ 2 callersMethodgenerate_vanilla
(self, image_path, prompt)
VLMEvalKit/vlmeval/vlm/monkey.py:105
↓ 2 callersMethodget_alibi_attention_bias
(self, seq_len: int, device: torch.device)
model/modeling_llada.py:1188
↓ 2 callersMethodget_alibi_attention_bias
(self, seq_len: int, device: torch.device)
VLMEvalKit/vlmeval/vlm/lumina_dimmo/modeling_llada.py:1148
↓ 2 callersFunctionget_anls
(s1, s2)
VLMEvalKit/vlmeval/dataset/utils/Ocrbench_v2/TEDS_metric.py:527
↓ 2 callersFunctionget_answer_type_text
(answer_type, is_chinese, multiple_answer)
VLMEvalKit/vlmeval/dataset/utils/olympiadbench.py:46
↓ 2 callersFunctionget_dimention_rating_mcq_grouding
(data_path)
VLMEvalKit/vlmeval/dataset/utils/cgbench.py:129
← previousnext →401–500 of 3,694, ranked by callers