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
Method
count_choice
(splits, choices, prefix="", suffix="")
lmms-eval/lmms_eval/tasks/hrbench/hrbench_evals.py:53
Function
count_sentences
Count the number of sentences.
lmms-eval/lmms_eval/tasks/voicebench/instruction_following_eval/instructions_util.py:1663
Function
count_sentences
Count the number of sentences.
lmms-eval/lmms_eval/tasks/ifeval/instructions_util.py:1673
Function
count_words
Counts the number of words.
lmms-eval/lmms_eval/tasks/voicebench/instruction_following_eval/instructions_util.py:1650
Function
count_words
Counts the number of words.
lmms-eval/lmms_eval/tasks/ifeval/instructions_util.py:1660
Function
covost2_bleu
(results, args)
lmms-eval/lmms_eval/tasks/covost2/utils.py:50
Function
covost2_bleu_en
(results, args)
lmms-eval/lmms_eval/tasks/covost2/utils.py:63
Function
covost2_doc_to_audio
(doc)
lmms-eval/lmms_eval/tasks/covost2/utils.py:26
Function
covost2_doc_to_text
(doc, lmms_eval_specific_kwargs)
lmms-eval/lmms_eval/tasks/covost2/utils.py:30
Function
covost2_en_zh_process_result
(doc, result)
lmms-eval/lmms_eval/tasks/covost2/utils.py:43
Function
covost2_zh_en_process_result
(doc, result)
lmms-eval/lmms_eval/tasks/covost2/utils.py:36
Method
create
(cls, i, v)
lmms-eval/lmms_eval/tasks/librispeech/cn_tn.py:465
Method
create_custom_forward
(module)
llava/model/multimodal_resampler/qformer.py:473
Method
create_extract_prompt
(self, demo_prompt, response)
lmms-eval/lmms_eval/tasks/mathverse/mathverse_evals.py:81
Method
create_match_prompt
(self, demo_prompt, question, answer, extraction)
lmms-eval/lmms_eval/tasks/mathverse/mathverse_evals.py:87
Function
create_model_from_pretrained
( model_name: str, pretrained: str, precision: str = "fp32", device: Union[str, torch.device]
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/factory.py:487
Function
create_output_paths
Create standardized output paths for results. Args: base_name: Base name for the result files output_dir: Directory to store the
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/src/evaluation/core/io_utils.py:64
Function
crop_image_search_results
(image_path, save_path)
lmms-eval/lmms_eval/tasks/mmsearch/utils/image_utils.py:145
Method
crop_size
(self)
llava/model/multimodal_encoder/eva_clip/eva_clip_processors.py:67
Function
crop_video
Crop a video to a specified duration. Args: video_path (str): Path to the video file. start_time (float): Start time in seco
lmms-eval/examples/mcp_server/crop_video_mcp_server.py:27
Function
csbench_assertion_doc_to_text
(doc: Dict, lmms_eval_specific_kwargs: Dict)
lmms-eval/lmms_eval/tasks/csbench/utils.py:21
Function
csbench_mcq_doc_to_text
(doc: Dict, lmms_eval_specific_kwargs: Dict)
lmms-eval/lmms_eval/tasks/csbench/utils.py:11
Function
csbench_process_results
(doc: Dict, result: List[str])
lmms-eval/lmms_eval/tasks/csbench/utils.py:83
Function
csv2triples_noheader
(csv, separator="\\t", delimiter="\\n")
lmms-eval/lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:643
Function
csv_eval
(predictions, references, easy, pred_type="json")
lmms-eval/lmms_eval/tasks/ocrbench_v2/TEDS_metric.py:576
Method
current_job_id
Get the ID of the currently running job.
lmms-eval/lmms_eval/entrypoints/job_scheduler.py:93
Method
custom_forward
(*inputs)
llava/model/multimodal_resampler/qformer.py:474
Function
cuva_BLEU
(results, args)
lmms-eval/lmms_eval/tasks/cuva/utils.py:202
Function
cuva_BLEURT
(results, args)
lmms-eval/lmms_eval/tasks/cuva/utils.py:210
Function
cuva_ROUGE
(results, args)
lmms-eval/lmms_eval/tasks/cuva/utils.py:206
Function
cuva_doc_to_answer
(doc)
lmms-eval/lmms_eval/tasks/cuva/utils.py:127
Function
cuva_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/cuva/utils.py:117
Function
cuva_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/cuva/utils.py:104
Function
cuva_process_results
(doc, result)
lmms-eval/lmms_eval/tasks/cuva/utils.py:133
Function
cv_bench_aggregate_results
(results: List[Dict])
lmms-eval/lmms_eval/tasks/cv_bench/utils.py:55
Function
cv_bench_default_aggregate_results
(results: List[Dict])
lmms-eval/lmms_eval/tasks/cv_bench/utils.py:67
Function
cv_bench_doc_to_text
(doc: dict[str, Any], lmms_eval_specific_kwargs: Optional[dict[str, Any]] = None)
lmms-eval/lmms_eval/tasks/cv_bench/utils.py:27
Function
cv_bench_doc_to_visual
(doc: dict)
lmms-eval/lmms_eval/tasks/cv_bench/utils.py:37
Function
cv_bench_process_results
(doc: Dict, result: List[str])
lmms-eval/lmms_eval/tasks/cv_bench/utils.py:41
Function
cvrr_aggregate_accuracy
(results, args)
lmms-eval/lmms_eval/tasks/cvrr/utils.py:228
Function
cvrr_aggregate_score
(results, args)
lmms-eval/lmms_eval/tasks/cvrr/utils.py:215
Function
cvrr_doc_to_answer
(doc)
lmms-eval/lmms_eval/tasks/cvrr/utils.py:95
Function
cvrr_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/cvrr/utils.py:79
Function
cvrr_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/cvrr/utils.py:38
Function
cvrr_process_results
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary
lmms-eval/lmms_eval/tasks/cvrr/utils.py:184
Function
d170_cn_aggregate_avg_score
(results)
lmms-eval/lmms_eval/tasks/internal_eval/d170_cn_utils.py:138
Function
d170_cn_aggregate_info
(results, args)
lmms-eval/lmms_eval/tasks/internal_eval/d170_cn_utils.py:131
Function
d170_cn_aggregate_score2_rate
(results)
lmms-eval/lmms_eval/tasks/internal_eval/d170_cn_utils.py:146
Function
d170_en_aggregate_avg_score
(results)
lmms-eval/lmms_eval/tasks/internal_eval/d170_en_utils.py:138
Function
d170_en_aggregate_info
(results, args)
lmms-eval/lmms_eval/tasks/internal_eval/d170_en_utils.py:131
Function
d170_en_aggregate_score2_rate
(results)
lmms-eval/lmms_eval/tasks/internal_eval/d170_en_utils.py:146
Function
dc100_en_aggregate_avg_score
(results)
lmms-eval/lmms_eval/tasks/internal_eval/dc100_en_utils.py:143
Function
dc100_en_aggregate_info
(results, args)
lmms-eval/lmms_eval/tasks/internal_eval/dc100_en_utils.py:136
Function
dc200_cn_aggregate_avg_score
(results)
lmms-eval/lmms_eval/tasks/internal_eval/dc200_cn_utils.py:149
Function
dc200_cn_aggregate_info
(results, args)
lmms-eval/lmms_eval/tasks/internal_eval/dc200_cn_utils.py:142
Function
decode_tokens
( tokens: Union[torch.LongTensor, TokensType], tokenizer: PreTrainedTokenizer, raw_text_len: int,
lmms-eval/lmms_eval/models/model_utils/qwen/qwen_generate_utils.py:237
Function
decorate
(cls)
lmms-eval/lmms_eval/api/registry.py:15
Method
default
(self, o)
lmms-eval/lmms_eval/utils.py:416
Function
default_evaluation_params
default_evaluation_params: Default parameters to use for the validation and evaluation.
lmms-eval/lmms_eval/tasks/ocrbench_v2/spotting_eval/script.py:27
Function
delete_cache
(key: str = "")
lmms-eval/lmms_eval/caching/cache.py:62
Function
delete_extra_zero
(n)
lmms-eval/lmms_eval/tasks/mathvision/eval_utils.py:198
Function
detailcaps_bleu1
(results, args=None)
lmms-eval/lmms_eval/tasks/detailcaps/utils.py:153
Function
detailcaps_bleu2
(results, args=None)
lmms-eval/lmms_eval/tasks/detailcaps/utils.py:149
Function
detailcaps_bleu3
(results, args=None)
lmms-eval/lmms_eval/tasks/detailcaps/utils.py:145
Function
detailcaps_bleu4
(results, args=None)
lmms-eval/lmms_eval/tasks/detailcaps/utils.py:141
Function
detailcaps_capture
(results, args=None)
lmms-eval/lmms_eval/tasks/detailcaps/utils.py:173
Function
detailcaps_cider
(results, args=None)
lmms-eval/lmms_eval/tasks/detailcaps/utils.py:165
Function
detailcaps_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/detailcaps/utils.py:26
Function
detailcaps_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/detailcaps/utils.py:22
Function
detailcaps_meteor
(results, args=None)
lmms-eval/lmms_eval/tasks/detailcaps/utils.py:157
Function
detailcaps_process_result
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary with key: metric name, value: metric
lmms-eval/lmms_eval/tasks/detailcaps/utils.py:40
Function
detailcaps_rougel
(results, args=None)
lmms-eval/lmms_eval/tasks/detailcaps/utils.py:161
Function
detailcaps_spice
(results, args=None)
lmms-eval/lmms_eval/tasks/detailcaps/utils.py:169
Function
detailcaps_test_aggregation_result
(results, args=None)
lmms-eval/lmms_eval/tasks/detailcaps/utils.py:188
Function
detailcaps_test_process_result
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary with key: metric name (in this case d
lmms-eval/lmms_eval/tasks/detailcaps/utils.py:177
Function
determine_answer_fields
Determine which fields contain the answers. Args: item: The evaluation item dictionary Returns: Tuple of (cogmap_field, plai
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/parse_output.py:33
Method
device
(self)
llava/model/multimodal_encoder/imagebind.py:68
Method
device
(self)
llava/model/multimodal_encoder/mlcd_encoder.py:95
Method
device
(self)
llava/model/multimodal_encoder/siglip_encoder.py:601
Method
device
(self)
llava/model/multimodal_encoder/open_clip_encoder.py:131
Method
device
(self)
llava/model/multimodal_encoder/clip_encoder.py:90
Method
device
(self)
llava/model/multimodal_encoder/eva_clip/eva_clip_encoder.py:57
Method
device
(self)
lmms-eval/lmms_eval/models/whisper_tt.py:99
Method
device
(self)
lmms-eval/lmms_eval/models/simple/whisper_vllm.py:61
Method
dict
(self)
llava/conversation.py:293
Function
disable_torch_init
Disable the redundant torch default initialization to accelerate model creation.
llava/utils.py:163
Function
disabled_train
Overwrite model.train with this function to make sure train/eval mode does not change anymore.
llava/model/multimodal_resampler/qformer.py:51
Function
div_based_token_selection
Select visual tokens based on diversity. Args: features (torch.Tensor): Visual features, of shape (bsz, num_visual_tokens, feat_dim)
flashvid/token_selection.py:154
Function
divide
Divide the elements from *iterable* into *n* parts, maintaining order. >>> group_1, group_2 = divide(2, [1, 2, 3, 4, 5, 6]) >>> l
lmms-eval/lmms_eval/utils.py:980
Function
doc_to_audio
(doc)
lmms-eval/lmms_eval/tasks/mmau/utils.py:11
Function
doc_to_audio
(doc)
lmms-eval/lmms_eval/tasks/openhermes/utils.py:11
Function
doc_to_audio
(doc)
lmms-eval/lmms_eval/tasks/alpaca_audio/utils.py:11
Function
doc_to_audio
Extract audio path from document
lmms-eval/lmms_eval/tasks/step2_audio_paralinguistic/utils.py:127
Function
doc_to_audio
(doc)
lmms-eval/lmms_eval/tasks/vocalsound/utils.py:6
Function
doc_to_choice
(doc)
lmms-eval/lmms_eval/tasks/vocalsound/utils.py:19
Method
doc_to_decontamination_query
(self, doc)
lmms-eval/lmms_eval/api/task.py:369
Method
doc_to_decontamination_query
(self, doc)
lmms-eval/lmms_eval/api/task.py:1274
Function
doc_to_messages
System-only instruction + user contains video only.
lmms-eval/lmms_eval/tasks/videomme/video_only_abcd/utils.py:17
Function
doc_to_messages
(doc: dict)
lmms-eval/lmms_eval/tasks/gpqa/reasoning/utils.py:55
Function
doc_to_messages
(sample: Dict[str, Any], lmms_kwargs: Dict[str, Any] = None)
lmms-eval/lmms_eval/tasks/mme_sci_image/utils.py:68
← previous
next →
3,501–3,600 of 6,334, ranked by callers