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
_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
Function
a_bench_aggregate_results
(results)
lmms-eval/lmms_eval/tasks/qbench/utils.py:224
Function
a_bench_process_results
(doc, results)
lmms-eval/lmms_eval/tasks/qbench/utils.py:202
Function
acc_all
(items)
lmms-eval/lmms_eval/api/metrics.py:409
Function
acc_all_stderr
(items)
lmms-eval/lmms_eval/api/metrics.py:428
Function
acc_fn
(items)
lmms-eval/lmms_eval/api/metrics.py:146
Function
acc_mutual_info_fn
(items)
lmms-eval/lmms_eval/api/metrics.py:166
Function
acc_norm_fn
(items)
lmms-eval/lmms_eval/api/metrics.py:156
Function
accuracy_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
Function
activitynetqa_aggregate_accuracy
(results, args)
lmms-eval/lmms_eval/tasks/activitynetqa/utils.py:260
Function
activitynetqa_aggregate_score
(results, args)
lmms-eval/lmms_eval/tasks/activitynetqa/utils.py:238
Function
activitynetqa_doc_to_answer
(doc)
lmms-eval/lmms_eval/tasks/activitynetqa/utils.py:81
Function
activitynetqa_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/activitynetqa/utils.py:55
Function
activitynetqa_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/activitynetqa/utils.py:44
Function
activitynetqa_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
Function
activitynetqa_process_results
Args: doc: a instance of the eval dataset results: [pred] Returns: a dictionary
lmms-eval/lmms_eval/tasks/activitynetqa/utils.py:174
Function
add_env_info
(storage: Dict[str, Any])
lmms-eval/lmms_eval/loggers/utils.py:97
Function
add_model_config
add model config path or file and update registry
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/factory.py:62
Function
add_model_config
add model config path or file and update registry
llava/model/multimodal_encoder/eva_clip/factory.py:48
Function
add_tokenizer_info
(storage: Dict[str, Any], lm)
lmms-eval/lmms_eval/loggers/utils.py:112
Function
aff_mask_metric
计算aff_mask_metric
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/rule_metrics.py:516
Function
agenticnaveval
(response, answer, extra_info)
lmms-eval/lmms_eval/tasks/spatialtreebench/metrics/rule_metrics.py:1017
Function
agg_inst_level_acc
(items)
lmms-eval/lmms_eval/tasks/ifeval/utils.py:136
Method
aggregate
Exact match between targets and responses.
lmms-eval/lmms_eval/tasks/megabench/metrics/aggregation/min_agg.py:9
Method
aggregate
(scores: Dict[str, Number], weights: Dict[str, Number])
lmms-eval/lmms_eval/tasks/megabench/metrics/aggregation/unsupported_agg.py:7
Method
aggregate
Exact match between targets and responses.
lmms-eval/lmms_eval/tasks/megabench/metrics/aggregation/mean_agg.py:11
Function
aggregate_accuracy
(results, args)
lmms-eval/lmms_eval/tasks/video-tt/gpt_utils.py:176
Function
aggregate_per_category_f1
(results)
lmms-eval/lmms_eval/tasks/salbench/utils.py:127
Function
aggregate_per_category_precision
(results)
lmms-eval/lmms_eval/tasks/salbench/utils.py:117
Function
aggregate_per_category_recall
(results)
lmms-eval/lmms_eval/tasks/salbench/utils.py:122
← previous
next →
2,901–3,000 of 6,334, ranked by callers