MCPcopy Create free account

hub / github.com/Fanziyang-v/FlashVID / functions

Functions6,334 in github.com/Fanziyang-v/FlashVID

↓ 2 callersFunctionvideomme_doc_to_text_qwen3vl
Adapted from: https://github.com/open-compass/VLMEvalKit/blob/main/vlmeval/vlm/qwen3_vl/prompt.py#L93
lmms-eval/lmms_eval/tasks/videomme/utils.py:167
↓ 2 callersFunctionvqa_evaluation_case_sensitive
(predict, answers)
lmms-eval/lmms_eval/tasks/ocrbench_v2/vqa_metric.py:109
↓ 2 callersFunctionvqav2_process_results
(doc, result)
lmms-eval/lmms_eval/tasks/vqav2/utils.py:15
↓ 2 callersFunctionweighted_mean
(items)
lmms-eval/lmms_eval/api/metrics.py:455
↓ 2 callersFunctionwemath_aggregate_results
(results, metric_name)
lmms-eval/lmms_eval/tasks/wemath/reasoning/utils.py:64
↓ 2 callersFunctionwemath_doc_to_text_cot
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/wemath/reasoning/utils.py:18
↓ 2 callersFunctionwhitespace_clean
(text)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/tokenizer.py:68
↓ 2 callersFunctionwups
:param pred: :param truth: :param alpha: :return:
lmms-eval/lmms_eval/tasks/nextqa/utils.py:207
↓ 2 callersFunctionzip_folder
(source_folder, destination_zip)
lmms-eval/lmms_eval/tasks/ocrbench_v2/spotting_metric.py:114
↓ 1 callersFunctionFeedForward
(dim, mult=4)
llava/model/multimodal_resampler/perceiver.py:20
↓ 1 callersFunctionHD_transform
(img, im_num=16)
lmms-eval/lmms_eval/models/simple/xcomposer2_4KHD.py:245
↓ 1 callersFunctionHD_transform_padding
(frames, image_size=224, hd_num=6)
lmms-eval/lmms_eval/models/simple/internvideo2.py:146
↓ 1 callersFunctionHD_transform_padding
(frames, image_size=224, hd_num=6)
lmms-eval/lmms_eval/models/simple/videochat2.py:111
↓ 1 callersMethodPhyX_auxeval
(self, line)
lmms-eval/lmms_eval/tasks/phyx/phyx_evals.py:233
↓ 1 callersMethodPhyX_auxeval_MC
(self, line)
lmms-eval/lmms_eval/tasks/phyx/phyx_evals.py:272
↓ 1 callersFunctionSTEDS
(pred_tree, ref_tree)
lmms-eval/lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:475
↓ 1 callersMethodSeephys_auxeval
Use the LLM judger to compare extracted answer with GT. Prefetch (fast path) tries symbolic/string match before calling judge LLM.
lmms-eval/lmms_eval/tasks/seephys/seephys_evals.py:363
↓ 1 callersMethodSeephys_process_line
Quick rule-based checking for cases where we can avoid LLM judger. Returns dict with match (1/0) and extracted value.
lmms-eval/lmms_eval/tasks/seephys/seephys_evals.py:404
↓ 1 callersMethod__init__
(self, config: Qwen2Config)
llava/model/language_model/llava_qwen.py:42
↓ 1 callersMethod__init__
(self, config: Qwen2MoeConfig)
llava/model/language_model/llava_qwen_moe.py:42
↓ 1 callersMethod__init__
(self, config: LlamaConfig)
llava/model/language_model/llava_llama.py:47
↓ 1 callersMethod__init__
(self, config: GemmaConfig)
llava/model/language_model/llava_gemma.py:37
↓ 1 callersMethod__init__
(self, config: MptConfig)
llava/model/language_model/llava_mpt.py:31
↓ 1 callersMethod__init__
(self, config: MixtralConfig)
llava/model/language_model/llava_mixtral.py:37
↓ 1 callersMethod__init__
(self, config: MistralConfig)
llava/model/language_model/llava_mistral.py:41
↓ 1 callersMethod__init__
(self)
llava/model/multimodal_projector/builder.py:9
↓ 1 callersMethod__init__
(self, vision_tower, args, delay_load=False)
llava/model/multimodal_encoder/mlcd_encoder.py:16
↓ 1 callersMethod__init__
(self, vision_tower, args, delay_load=False)
llava/model/multimodal_encoder/clip_encoder.py:13
↓ 1 callersMethod__init__
( self, dim, pt_seq_len, ft_seq_len=None, custom_freqs=None, f
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/rope.py:33
↓ 1 callersMethod__init__
(self, use_pooler_output=True)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/hf_model.py:67
↓ 1 callersMethod__init__
(self)
llava/model/multimodal_encoder/eva_clip/eva_clip_processors.py:13
↓ 1 callersMethod__init__
(self, config: Optional[ServerConfig] = None)
lmms-eval/lmms_eval/llm_judge/base.py:12
↓ 1 callersMethod__init__
:param data_dir: str Stores the path to a local folder containing the `Task`'s data files. Use this to specify the pa
lmms-eval/lmms_eval/api/task.py:202
↓ 1 callersMethod__init__
(self)
lmms-eval/lmms_eval/tasks/gigaspeech/whisper_normalizer/english.py:445
↓ 1 callersMethod__init__
(self)
lmms-eval/lmms_eval/tasks/librispeech/whisper_normalizer/english.py:445
↓ 1 callersMethod__init__
regex_pattern: The basic regex pattern to use. If fails to match, we will use the customized match procedure - step 1
lmms-eval/lmms_eval/tasks/realworldqa/utils.py:59
↓ 1 callersMethod__init__
(self, **kwargs)
lmms-eval/lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:61
↓ 1 callersMethod__init__
( self, truncation: Optional[bool] = True, device: Optional[str] = "cuda:0", b
lmms-eval/lmms_eval/models/simple/moviechat.py:69
↓ 1 callersMethod__init__
( self, pretrained: str = "OpenGVLab/VideoChat2_HD_stage4_Mistral_7B_hf", modality: st
lmms-eval/lmms_eval/models/simple/videochat2.py:193
↓ 1 callersMethod__str__
(self)
lmms-eval/lmms_eval/tasks/librispeech/cn_tn.py:411
↓ 1 callersMethod_add_images_to_messages
Add images to messages - reuse from base implementation
lmms-eval/lmms_eval/llm_judge/providers/async_azure_openai.py:104
↓ 1 callersMethod_add_images_to_messages
Add images to messages - reuse from base implementation
lmms-eval/lmms_eval/llm_judge/providers/async_openai.py:99
↓ 1 callersFunction_adjust_config
(task_dict)
lmms-eval/lmms_eval/evaluator.py:206
↓ 1 callersMethod_analyze_excerpts_with_sentence_boundaries
(self, text: str)
lmms-eval/lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:81
↓ 1 callersMethod_analyze_excerpts_without_sentence_boundaries
(self, text: str)
lmms-eval/lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:94
↓ 1 callersMethod_append_request_response_to_cache
Append a single request/response record to a JSONL cache file under the model's cache directory. The record format is: {"doc_
lmms-eval/lmms_eval/api/model.py:167
↓ 1 callersFunction_build_shell_command
Build the shell command for execution.
lmms-eval/lmms_eval/tui/server.py:207
↓ 1 callersFunction_build_vision_tower
(vision_tower_path: str, embed_dim: int, vision_cfg: CLIPVisionCfg, **kwargs)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:800
↓ 1 callersMethod_calc_stopped_samples
(self, prev_input_ids: Iterable[int])
lmms-eval/lmms_eval/models/model_utils/qwen/qwen_generate_utils.py:322
↓ 1 callersMethod_calculate_accuracy
(self, gt, pred)
lmms-eval/lmms_eval/tasks/multidocvqa/utils.py:88
↓ 1 callersMethod_calculate_anls
(self, gt, pred)
lmms-eval/lmms_eval/tasks/multidocvqa/utils.py:98
↓ 1 callersMethod_calculate_timestamps
(self, video_metadata: Dict[str, Any])
lmms-eval/lmms_eval/protocol.py:154
↓ 1 callersFunction_call_openai_for_evaluation
Call OpenAI API for image editing evaluation. Args: client: OpenAI client instance original_image: Original image (PIL Image
lmms-eval/lmms_eval/tasks/imgedit/utils.py:157
↓ 1 callersFunction_call_openai_for_evaluation
Call OpenAI API for image generation evaluation.
lmms-eval/lmms_eval/tasks/babyvision_gen/utils.py:71
↓ 1 callersFunction_camel2snake
(s)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/hf_model.py:31
↓ 1 callersFunction_check_correctness
Check if prediction matches ground truth. Handles various equivalent representations (yes/true/1, no/false/0). Args: gt: Ground trut
lmms-eval/lmms_eval/tasks/spatial457/utils.py:253
↓ 1 callersFunction_check_duplicates
helper function solely used in validating get_task_dict output. Takes the output of lmms_eval.evaluator_utils.get_subtask_list and returns a l
lmms-eval/lmms_eval/tasks/__init__.py:507
↓ 1 callersMethod_check_if_video_has_audio
(self, video_path)
lmms-eval/lmms_eval/models/simple/qwen2_5_omni.py:164
↓ 1 callersMethod_class_has_config_in_constructor
(self, cls)
lmms-eval/lmms_eval/tasks/__init__.py:230
↓ 1 callersFunction_compare_math_answers
Compare two mathematical answers with tolerance for numerical values.
lmms-eval/lmms_eval/tasks/auxsolidmath/utils.py:65
↓ 1 callersMethod_complete_job
Mark a job as completed with results.
lmms-eval/lmms_eval/entrypoints/job_scheduler.py:241
↓ 1 callersFunction_compute_all_shuffle_permutations
Compute all shuffle permutations matching the original CaptionQA implementation. The original implementation uses a single sequential RNG (s
lmms-eval/lmms_eval/tasks/captionqa/utils.py:75
↓ 1 callersFunction_compute_f1
(sa, sb)
lmms-eval/lmms_eval/tasks/websrc/utils.py:133
↓ 1 callersMethod_config_is_group
(self, config)
lmms-eval/lmms_eval/tasks/__init__.py:192
↓ 1 callersMethod_decode_audio_decoder
Extract audio array and sampling rate from AudioDecoder object.
lmms-eval/lmms_eval/models/simple/qwen3_omni.py:193
↓ 1 callersFunction_decode_chatml
( tokens: List[int], *, stop_words: List[str], eod_token_ids: List[int], tokenizer: PreTrainedTokenizer, r
lmms-eval/lmms_eval/models/model_utils/qwen/qwen_generate_utils.py:210
↓ 1 callersFunction_decode_default
( tokens: List[int], *, stop_words: List[str], eod_words: List[str], tokenizer: PreTrained
lmms-eval/lmms_eval/models/model_utils/qwen/qwen_generate_utils.py:177
↓ 1 callersFunction_detect_default_model_name
(client)
lmms-eval/lmms_eval/tasks/kris_bench/utils.py:275
↓ 1 callersFunction_dict_to_treenode
Recursively converts a dictionary to a TreeNode object.
lmms-eval/lmms_eval/tasks/spatialtreebench/utils.py:53
↓ 1 callersMethod_divide_long_lexemes
(self, segments: List[str])
lmms-eval/lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:200
↓ 1 callersFunction_empty_extended_similarity_result
Returns an empty extended similarity result with default values. Returns: Dictionary with default extended metrics
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_metrics.py:436
↓ 1 callersFunction_empty_similarity_result
Returns an empty similarity result with default values. Returns: Dictionary with default metrics
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_metrics.py:246
↓ 1 callersMethod_encode_image
Encode image to base64
lmms-eval/lmms_eval/llm_judge/providers/openai.py:121
↓ 1 callersFunction_evaluate_one
Evaluate generated image with judge.
lmms-eval/lmms_eval/tasks/kris_bench/utils.py:453
↓ 1 callersFunction_evaluate_one_image
(edited_image: Image.Image, qa_list: List[Dict[str, Any]])
lmms-eval/lmms_eval/tasks/structeditbench/utils.py:242
↓ 1 callersFunction_extract_abcd
Extract A/B/C/D from string.
lmms-eval/lmms_eval/tasks/videomme/video_only_abcd/utils.py:39
↓ 1 callersFunction_extract_abcdx
Extract A/B/C/D/X from string.
lmms-eval/lmms_eval/tasks/videomme/convert_mcq_oe/utils.py:42
↓ 1 callersFunction_extract_answer_from_response
Extract the final answer from model response.
lmms-eval/lmms_eval/tasks/auxsolidmath/utils.py:15
↓ 1 callersFunction_extract_answer_from_response
Extract the answer from a model response. Args: text: Raw model response text. Returns: Extracted answer string.
lmms-eval/lmms_eval/tasks/spatial457/utils.py:230
↓ 1 callersFunction_extract_answer_letter
Extract the answer choice letter from a string. Examples: 'A answer1' -> 'A' 'A) answer2' -> 'A' '(B) answer' -> 'B' 'C' ->
lmms-eval/lmms_eval/tasks/cv_bench/utils.py:6
↓ 1 callersFunction_extract_answer_letter
Extract the answer choice letter from a string. Examples: 'A answer1' -> 'A' 'A) answer2' -> 'A' '(B) answer' -> 'B' 'C' ->
lmms-eval/lmms_eval/tasks/embspatial/utils.py:22
↓ 1 callersFunction_extract_answer_letter
Extract answer letter from model response. Tries multiple patterns to extract the answer letter (A/B/C/D) from the model's response. Arg
lmms-eval/lmms_eval/tasks/geometry3k/utils.py:62
↓ 1 callersFunction_extract_answer_letter
Extract the answer choice letter (A or B) from a string. Examples: 'A' -> 'A' 'A.' -> 'A' '(A)' -> 'A' 'A an
lmms-eval/lmms_eval/tasks/mmvp/utils.py:59
↓ 1 callersFunction_extract_answer_letter
Extract the answer choice letter from a string. Examples: 'A answer1' -> 'A' 'A) answer2' -> 'A' '(B) answer' -> 'B' 'C' ->
lmms-eval/lmms_eval/tasks/erqa/utils.py:21
↓ 1 callersFunction_extract_answer_letter
Extract the answer choice letter from a string. Examples: 'A answer1' -> 'A' 'A) answer2' -> 'A' '(B) answer' -> 'B' 'C' ->
lmms-eval/lmms_eval/tasks/blink/utils.py:18
↓ 1 callersMethod_extract_audio_array
Extract audio array from decoded audio object.
lmms-eval/lmms_eval/models/simple/qwen3_omni.py:226
↓ 1 callersFunction_extract_cognitive_map
Extract cognitive map from response with error handling.
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/parse_output.py:229
↓ 1 callersMethod_extract_cognitive_map
Extract cognitive map from response with error handling.
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_evaluator.py:216
↓ 1 callersMethod_extract_content_from_response
Robustly extract visible content from various possible response formats.
lmms-eval/lmms_eval/tasks/seephys/seephys_evals.py:87
↓ 1 callersMethod_extract_doc_id
TODO: Implement logic to extract `doc_id` from a request. This method should return a JSON-serializable identifier (e.g., int or str)
lmms-eval/lmms_eval/api/model.py:156
↓ 1 callersFunction_extract_dual_scores
(response: str)
lmms-eval/lmms_eval/tasks/kris_bench/utils.py:405
↓ 1 callersFunction_extract_final_answer
(text: str)
lmms-eval/lmms_eval/tasks/uni_mmmu/utils.py:125
↓ 1 callersMethod_extract_gen_params
Extract generation parameters with defaults.
lmms-eval/lmms_eval/models/chat/sglang.py:258
↓ 1 callersFunction_extract_grounded_cogmap
Extract grounded cognitive map from item.
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/parse_output.py:263
↓ 1 callersMethod_extract_grounded_cogmap
Extract grounded cognitive map from item.
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_evaluator.py:264
↓ 1 callersFunction_extract_json_field
(response: str, score_key: str, reason_key: str)
lmms-eval/lmms_eval/tasks/kris_bench/utils.py:340
↓ 1 callersFunction_extract_quality_score_and_reason
(response: str)
lmms-eval/lmms_eval/tasks/kris_bench/utils.py:396
↓ 1 callersMethod_extract_sampling_rate
Extract sampling rate from decoded audio or audio object.
lmms-eval/lmms_eval/models/simple/qwen3_omni.py:249
↓ 1 callersFunction_extract_score_from_sample
Extract score from a sample dict.
lmms-eval/lmms_eval/baselines/loader.py:136
↓ 1 callersMethod_fail_job
Mark a job as failed with error message.
lmms-eval/lmms_eval/entrypoints/job_scheduler.py:250
← previousnext →901–1,000 of 6,334, ranked by callers