Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Fanziyang-v/FlashVID
/ functions
Functions
6,334 in github.com/Fanziyang-v/FlashVID
⨍
Functions
6,334
◇
Types & classes
572
↳
Endpoints
36
Function
aggregate_per_sample_score
(results)
lmms-eval/lmms_eval/tasks/salbench/utils.py:94
Function
aggregate_results
Aggregate results to compute overall accuracy.
lmms-eval/lmms_eval/tasks/realunify/utils.py:90
Function
aggregate_score
(results, args)
lmms-eval/lmms_eval/tasks/video-tt/gpt_utils.py:155
Function
aggregate_subtask_metrics
(metrics, sizes, weight_by_size=True)
lmms-eval/lmms_eval/api/metrics.py:659
Method
aggregation
(self)
lmms-eval/lmms_eval/api/task.py:1625
Function
ai2d_doc_to_messages
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/ai2d/reasoning/utils.py:24
Function
ai2d_doc_to_target
(doc, model_specific_target_kwargs)
lmms-eval/lmms_eval/tasks/ai2d/utils.py:30
Function
ai2d_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/ai2d/utils.py:6
Function
ai2d_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/ai2d/utils.py:26
Function
ai2d_process_results
(doc, results)
lmms-eval/lmms_eval/tasks/ai2d/reasoning/utils.py:35
Function
air_bench_aggregate_results_chat
(results)
lmms-eval/lmms_eval/tasks/air_bench/utils.py:140
Function
air_bench_aggregate_results_for_submission
(results, args)
lmms-eval/lmms_eval/tasks/air_bench/utils.py:199
Function
air_bench_aggregate_results_foundation
(results)
lmms-eval/lmms_eval/tasks/air_bench/utils.py:206
Function
air_bench_doc_to_audio
(doc)
lmms-eval/lmms_eval/tasks/air_bench/utils.py:16
Function
air_bench_doc_to_choice_foundation
(doc)
lmms-eval/lmms_eval/tasks/air_bench/utils.py:177
Function
air_bench_doc_to_target_foundation
(doc)
lmms-eval/lmms_eval/tasks/air_bench/utils.py:173
Function
air_bench_doc_to_text_chat
(doc, lmms_eval_specific_kwargs)
lmms-eval/lmms_eval/tasks/air_bench/utils.py:20
Function
air_bench_doc_to_text_foundation
(doc, lmms_eval_specific_kwargs)
lmms-eval/lmms_eval/tasks/air_bench/utils.py:164
Function
air_bench_process_results_chat
(doc, result)
lmms-eval/lmms_eval/tasks/air_bench/utils.py:109
Function
air_bench_process_results_foundation
(doc, result)
lmms-eval/lmms_eval/tasks/air_bench/utils.py:185
Method
all_groups
(self)
lmms-eval/lmms_eval/tasks/__init__.py:82
Method
all_subtasks
(self)
lmms-eval/lmms_eval/tasks/__init__.py:86
Method
all_tags
(self)
lmms-eval/lmms_eval/tasks/__init__.py:90
Method
all_tasks
(self)
lmms-eval/lmms_eval/tasks/__init__.py:78
Function
alpaca_audio_aggregate_results
(results)
lmms-eval/lmms_eval/tasks/alpaca_audio/utils.py:119
Function
alpaca_audio_process_results
(doc, result)
lmms-eval/lmms_eval/tasks/alpaca_audio/utils.py:109
Function
amber_g_aggregate_chair
Aggregate CHAIR metric.
lmms-eval/lmms_eval/tasks/amber_g/utils.py:395
Function
amber_g_aggregate_cog
Aggregate Cog metric.
lmms-eval/lmms_eval/tasks/amber_g/utils.py:425
Function
amber_g_aggregate_cover
Aggregate Cover metric.
lmms-eval/lmms_eval/tasks/amber_g/utils.py:405
Function
amber_g_aggregate_hal
Aggregate Hal metric.
lmms-eval/lmms_eval/tasks/amber_g/utils.py:415
Function
amber_g_doc_to_text
Convert document to text prompt.
lmms-eval/lmms_eval/tasks/amber_g/utils.py:352
Function
amber_g_doc_to_visual
Convert document to visual input.
lmms-eval/lmms_eval/tasks/amber_g/utils.py:336
Function
amber_g_process_result
Process a single result for AMBER evaluation.
lmms-eval/lmms_eval/tasks/amber_g/utils.py:362
Function
anls
https://github.com/QwenLM/Qwen-VL/blob/master/eval_mm/infographicsvqa_eval.py
lmms-eval/lmms_eval/api/metrics.py:298
Method
apply
Return {"no_contamination", "only_contamination"} keys for the 2 different subsets
lmms-eval/lmms_eval/filters/decontamination.py:19
Method
apply
(self, resps, docs)
lmms-eval/lmms_eval/filters/extraction.py:14
Method
apply
(self, resps, docs)
lmms-eval/lmms_eval/filters/extraction.py:48
Method
apply
(self, resps, docs)
lmms-eval/lmms_eval/filters/extraction.py:105
Method
apply
(self, resps, docs)
lmms-eval/lmms_eval/filters/extraction.py:232
Method
apply
Assuming each entry of `resps` is a list of model responses, we discard all but the first response.
lmms-eval/lmms_eval/filters/selection.py:18
Method
apply
(self, resps, docs)
lmms-eval/lmms_eval/filters/selection.py:32
Method
apply
Each entry of `resps` is a list of model responses. We select the response that occurs most frequently in each entry of `resps`.
lmms-eval/lmms_eval/filters/selection.py:48
Method
apply
(self, resps, docs)
lmms-eval/lmms_eval/filters/transformation.py:8
Method
apply
(self, resps, docs)
lmms-eval/lmms_eval/filters/transformation.py:19
Method
apply
(self, resps, docs)
lmms-eval/lmms_eval/filters/transformation.py:44
Method
apply
(self, instances: List[Instance], docs: List[Dataset])
lmms-eval/lmms_eval/api/filter.py:45
Method
apply
(self, resps, docs)
lmms-eval/lmms_eval/tasks/muirbench/utils.py:84
Method
apply
(self, resps, docs)
lmms-eval/lmms_eval/tasks/realworldqa/utils.py:51
Method
apply
(self, resps, docs)
lmms-eval/lmms_eval/tasks/realworldqa/utils.py:71
Method
apply
(self, resps, docs)
lmms-eval/lmms_eval/tasks/mmlu/flan_n_shot/generative/utils.py:34
Method
apply
(self, resps, docs)
lmms-eval/lmms_eval/tasks/mmlu/flan_cot_zeroshot/utils.py:34
Method
apply
(self, resps, docs)
lmms-eval/lmms_eval/tasks/illusionvqa/utils.py:37
Method
apply
Defines the operation to perform on a list of the `inst.resps` properties of `Instance` objects. Should return the list of (filtered)
lmms-eval/lmms_eval/tasks/mix_evals/image2text/utils.py:342
Method
apply
Defines the operation to perform on a list of the `inst.resps` properties of `Instance` objects. Should return the list of (filtered)
lmms-eval/lmms_eval/tasks/mix_evals/video2text/utils.py:363
Function
apply_filtering_to_results
Apply filtering logic to exclude certain settings from overall metrics. This maintains compatibility with the original evaluation logic. Args
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/result_init.py:214
Method
apply_filters
Iterates over FilterEnsembles and applies them to instances
lmms-eval/lmms_eval/api/task.py:1262
Function
apply_template
(template: str, doc: dict)
lmms-eval/lmms_eval/utils.py:852
Method
args
Returns (string,) where `string` is the string to calculate loglikelihood over
lmms-eval/lmms_eval/api/instance.py:25
Function
attn_div_based_token_selection
Select visual tokens based on attention and diversity. Args: features (torch.Tensor): Visual features, of shape (bsz, num_visual_tokens,
flashvid/token_selection.py:28
Function
attn_div_v2_based_token_selection
Select visual tokens based on attention and diversity. Args: features (torch.Tensor): Visual features, of shape (bsz, num_visual_tokens,
flashvid/token_selection.py:79
Method
auto_doc_to_messages
(doc)
lmms-eval/lmms_eval/api/task.py:1657
Function
auto_pad_images
(image, grid_params)
llava/mm_utils.py:33
Function
auxsolidmath_aggregate_accuracy
Aggregate accuracy scores.
lmms-eval/lmms_eval/tasks/auxsolidmath/utils.py:162
Function
auxsolidmath_doc_to_target
Get target answer from document.
lmms-eval/lmms_eval/tasks/auxsolidmath/utils.py:132
Function
auxsolidmath_doc_to_text
Build prompt for solid geometry problem.
lmms-eval/lmms_eval/tasks/auxsolidmath/utils.py:98
Function
auxsolidmath_doc_to_visual
Extract visual input (original diagram) from document.
lmms-eval/lmms_eval/tasks/auxsolidmath/utils.py:89
Function
auxsolidmath_process_results
Process results and compute accuracy using string matching.
lmms-eval/lmms_eval/tasks/auxsolidmath/utils.py:137
Function
av_odyssey_aggregate_results
Args: results: a list of values returned by process_results Returns: A score
lmms-eval/lmms_eval/tasks/av_odyssey/utils.py:214
Function
av_odyssey_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/av_odyssey/utils.py:122
Function
av_odyssey_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/av_odyssey/utils.py:65
Function
av_odyssey_process_results
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary with key: metric name (in this c
lmms-eval/lmms_eval/tasks/av_odyssey/utils.py:191
Function
av_speakerbench_aggregate_results
Aggregate per-sample scores into per-task_id accuracy and overall accuracy. Args: results: List of dicts produced by av_speakerbench
lmms-eval/lmms_eval/tasks/av_speakerbench/utils.py:200
Function
av_speakerbench_doc_to_audio
Return audio as a dict with waveform and sampling_rate for unified audio handling. Falls back to the absolute path if loading fails.
lmms-eval/lmms_eval/tasks/av_speakerbench/utils.py:102
Function
av_speakerbench_doc_to_audiovisual
Return the audiovisual clip path, joined with CACHE_ROOT.
lmms-eval/lmms_eval/tasks/av_speakerbench/utils.py:92
Function
av_speakerbench_doc_to_text_audio
Prompt for audio-only mode.
lmms-eval/lmms_eval/tasks/av_speakerbench/utils.py:80
Function
av_speakerbench_doc_to_text_av
Prompt for audiovisual mode.
lmms-eval/lmms_eval/tasks/av_speakerbench/utils.py:74
Function
av_speakerbench_doc_to_text_visual
Prompt for visual-only mode.
lmms-eval/lmms_eval/tasks/av_speakerbench/utils.py:86
Function
av_speakerbench_doc_to_visual
Return the visual-only clip path, joined with CACHE_ROOT.
lmms-eval/lmms_eval/tasks/av_speakerbench/utils.py:119
Function
av_speakerbench_process_results
Compare model prediction with ground truth. Args: doc: Single dataset example. results: List of model outputs for the exampl
lmms-eval/lmms_eval/tasks/av_speakerbench/utils.py:174
Function
babyvision_aggregate_results
Aggregate results across all samples.
lmms-eval/lmms_eval/tasks/babyvision/utils.py:206
Function
babyvision_aggregate_results
Aggregate results across all samples.
lmms-eval/lmms_eval/tasks/babyvision_gen/utils.py:183
Function
babyvision_doc_to_target
Extract target instruction (for reference)
lmms-eval/lmms_eval/tasks/babyvision_gen/utils.py:132
Function
babyvision_doc_to_text
Build question text from document.
lmms-eval/lmms_eval/tasks/babyvision/utils.py:101
Function
babyvision_doc_to_text
Extract generation prompt text from document
lmms-eval/lmms_eval/tasks/babyvision_gen/utils.py:121
Function
babyvision_doc_to_visual
Extract input image from document.
lmms-eval/lmms_eval/tasks/babyvision/utils.py:95
Function
babyvision_doc_to_visual
Extract input image from document
lmms-eval/lmms_eval/tasks/babyvision_gen/utils.py:115
Function
babyvision_process_results
Process model predictions and evaluate using LLM-as-Judge API.
lmms-eval/lmms_eval/tasks/babyvision/utils.py:138
Function
babyvision_process_results
Process model predictions and evaluate using LLM API.
lmms-eval/lmms_eval/tasks/babyvision_gen/utils.py:137
Method
backward
(ctx, grad_output)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/utils.py:317
Function
batch_evaluate
Batch evaluate all JSONL files in a directory. Args: eval_dir: Directory containing JSONL files output_dir: Directory to save res
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/__init__.py:118
Method
batch_evaluate
Computes TEDS score between the prediction and the ground truth of a batch of samples @params pred_json: {'FILENAME': 'HTML CODE', ...
lmms-eval/lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:140
Method
batch_size
(self)
lmms-eval/lmms_eval/models/whisper_tt.py:95
Method
batch_size
(self)
lmms-eval/lmms_eval/models/chat/async_openai.py:104
Method
batch_size
(self)
lmms-eval/lmms_eval/models/chat/sglang.py:158
Method
batch_size
Return the batch size per GPU.
lmms-eval/lmms_eval/models/chat/internvl_hf.py:181
Method
batch_size
(self)
lmms-eval/lmms_eval/models/chat/huggingface.py:169
Method
batch_size
(self)
lmms-eval/lmms_eval/models/simple/ola.py:248
Method
batch_size
(self)
lmms-eval/lmms_eval/models/simple/phi3v.py:105
Method
batch_size
(self)
lmms-eval/lmms_eval/models/simple/slime.py:181
Method
batch_size
(self)
lmms-eval/lmms_eval/models/simple/llava_onevision1_5.py:156
← previous
next →
3,001–3,100 of 6,334, ranked by callers