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
videommmu_doc_to_visual_question_only
(doc)
lmms-eval/lmms_eval/tasks/videommmu/utils.py:64
Function
videommmu_process_docs_gt_none
Replace correct answer content with 'None' for MCQ questions.
lmms-eval/lmms_eval/tasks/videommmu/gt_none_option/utils.py:5
Function
videommmu_process_docs_number_option
Change option labels from A.B.C.D to 1.2.3.4 for MCQ questions.
lmms-eval/lmms_eval/tasks/videommmu/number_option/utils.py:5
Function
videommmu_process_docs_random_choice
Shuffle options and update answer accordingly for MCQ questions.
lmms-eval/lmms_eval/tasks/videommmu/random_choice/utils.py:7
Function
videommmu_process_results
(doc, results)
lmms-eval/lmms_eval/tasks/videommmu/utils.py:138
Function
videott_aggregate_oe_results
Args: results: a list of values returned by process_results Returns: A score
lmms-eval/lmms_eval/tasks/video-tt/utils.py:229
Function
videott_aggregate_results
Args: results: a list of values returned by process_results Returns: A score
lmms-eval/lmms_eval/tasks/video-tt/utils.py:194
Function
videott_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/video-tt/utils.py:76
Function
videott_doc_to_text_audio
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/video-tt/utils.py:88
Function
videott_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/video-tt/utils.py:61
Function
videott_process_results
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary with key: metric name (in this case v
lmms-eval/lmms_eval/tasks/video-tt/utils.py:157
Function
videott_process_results_oe
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary with key: metric name (in this case v
lmms-eval/lmms_eval/tasks/video-tt/utils.py:176
Function
viewspatial_aggregate_results
Aggregates the 'overall_accuracy' results. Calculates the mean score from a list of result dictionaries. Args: results (list[dict]):
lmms-eval/lmms_eval/tasks/viewspatial/utils.py:64
Function
viewspatial_doc_to_text
Extracts the text prompt from a viewspatial dataset sample. Args: doc (dict): A viewspatial dataset sample dictionary. Returns:
lmms-eval/lmms_eval/tasks/viewspatial/utils.py:4
Function
viewspatial_doc_to_visual
Extracts and converts visual data from a viewspatial dataset sample. This function iterates over the 'images' key in the dataset sample, calling
lmms-eval/lmms_eval/tasks/viewspatial/utils.py:25
Function
viewspatial_process_results
Processes the model's output for a single viewspatial document.
lmms-eval/lmms_eval/tasks/viewspatial/utils.py:45
Function
vinoground_aggregate_results
(results)
lmms-eval/lmms_eval/tasks/vinoground/utils.py:75
Function
vinoground_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/vinoground/utils.py:52
Function
vinoground_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/vinoground/utils.py:39
Function
vinoground_process_results
(doc, results)
lmms-eval/lmms_eval/tasks/vinoground/utils.py:61
Function
violates_moderation
Check whether the text violates OpenAI moderation API.
llava/utils.py:173
Method
visit_Assign
(self, node)
lmms-eval/lmms_eval/models/model_utils/thyme/sandbox.py:154
Method
visit_Assign
(self, node)
lmms-eval/lmms_eval/models/model_utils/thyme/sandbox.py:280
Method
visit_Attribute
Called for attribute access like object.attribute or object.sub_object.attribute We are interested in cases like: - cv.imread
lmms-eval/lmms_eval/models/model_utils/thyme/sandbox.py:435
Function
visualwebbench_accuracy_aggregate
(results)
lmms-eval/lmms_eval/tasks/visualwebbench/utils.py:118
Function
visualwebbench_doc_to_choice
(doc)
lmms-eval/lmms_eval/tasks/visualwebbench/utils.py:31
Function
visualwebbench_doc_to_target
(doc)
lmms-eval/lmms_eval/tasks/visualwebbench/utils.py:38
Function
visualwebbench_doc_to_text
(doc, lmms_eval_specific_kwargs)
lmms-eval/lmms_eval/tasks/visualwebbench/utils.py:12
Function
visualwebbench_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/visualwebbench/utils.py:47
Function
visualwebbench_f1_score_aggregate
(results)
lmms-eval/lmms_eval/tasks/visualwebbench/utils.py:122
Function
visualwebbench_process_results_accuracy
Process results for accuracy-based tasks (action_ground, action_prediction, element_ground)
lmms-eval/lmms_eval/tasks/visualwebbench/utils.py:71
Function
visualwebbench_process_results_f1
Process results for F1-based tasks (webqa)
lmms-eval/lmms_eval/tasks/visualwebbench/utils.py:91
Function
visualwebbench_process_results_rouge
(doc, results)
lmms-eval/lmms_eval/tasks/visualwebbench/utils.py:51
Function
visualwebbench_rouge_1_aggregate
(results)
lmms-eval/lmms_eval/tasks/visualwebbench/utils.py:106
Function
visualwebbench_rouge_2_aggregate
(results)
lmms-eval/lmms_eval/tasks/visualwebbench/utils.py:110
Function
visualwebbench_rouge_l_aggregate
(results)
lmms-eval/lmms_eval/tasks/visualwebbench/utils.py:114
Function
vitatecs_aggregate_rating
(results, args)
lmms-eval/lmms_eval/tasks/vitatecs/utils.py:205
Function
vitatecs_doc_to_answer
(doc)
lmms-eval/lmms_eval/tasks/vitatecs/utils.py:98
Function
vitatecs_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/vitatecs/utils.py:55
Function
vitatecs_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/vitatecs/utils.py:45
Function
vitatecs_process_results
(doc, result)
lmms-eval/lmms_eval/tasks/vitatecs/utils.py:104
Function
vizwiz_vqa_aggregate_submissions
(results, args)
lmms-eval/lmms_eval/tasks/vizwiz_vqa/utils.py:57
Function
vizwiz_vqa_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/vizwiz_vqa/utils.py:44
Function
vizwiz_vqa_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/vizwiz_vqa/utils.py:9
Function
vizwiz_vqa_process_results
(doc, result)
lmms-eval/lmms_eval/tasks/vizwiz_vqa/utils.py:13
Function
vlms_are_biased_aggregate_by_topic
Aggregate results by topic. Args: results: List of result dictionaries with topic and correctness Returns: Dictionary mappin
lmms-eval/lmms_eval/tasks/vlms_are_biased/utils.py:86
Function
vlms_are_biased_doc_to_text
Format question text with optional prompt additions. Args: doc: Document containing prompt field lmms_eval_specific_kwargs: Optio
lmms-eval/lmms_eval/tasks/vlms_are_biased/utils.py:19
Function
vlms_are_biased_doc_to_visual
Extract image from document. Args: doc: Document containing image field Returns: List containing the RGB image
lmms-eval/lmms_eval/tasks/vlms_are_biased/utils.py:7
Function
vlms_are_biased_process_results
Process model results and compute accuracy and bias ratio. Args: doc: Document containing ground truth and expected bias results:
lmms-eval/lmms_eval/tasks/vlms_are_biased/utils.py:42
Function
vlmsareblind_aggregate_by_task
(results: list[dict])
lmms-eval/lmms_eval/tasks/vlmsareblind/utils.py:96
Function
vlmsareblind_doc_to_text
Format the prompt for the model.
lmms-eval/lmms_eval/tasks/vlmsareblind/utils.py:29
Function
vlmsareblind_doc_to_visual
Extract image from the document.
lmms-eval/lmms_eval/tasks/vlmsareblind/utils.py:22
Function
vlmsareblind_process_results
Process the model's response and compare with ground truth.
lmms-eval/lmms_eval/tasks/vlmsareblind/utils.py:78
Function
vlmsareblind_sample_100_per_task
Subsample the dataset to at most 100 examples per task.
lmms-eval/lmms_eval/tasks/vlmsareblind/utils.py:115
Function
vlrewardbench_aggregate_results
Args: results: a list of values returned by process_results Returns: A score
lmms-eval/lmms_eval/tasks/vl_rewardbench/utils.py:130
Function
vlrewardbench_doc_to_text
(doc)
lmms-eval/lmms_eval/tasks/vl_rewardbench/utils.py:56
Function
vlrewardbench_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/vl_rewardbench/utils.py:52
Function
vlrewardbench_process_results
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary with key: metric name (in this case m
lmms-eval/lmms_eval/tasks/vl_rewardbench/utils.py:95
Function
vmcbench_aggregate_results
Args: results: a list of values returned by process_results Returns: A score
lmms-eval/lmms_eval/tasks/vmcbench/utils.py:138
Function
vmcbench_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/vmcbench/utils.py:37
Function
vmcbench_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/vmcbench/utils.py:33
Function
vmcbench_process_results
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary with key: metric name, value: metric
lmms-eval/lmms_eval/tasks/vmcbench/utils.py:110
Function
vocalsound_aggregate_results
(results)
lmms-eval/lmms_eval/tasks/vocalsound/utils.py:31
Function
vocalsound_process_results
(doc, result)
lmms-eval/lmms_eval/tasks/vocalsound/utils.py:23
Function
voicebench_aggregate_results
(results)
lmms-eval/lmms_eval/tasks/voicebench/utils.py:123
Function
voicebench_doc_to_audio
(doc)
lmms-eval/lmms_eval/tasks/voicebench/utils.py:27
Function
voicebench_doc_to_text
Generate prompt for the audio model
lmms-eval/lmms_eval/tasks/voicebench/utils.py:115
Function
voicebench_process_results_bbh
(doc, results)
lmms-eval/lmms_eval/tasks/voicebench/utils.py:305
Function
voicebench_process_results_harm
(_doc, results)
lmms-eval/lmms_eval/tasks/voicebench/utils.py:208
Function
voicebench_process_results_ifeval
Adapted from `ifeval.py` to evaluate one sample. Returns {"accuracy": 1.0} if the response strictly follows all listed instructions, otherwis
lmms-eval/lmms_eval/tasks/voicebench/utils.py:1452
Function
voicebench_process_results_mcq
(doc, results)
lmms-eval/lmms_eval/tasks/voicebench/utils.py:1250
Function
voicebench_process_results_open
(doc, results)
lmms-eval/lmms_eval/tasks/voicebench/utils.py:138
Function
voicebench_process_results_qa
The original evaluation uses this for determine score for gpt but no record of the number of agents was found def majority_vote(scores):
lmms-eval/lmms_eval/tasks/voicebench/utils.py:1148
Function
vqav2_aggregate_submissions
(results, args)
lmms-eval/lmms_eval/tasks/vqav2/utils.py:79
Function
vqav2_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/vqav2/utils.py:67
Function
vqav2_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/vqav2/utils.py:11
Function
vqav2_process_results_test
(doc, result)
lmms-eval/lmms_eval/tasks/vqav2/utils.py:53
Function
vqav2_process_results_val
(doc, result)
lmms-eval/lmms_eval/tasks/vqav2/utils.py:60
Function
vsibench_aggregate_results
(results)
lmms-eval/lmms_eval/tasks/vsibench/utils.py:130
Function
vsibench_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/vsibench/utils.py:57
Function
vsibench_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/vsibench/utils.py:46
Function
vsibench_doc_to_visual_as_images
Return video frames as a list of PIL Images instead of video path. This allows the model to process the video as multi-image input. Args
lmms-eval/lmms_eval/tasks/vsibench/multi_image_input/utils.py:14
Function
vsibench_process_results
(doc, results)
lmms-eval/lmms_eval/tasks/vsibench/utils.py:113
Function
vstar_aggregate_results
Aggregate results by category and overall. Args: results: a list of values returned by process_results Returns: Aggregat
lmms-eval/lmms_eval/tasks/vstar_bench/utils.py:111
Function
vstar_doc_to_text
Convert document to text prompt with options.
lmms-eval/lmms_eval/tasks/vstar_bench/utils.py:12
Function
vstar_doc_to_visual
Convert document to visual input.
lmms-eval/lmms_eval/tasks/vstar_bench/utils.py:7
Function
vstar_process_results
Process the model results and compare with ground truth. Args: doc: a instance of the eval dataset results: [pred] Retur
lmms-eval/lmms_eval/tasks/vstar_bench/utils.py:75
Method
wait_for_job
( self, job_id: str, poll_interval: float = 5.0, timeout: Optional[float] = No
lmms-eval/lmms_eval/entrypoints/client.py:370
Function
wait_for_server
(url: str, timeout: float = 30.0)
lmms-eval/lmms_eval/tui/cli.py:13
Function
wavcaps_aggregate_results
(results)
lmms-eval/lmms_eval/tasks/wavcaps/utils.py:120
Function
wavcaps_doc_to_audio
(doc)
lmms-eval/lmms_eval/tasks/wavcaps/utils.py:11
Function
wavcaps_doc_to_text
(doc, lmms_eval_specific_kwargs)
lmms-eval/lmms_eval/tasks/wavcaps/utils.py:15
Function
wavcaps_process_results
(doc, results)
lmms-eval/lmms_eval/tasks/wavcaps/utils.py:110
Function
websrc_aggregate_results
(results)
lmms-eval/lmms_eval/tasks/websrc/utils.py:67
Function
websrc_doc_to_text
(doc)
lmms-eval/lmms_eval/tasks/websrc/utils.py:22
Function
websrc_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/websrc/utils.py:27
Function
websrc_process_results
(doc, results)
lmms-eval/lmms_eval/tasks/websrc/utils.py:34
Function
websrc_test_aggregate_results_for_submission
(results, args)
lmms-eval/lmms_eval/tasks/websrc/utils.py:57
Function
weighted_perplexity
(items)
lmms-eval/lmms_eval/api/metrics.py:40
Function
wemath_aggregate_results_loose
(results)
lmms-eval/lmms_eval/tasks/wemath/reasoning/utils.py:82
← previous
next →
6,101–6,200 of 6,334, ranked by callers