MCPcopy Create free account

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

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

↓ 1 callersMethod_filter_and_transform
(self, lexemes_with_positions: List[LexemeWithPositions])
lmms-eval/lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:225
↓ 1 callersMethod_finalize_cogmap_metrics
Finalize cognitive map metrics by calculating averages and percentages.
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_evaluator.py:340
↓ 1 callersFunction_find_in_hf_datasets_cache
(rel_path: str)
lmms-eval/lmms_eval/tasks/spatialtreebench/utils.py:89
↓ 1 callersFunction_find_json_object
(text: str)
lmms-eval/lmms_eval/tasks/uni_mmmu/utils.py:70
↓ 1 callersFunction_fix_a_slash_b
(string)
lmms-eval/lmms_eval/tasks/mathvision/eval_utils.py:264
↓ 1 callersFunction_fix_fracs
(string)
lmms-eval/lmms_eval/tasks/mathvision/eval_utils.py:218
↓ 1 callersFunction_fix_sqrt
(string)
lmms-eval/lmms_eval/tasks/mathvision/eval_utils.py:297
↓ 1 callersMethod_flash_attention_forward
Calls the forward method of Flash Attention - if the input hidden states contain at least one padding token first unpad the input, th
llava/model/language_model/modeling_llama.py:478
↓ 1 callersMethod_flash_attention_forward
Calls the forward method of Flash Attention - if the input hidden states contain at least one padding token first unpad the input, th
llava/model/language_model/modeling_llama.py:659
↓ 1 callersFunction_format_options
Format options list.
lmms-eval/lmms_eval/tasks/videomme/convert_mcq_oe/utils.py:51
↓ 1 callersMethod_generate_audio_transcription
Transcribe audio using the tt-media-server HTTP API. Args: audio_array: Audio data as numpy array sampling_r
lmms-eval/lmms_eval/models/whisper_tt.py:191
↓ 1 callersMethod_generate_overlapping_excerpts
(self, nonoverlapping_excerpts: List[List[List[LexemeWithPositions]]])
lmms-eval/lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:119
↓ 1 callersMethod_generate_reasoning_mode
Generate response using reasoning mode with image processing and code execution.
lmms-eval/lmms_eval/models/chat/thyme.py:87
↓ 1 callersMethod_generate_simple_mode
Generate response using simple QA mode without reasoning. Falls back to this mode when reasoning mode fails.
lmms-eval/lmms_eval/models/chat/thyme.py:246
↓ 1 callersMethod_generate_sliding_window_excerpts
(self, analyzed_lexemes: List[LexemeWithPositions])
lmms-eval/lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:133
↓ 1 callersMethod_get_config
Get configuration parameters.
lmms-eval/lmms_eval/logging_utils.py:104
↓ 1 callersMethod_get_config
Get configuration parameters.
lmms-eval/lmms_eval/loggers/wandb_logger.py:58
↓ 1 callersFunction_get_doc_metadata
Extract key, category, image_id from doc.
lmms-eval/lmms_eval/tasks/kris_bench/utils.py:445
↓ 1 callersFunction_get_eval_config
()
lmms-eval/lmms_eval/tasks/kris_bench/utils.py:243
↓ 1 callersFunction_get_eval_config
()
lmms-eval/lmms_eval/tasks/structeditbench/utils.py:167
↓ 1 callersMethod_get_eval_context
(self, task_name, query)
lmms-eval/lmms_eval/tasks/megabench/evaluator.py:49
↓ 1 callersFunction_get_float_env
(name: str, default: float)
lmms-eval/lmms_eval/tasks/kris_bench/utils.py:225
↓ 1 callersFunction_get_float_env
(name: str, default: float)
lmms-eval/lmms_eval/tasks/structeditbench/utils.py:94
↓ 1 callersFunction_get_fullpage_content
(url: str, timeout: int = FULLPAGE_CONTENT_TIMEOUT)
lmms-eval/lmms_eval/tasks/mmsearch/utils/utils.py:240
↓ 1 callersFunction_get_openai_client
Get OpenAI client instance.
lmms-eval/lmms_eval/tasks/babyvision/utils.py:16
↓ 1 callersFunction_get_openai_client
Get or create OpenAI client instance (singleton pattern).
lmms-eval/lmms_eval/tasks/imgedit/utils.py:38
↓ 1 callersFunction_get_openai_client
(*, api_key: str, base_url: str, timeout: int)
lmms-eval/lmms_eval/tasks/kris_bench/utils.py:235
↓ 1 callersFunction_get_openai_client
Get OpenAI client instance.
lmms-eval/lmms_eval/tasks/babyvision_gen/utils.py:25
↓ 1 callersFunction_get_openai_client
(*, api_key: str, base_url: Optional[str], timeout: int)
lmms-eval/lmms_eval/tasks/structeditbench/utils.py:156
↓ 1 callersFunction_get_or_create_client
(cfg: Dict[str, Any])
lmms-eval/lmms_eval/tasks/kris_bench/utils.py:266
↓ 1 callersFunction_get_or_create_client
(cfg: Dict[str, Any])
lmms-eval/lmms_eval/tasks/structeditbench/utils.py:189
↓ 1 callersMethod_get_rawvideo_dec
( self, video_path, image_processor, max_frames=MAX_IMAGE_LENGTH, min_
lmms-eval/lmms_eval/models/simple/vita.py:374
↓ 1 callersFunction_get_sentence_tokenizer
()
lmms-eval/lmms_eval/tasks/voicebench/instruction_following_eval/instructions_util.py:1659
↓ 1 callersFunction_get_sentence_tokenizer
()
lmms-eval/lmms_eval/tasks/ifeval/instructions_util.py:1669
↓ 1 callersMethod_get_task_and_group
Creates a dictionary of tasks index with the following metadata, - `type`, that can be either `task`, `python_task`, `group` or `tags`.
lmms-eval/lmms_eval/tasks/__init__.py:384
↓ 1 callersFunction_get_vie_score
Get or create VIEScore instance. Note: In multi-process environments, each process will have its own instance.
lmms-eval/lmms_eval/tasks/gedit_bench/utils.py:41
↓ 1 callersMethod_get_yaml_path
(self, name)
lmms-eval/lmms_eval/tasks/__init__.py:202
↓ 1 callersFunction_handle_non_serializable
Handle non-serializable objects by converting them to serializable types. Args: o (Any): The object to be handled. Returns:
lmms-eval/lmms_eval/loggers/utils.py:44
↓ 1 callersFunction_in_projection_packed
https://github.com/pytorch/pytorch/blob/db2a237763eb8693a20788be94f8c192e762baa8/torch/nn/functional.py#L4726
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:123
↓ 1 callersMethod_init_rope
(self)
llava/model/language_model/modeling_llama.py:276
↓ 1 callersMethod_init_tools_sglang
(self)
lmms-eval/lmms_eval/models/chat/sglang.py:428
↓ 1 callersFunction_initialize_cogmap_results_structure
Initialize results structure with cognitive map specific fields.
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/result_init.py:45
↓ 1 callersMethod_initialize_cogmap_results_structure
Initialize results structure with cognitive map specific fields.
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_evaluator.py:162
↓ 1 callersMethod_initialize_similarity_accumulators
Initialize similarity metric accumulators.
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_evaluator.py:202
↓ 1 callersFunction_is_multiline_answer
(text)
lmms-eval/lmms_eval/tasks/megabench/metrics/parsing/common/utils.py:120
↓ 1 callersFunction_is_option_line
(line: str)
lmms-eval/lmms_eval/tasks/jmmmu_pro/utils.py:442
↓ 1 callersMethod_is_qwen_vl_model
(self, model: str)
lmms-eval/lmms_eval/models/simple/vllm.py:230
↓ 1 callersMethod_job_worker
Background worker that processes jobs one-by-one from the queue. This ensures sequential execution of GPU-intensive evaluation jobs.
lmms-eval/lmms_eval/entrypoints/job_scheduler.py:263
↓ 1 callersFunction_judge_is_correct
(text: str)
lmms-eval/lmms_eval/tasks/structeditbench/utils.py:236
↓ 1 callersFunction_kris_dimension_group
Return (dimension_group_id, big_class_id) in snake_case.
lmms-eval/lmms_eval/tasks/kris_bench/utils.py:151
↓ 1 callersFunction_last_standalone_letter
Fallback: pick the last standalone letter (A–Z) not on an option line.
lmms-eval/lmms_eval/tasks/jmmmu_pro/utils.py:451
↓ 1 callersFunction_llm_match_option
Use LLM to match open-ended answer to options.
lmms-eval/lmms_eval/tasks/videomme/convert_mcq_oe/utils.py:68
↓ 1 callersMethod_load_hf
Load the HF dataset for the given subset name.
lmms-eval/lmms_eval/tasks/megabench/evaluator.py:35
↓ 1 callersMethod_load_individual_task_or_group
( self, name_or_config: Optional[Union[str, dict]] = None, task_type: Literal["simple"
lmms-eval/lmms_eval/tasks/__init__.py:234
↓ 1 callersMethod_load_model
Load Bagel model components
lmms-eval/lmms_eval/models/chat/bagel_lmms_engine.py:140
↓ 1 callersMethod_load_model
Load Bagel model components.
lmms-eval/lmms_eval/models/simple/bagel.py:269
↓ 1 callersMethod_log_results_as_artifact
Log results as JSON artifact to W&B.
lmms-eval/lmms_eval/logging_utils.py:215
↓ 1 callersMethod_log_results_as_artifact
Log results as JSON artifact to W&B.
lmms-eval/lmms_eval/loggers/wandb_logger.py:155
↓ 1 callersMethod_log_results_as_table
Generate and log evaluation results as a table to W&B.
lmms-eval/lmms_eval/logging_utils.py:155
↓ 1 callersMethod_log_results_as_table
Generate and log evaluation results as a table to W&B.
lmms-eval/lmms_eval/loggers/wandb_logger.py:105
↓ 1 callersMethod_make_async_request
Make async HTTP request to Azure OpenAI API
lmms-eval/lmms_eval/llm_judge/providers/async_azure_openai.py:88
↓ 1 callersMethod_make_async_request
Make async HTTP request to OpenAI API
lmms-eval/lmms_eval/llm_judge/providers/async_openai.py:87
↓ 1 callersMethod_make_request
Make HTTP request to Azure OpenAI API
lmms-eval/lmms_eval/llm_judge/providers/azure_openai.py:86
↓ 1 callersMethod_make_request
Make HTTP request to OpenAI API
lmms-eval/lmms_eval/llm_judge/providers/openai.py:88
↓ 1 callersFunction_mean
Scale from 1-5 to 0-100 and compute means.
lmms-eval/lmms_eval/tasks/vibe_eval/utils.py:188
↓ 1 callersMethod_name_is_group
(self, name)
lmms-eval/lmms_eval/tasks/__init__.py:177
↓ 1 callersMethod_name_is_python_task
(self, name)
lmms-eval/lmms_eval/tasks/__init__.py:182
↓ 1 callersFunction_natural_key
(string_)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/factory.py:29
↓ 1 callersFunction_natural_key
(string_)
llava/model/multimodal_encoder/eva_clip/factory.py:15
↓ 1 callersFunction_normalize
(text: str)
lmms-eval/lmms_eval/tasks/jmmmu_pro/utils.py:437
↓ 1 callersFunction_normalize_bbox
Normalize bbox from either [0, 1] or [0, 999] range to pixel coordinates.
lmms-eval/lmms_eval/tasks/groundingme/utils.py:111
↓ 1 callersFunction_normalize_category
(category: Any)
lmms-eval/lmms_eval/tasks/structeditbench/utils.py:104
↓ 1 callersFunction_normalize_env_line
(line: str)
lmms-eval/lmms_eval/tui/server.py:163
↓ 1 callersFunction_normalize_mc_answer
Normalize multiple choice answer for comparison.
lmms-eval/lmms_eval/tasks/illusionbench/utils.py:82
↓ 1 callersMethod_omit_long_lexemes
(self, text: str, reject_threshold: int)
lmms-eval/lmms_eval/tasks/mmsearch/retrieve_content/tokenization/tokenizers.py:209
↓ 1 callersMethod_pack_message
(self, role: str, content)
lmms-eval/lmms_eval/tasks/gpqa/openai/utils.py:126
↓ 1 callersMethod_pack_message
(self, role: str, content)
lmms-eval/lmms_eval/tasks/aime/utils.py:168
↓ 1 callersMethod_pack_message
(self, role: str, content)
lmms-eval/lmms_eval/tasks/openai_math/utils.py:165
↓ 1 callersFunction_padding_224
(frames)
lmms-eval/lmms_eval/models/simple/internvideo2.py:147
↓ 1 callersFunction_padding_224
(frames)
lmms-eval/lmms_eval/models/simple/videochat2.py:112
↓ 1 callersFunction_parse_mc_answer
Parse multiple choice answer from model response.
lmms-eval/lmms_eval/tasks/illusionbench/utils.py:63
↓ 1 callersFunction_parse_multi_choice_response
(response: str, all_choices: List[str])
lmms-eval/lmms_eval/tasks/medqa/utils.py:83
↓ 1 callersFunction_parse_options
Parse options from format '(a) Option1 (b) Option2' to list ['Option1', 'Option2'].
lmms-eval/lmms_eval/tasks/mmvp/utils.py:113
↓ 1 callersMethod_parse_output_directory
Parse output directory: output_path/model_name/YYYYMMDD_HHMMSS_results.json Returns: {model_name: {"results": path, "sam
lmms-eval/lmms_eval/entrypoints/job_scheduler.py:377
↓ 1 callersMethod_parse_response
Parse the raw response into a structured object, depending on the parser.
lmms-eval/lmms_eval/tasks/megabench/evaluator.py:297
↓ 1 callersFunction_parse_task_yaml
(yaml_path: Path)
lmms-eval/lmms_eval/tui/discovery.py:43
↓ 1 callersFunction_parse_temporal_window
Helper to convert various inputs into a valid list of two floats/ints. Returns None if conversion fails.
lmms-eval/lmms_eval/tasks/FALCONBench/utils.py:575
↓ 1 callersFunction_parse_tf_answer
Parse True/False answer from response.
lmms-eval/lmms_eval/tasks/illusionbench/utils.py:44
↓ 1 callersMethod_patch_prepare_methods
Patch model's prepare_* methods to auto-move output tensors to device.
lmms-eval/lmms_eval/models/chat/bagel_lmms_engine.py:173
↓ 1 callersMethod_post_request
(self, payload)
lmms-eval/lmms_eval/tasks/hrbench/hrbench_evals.py:33
↓ 1 callersMethod_post_request
(self, payload)
lmms-eval/lmms_eval/tasks/mmupd/mmupd_evals.py:400
↓ 1 callersMethod_post_request
(self, payload)
lmms-eval/lmms_eval/tasks/mmbench/mmbench_evals.py:129
↓ 1 callersMethod_post_request
(self, payload)
lmms-eval/lmms_eval/tasks/worldqa/worldqa_mc_evaluator.py:65
↓ 1 callersMethod_prepare_content_reasoning
(self, inputs: list[dict[str, str | List]], user_image_path: str)
lmms-eval/lmms_eval/models/chat/thyme.py:380
↓ 1 callersMethod_prepare_content_simple
(self, inputs: list[dict[str, str | List]])
lmms-eval/lmms_eval/models/chat/thyme.py:405
↓ 1 callersMethod_prepare_metric_and_aggregation
(self)
lmms-eval/lmms_eval/api/task.py:815
↓ 1 callersMethod_prepare_model_specific_config
(self)
lmms-eval/lmms_eval/api/task.py:790
↓ 1 callersMethod_prepare_video_kwargs
(self)
lmms-eval/lmms_eval/models/chat/sglang.py:199
↓ 1 callersMethod_preserve_necessary_cogmap_fields
Preserve necessary fields in the results dictionary.
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_evaluator.py:42
↓ 1 callersMethod_print_cogmap_metrics
Print cognitive map specific metrics.
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/cogmap/cogmap_evaluator.py:382
← previousnext →1,001–1,100 of 6,334, ranked by callers