MCPcopy Create free account

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

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

Method_download_from_youtube
(path)
lmms-eval/lmms_eval/api/task.py:877
Method_encode_image
Encode image to base64 - reuse from base implementation
lmms-eval/lmms_eval/llm_judge/providers/async_azure_openai.py:108
Method_encode_image
Encode image to base64 - reuse from base implementation
lmms-eval/lmms_eval/llm_judge/providers/async_openai.py:103
Method_ensure_list
(v)
lmms-eval/lmms_eval/models/simple/qwen2_vl.py:190
Method_flatten
(value, key="")
lmms-eval/lmms_eval/tasks/synthdog/donut_evaluator.py:40
Method_generate_examples
(self, annotation, images, test_annotation)
lmms-eval/lmms_eval/tasks/ai2d/upload_ai2d.py:84
Method_generate_examples
(self, human_annotation, augmented_annotation, images)
lmms-eval/lmms_eval/tasks/chartqa/upload_chartqa.py:104
Method_get_group_and_subtask_from_config
(config)
lmms-eval/lmms_eval/tasks/__init__.py:271
Method_handle_image
(self, image: str, encoding: str = "base64", format: str = "png", fovea: int = 768)
lmms-eval/lmms_eval/tasks/gpqa/openai/utils.py:114
Method_handle_image
(self, image: str, encoding: str = "base64", format: str = "png", fovea: int = 768)
lmms-eval/lmms_eval/tasks/aime/utils.py:156
Method_handle_image
(self, image: str, encoding: str = "base64", format: str = "png", fovea: int = 768)
lmms-eval/lmms_eval/tasks/openai_math/utils.py:153
Function_handle_non_serializable
(o)
lmms-eval/lmms_eval/__main__.py:102
Function_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/logging_utils.py:39
Method_handle_text
(self, text: str)
lmms-eval/lmms_eval/tasks/gpqa/openai/utils.py:123
Method_handle_text
(self, text: str)
lmms-eval/lmms_eval/tasks/aime/utils.py:165
Method_handle_text
(self, text: str)
lmms-eval/lmms_eval/tasks/openai_math/utils.py:162
Method_info
(self)
lmms-eval/lmms_eval/tasks/ai2d/upload_ai2d.py:51
Method_info
(self)
lmms-eval/lmms_eval/tasks/chartqa/upload_chartqa.py:68
Method_init_weights
Initialize the weights
llava/model/multimodal_resampler/qformer.py:602
Method_init_weights
(self, module)
llava/model/language_model/modeling_llama.py:945
Method_init_weights
Initialize the weights
llava/model/multimodal_encoder/siglip_encoder.py:318
Method_init_weights
(self, m)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/eva_vit_model.py:497
Method_init_weights
Initialize the weights
llava/model/multimodal_encoder/mlcd/vit_rope2d_hf.py:372
Method_init_weights
(self, m)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:633
Function_initialize_similarity_accumulators
Initialize similarity metric accumulators.
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/result_init.py:89
Function_int_or_none_list_arg_type
(min_len: int, max_len: int, defaults: str, value: str, split_char: str = ",")
lmms-eval/lmms_eval/__main__.py:64
Method_judger
(x)
lmms-eval/lmms_eval/tasks/_task_utils/math_verify_utils.py:155
Method_llm_post
(module, inp, out)
playground/bench_efficiency.py:297
Method_llm_pre
(module, inp)
playground/bench_efficiency.py:291
Method_load_task
(config, task)
lmms-eval/lmms_eval/tasks/__init__.py:246
Function_perform_merge
Perform the actual FSDP2 checkpoint merge. This function runs in a thread pool to avoid blocking the async event loop. It dynamically im
lmms-eval/lmms_eval/entrypoints/http_server.py:221
Function_pred_denominator
(pred: set, _: set)
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/common/metrics.py:57
Method_prepare_single_message
Helper method to prepare a single message for batching. This can be parallelized using ThreadPoolExecutor.
lmms-eval/lmms_eval/models/chat/sglang.py:211
Function_preserve_necessary_cogmap_fields
Preserve necessary fields in the results dictionary.
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/result_init.py:268
Method_process
(req, idx)
lmms-eval/lmms_eval/models/chat/async_openai.py:245
Method_process
(request)
lmms-eval/lmms_eval/models/simple/srt_api.py:302
Method_process_alias
(self, config, group=None)
lmms-eval/lmms_eval/tasks/__init__.py:221
Function_process_doc
(doc)
lmms-eval/lmms_eval/tasks/gpqa/cot_zeroshot/utils.py:18
Function_process_doc
(doc)
lmms-eval/lmms_eval/tasks/gpqa/n_shot/utils.py:21
Function_process_doc
(doc)
lmms-eval/lmms_eval/tasks/gpqa/zeroshot/utils.py:18
Function_process_doc
(doc)
lmms-eval/lmms_eval/tasks/gpqa/openai/utils.py:227
Function_process_doc
(doc)
lmms-eval/lmms_eval/tasks/gpqa/generative/utils.py:18
Function_process_doc
(doc)
lmms-eval/lmms_eval/tasks/gpqa/cot_n_shot/utils.py:18
Function_process_doc
(doc)
lmms-eval/lmms_eval/tasks/gpqa/reasoning/utils.py:31
Function_process_doc
(doc)
lmms-eval/lmms_eval/tasks/hellaswag/utils.py:16
Function_process_doc
(doc)
lmms-eval/lmms_eval/tasks/gqa/utils.py:12
Function_process_doc
(doc: dict)
lmms-eval/lmms_eval/tasks/aime/utils.py:204
Function_process_doc
(doc: dict)
lmms-eval/lmms_eval/tasks/aime/reasoning/utils.py:28
Function_process_doc
(doc: dict)
lmms-eval/lmms_eval/tasks/openai_math/utils.py:201
Method_process_doc
Override this to process (detokenize, strip, replace, etc.) individual documents. This can be used in a map over documents of a data
lmms-eval/lmms_eval/api/task.py:345
Method_process_doc
Override this to process (detokenize, strip, replace, etc.) individual documents. This can be used in a map over documents of a data
lmms-eval/lmms_eval/api/task.py:1287
Method_process_group_config
(config, update_config=None)
lmms-eval/lmms_eval/tasks/__init__.py:281
Function_process_row
(example, indice)
lmms-eval/lmms_eval/tasks/charxiv/utils.py:42
Function_process_row
(example, indice)
lmms-eval/lmms_eval/tasks/charxiv/reasoning/utils.py:61
Method_prune_heads
Prunes heads of the model. heads_to_prune: dict of {layer_num: list of heads to prune in this layer} See base class PreTrainedModel
llava/model/multimodal_resampler/qformer.py:643
Method_reorder_cache
(self, past, beam_idx)
llava/model/multimodal_resampler/qformer.py:1013
Method_reorder_cache
(past_key_values, beam_idx)
llava/model/language_model/modeling_llama.py:1423
Method_reset_cache
(self)
llava/model/language_model/modeling_llama.py:972
Method_set_gradient_checkpointing
(self, module, value=False)
llava/model/language_model/llava_mpt.py:64
Method_setup_cache
(self, cache_cls, max_batch_size, max_cache_len: Optional[int] = None)
llava/model/language_model/modeling_llama.py:956
Method_split_generators
(self, dl_manager)
lmms-eval/lmms_eval/tasks/ai2d/upload_ai2d.py:66
Method_split_generators
(self, dl_manager)
lmms-eval/lmms_eval/tasks/chartqa/upload_chartqa.py:83
Method_stream_logs
Background thread to stream server logs.
lmms-eval/test/eval/utils.py:130
Function_tget_denominator
(_: set, tget: set)
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/common/metrics.py:61
Method_timed_compression
(*args, **kwargs)
playground/bench_efficiency.py:318
Function_union_denominator
(pred: set, tget: set)
lmms-eval/lmms_eval/tasks/megabench/metrics/scoring/common/metrics.py:53
Method_unlock
(x)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:543
Function_update_similarity_metrics
Update similarity metrics in results structure.
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/mindcube_cogmap/result_init.py:104
Method_vision_post
(module, inp, out)
playground/bench_efficiency.py:284
Method_vision_pre
(module, inp)
playground/bench_efficiency.py:278
Function_wrapper
(*args, **kwargs)
lmms-eval/lmms_eval/utils.py:688
Functiona_bench_aggregate_results
(results)
lmms-eval/lmms_eval/tasks/qbench/utils.py:224
Functiona_bench_process_results
(doc, results)
lmms-eval/lmms_eval/tasks/qbench/utils.py:202
Functionacc_all
(items)
lmms-eval/lmms_eval/api/metrics.py:409
Functionacc_all_stderr
(items)
lmms-eval/lmms_eval/api/metrics.py:428
Functionacc_fn
(items)
lmms-eval/lmms_eval/api/metrics.py:146
Functionacc_mutual_info_fn
(items)
lmms-eval/lmms_eval/api/metrics.py:166
Functionacc_norm_fn
(items)
lmms-eval/lmms_eval/api/metrics.py:156
Functionaccuracy_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/gpt_utils.py:197
Functionactivitynetqa_aggregate_accuracy
(results, args)
lmms-eval/lmms_eval/tasks/activitynetqa/utils.py:260
Functionactivitynetqa_aggregate_score
(results, args)
lmms-eval/lmms_eval/tasks/activitynetqa/utils.py:238
Functionactivitynetqa_doc_to_answer
(doc)
lmms-eval/lmms_eval/tasks/activitynetqa/utils.py:81
Functionactivitynetqa_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/activitynetqa/utils.py:55
Functionactivitynetqa_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/activitynetqa/utils.py:44
Functionactivitynetqa_gpt_eval
Process the result file containing predictions, score them using GPT, and save the results with added scores and correctness fields to a new
lmms-eval/lmms_eval/tasks/activitynetqa/utils.py:202
Functionactivitynetqa_process_results
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary
lmms-eval/lmms_eval/tasks/activitynetqa/utils.py:174
Functionadd_env_info
(storage: Dict[str, Any])
lmms-eval/lmms_eval/loggers/utils.py:97
Functionadd_model_config
add model config path or file and update registry
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/factory.py:62
Functionadd_model_config
add model config path or file and update registry
llava/model/multimodal_encoder/eva_clip/factory.py:48
Functionadd_tokenizer_info
(storage: Dict[str, Any], lm)
lmms-eval/lmms_eval/loggers/utils.py:112
Functionaff_mask_metric
计算aff_mask_metric
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/rule_metrics.py:516
Functionagenticnaveval
(response, answer, extra_info)
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/rule_metrics.py:1017
Functionagg_inst_level_acc
(items)
lmms-eval/lmms_eval/tasks/ifeval/utils.py:136
Methodaggregate
Exact match between targets and responses.
lmms-eval/lmms_eval/tasks/megabench/metrics/aggregation/min_agg.py:9
Methodaggregate
(scores: Dict[str, Number], weights: Dict[str, Number])
lmms-eval/lmms_eval/tasks/megabench/metrics/aggregation/unsupported_agg.py:7
Methodaggregate
Exact match between targets and responses.
lmms-eval/lmms_eval/tasks/megabench/metrics/aggregation/mean_agg.py:11
Functionaggregate_accuracy
(results, args)
lmms-eval/lmms_eval/tasks/video-tt/gpt_utils.py:176
Functionaggregate_per_category_f1
(results)
lmms-eval/lmms_eval/tasks/salbench/utils.py:127
Functionaggregate_per_category_precision
(results)
lmms-eval/lmms_eval/tasks/salbench/utils.py:117
Functionaggregate_per_category_recall
(results)
lmms-eval/lmms_eval/tasks/salbench/utils.py:122
← previousnext →2,901–3,000 of 6,334, ranked by callers