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
forward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values: Optional[Tuple[
llava/model/language_model/llava_mpt.py:68
Method
forward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
llava/model/language_model/llava_mixtral.py:57
Method
forward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
llava/model/language_model/llava_mistral.py:62
Method
forward
(self, x, *args, **kwargs)
llava/model/multimodal_projector/builder.py:12
Method
forward
(self, x)
llava/model/multimodal_projector/builder.py:27
Method
forward
(self, x, *args, **kwargs)
llava/model/multimodal_projector/pooler_projector.py:22
Method
forward
(self, x)
llava/model/multimodal_encoder/imagebind.py:42
Method
forward
(self, images)
llava/model/multimodal_encoder/mlcd_encoder.py:73
Method
forward
(self, images)
llava/model/multimodal_encoder/mlcd_encoder.py:166
Method
forward
(self, pixel_values: torch.FloatTensor)
llava/model/multimodal_encoder/siglip_encoder.py:169
Method
forward
Input shape: Batch x Time x Channel
llava/model/multimodal_encoder/siglip_encoder.py:197
Method
forward
(self, hidden_states: torch.Tensor)
llava/model/multimodal_encoder/siglip_encoder.py:251
Method
forward
Args: hidden_states (`torch.FloatTensor`): Input to the layer of shape `(batch, seq_len, embed_dim)`.
llava/model/multimodal_encoder/siglip_encoder.py:269
Method
forward
r""" Args: inputs_embeds (`torch.FloatTensor` of shape `(batch_size, sequence_length, hidden_size)`): Optionally,
llava/model/multimodal_encoder/siglip_encoder.py:340
Method
forward
r""" Returns:
llava/model/multimodal_encoder/siglip_encoder.py:419
Method
forward
(self, hidden_state)
llava/model/multimodal_encoder/siglip_encoder.py:470
Method
forward
r""" Returns: Examples: ```python >>> from PIL import Image >>> import requests >>> from transformer
llava/model/multimodal_encoder/siglip_encoder.py:499
Method
forward
(self, images)
llava/model/multimodal_encoder/siglip_encoder.py:576
Method
forward
(self, images)
llava/model/multimodal_encoder/open_clip_encoder.py:105
Method
forward
(self, images)
llava/model/multimodal_encoder/clip_encoder.py:68
Method
forward
(self, images)
llava/model/multimodal_encoder/clip_encoder.py:160
Method
forward
(self, images)
llava/model/multimodal_encoder/hf_vision.py:63
Method
forward
(self, images)
llava/model/multimodal_encoder/dev_eva_clip/eva_vit.py:106
Method
forward
(self, image_features, text_features, logit_scale=1.0)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/loss.py:88
Method
forward
(self, t, start_index=0)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/rope.py:73
Method
forward
(self, t, patch_indices_keep=None)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/rope.py:115
Method
forward
(ctx, tensor, rank, world_size)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/utils.py:309
Method
forward
(self, x: torch.Tensor)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/modified_resnet.py:38
Method
forward
(self, x)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/modified_resnet.py:64
Method
forward
(self, x)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/modified_resnet.py:171
Method
forward
(self, img)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transform.py:23
Method
forward
(self, x)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/timm_model.py:111
Method
forward
(self, x: BaseModelOutput, attention_mask: TensorType)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/hf_model.py:49
Method
forward
(self, x: BaseModelOutput, attention_mask: TensorType)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/hf_model.py:58
Method
forward
(self, x: BaseModelOutput, attention_mask: TensorType)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/hf_model.py:72
Method
forward
(self, x: TensorType)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/hf_model.py:207
Method
forward
(self, x: torch.Tensor)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:43
Method
forward
(self, x: torch.Tensor)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:57
Method
forward
(self, x: torch.Tensor)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:65
Method
forward
(self, x)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:75
Method
forward
(self, x)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:91
Method
forward
(self, x, attn_mask: Optional[torch.Tensor] = None)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:188
Method
forward
(self, query: torch.Tensor, key: torch.Tensor, value: torch.Tensor, attn_mask: Optional[torch.Tensor] = None)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:271
Method
forward
(self, q: torch.Tensor, k: torch.Tensor, v: torch.Tensor, attn_mask: Optional[torch.Tensor] = None)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:352
Method
forward
(self, q: torch.Tensor, k: torch.Tensor = None, v: torch.Tensor = None, attn_mask: Optional[torch.Tensor] = No
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:404
Method
forward
(self, x: torch.Tensor, attn_mask: Optional[torch.Tensor] = None)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:448
Method
forward
(self, x: torch.Tensor, attn_mask: Optional[torch.Tensor] = None)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:476
Method
forward
(self, x: torch.Tensor, return_all_features: bool = False)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:567
Method
forward
(self, text, return_all_features: bool = False)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:668
Method
forward
(self, x)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/eva_vit_model.py:40
Method
forward
(self, x)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/eva_vit_model.py:69
Method
forward
(self, x)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/eva_vit_model.py:96
Method
forward
(self, x, rel_pos_bias=None, attn_mask=None)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/eva_vit_model.py:169
Method
forward
(self, x, rel_pos_bias=None, attn_mask=None)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/eva_vit_model.py:292
Method
forward
(self, x, **kwargs)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/eva_vit_model.py:325
Method
forward
(self)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/eva_vit_model.py:360
Method
forward
(self, x, return_all_features=False)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/eva_vit_model.py:566
Method
forward
(self, hidden_states)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/model.py:51
Method
forward
(self, image, text)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/model.py:275
Method
forward
(self, image, text)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/model.py:320
Method
forward
(self, seqlen: int)
llava/model/multimodal_encoder/mlcd/vit_rope2d_hf.py:37
Method
forward
(self, pixel_values: torch.FloatTensor)
llava/model/multimodal_encoder/mlcd/vit_rope2d_hf.py:78
Method
forward
Input shape: Batch x Seq x Hidden Size
llava/model/multimodal_encoder/mlcd/vit_rope2d_hf.py:119
Method
forward
Args: hidden_states (`torch.FloatTensor`): input to the layer of shape `(batch, seq_len, embed_dim)` attention_mask (
llava/model/multimodal_encoder/mlcd/vit_rope2d_hf.py:155
Method
forward
r""" Args: inputs_embeds (`torch.FloatTensor` of shape `(batch_size, sequence_length, hidden_size)`): Optionally,
llava/model/multimodal_encoder/mlcd/vit_rope2d_hf.py:203
Method
forward
r""" Returns:
llava/model/multimodal_encoder/mlcd/vit_rope2d_hf.py:310
Method
forward
r""" Returns: Examples: ```python >>> from PIL import Image >>> import requests >>> from transformer
llava/model/multimodal_encoder/mlcd/vit_rope2d_hf.py:416
Method
forward
(self, images)
llava/model/multimodal_encoder/eva_clip/eva_clip_encoder.py:41
Method
forward
(self, t, patch_indices_keep=None)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:69
Method
forward
(self, x: torch.Tensor)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:91
Method
forward
(self, x)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:109
Method
forward
(self, x)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:176
Method
forward
(self, x)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:232
Method
forward
(self, x, rel_pos_bias=None, attn_mask=None)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:305
Method
forward
(self, x, rel_pos_bias=None, attn_mask=None)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:428
Method
forward
(self, x, **kwargs)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:461
Method
forward
(self)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:496
Method
forward
(self, x, return_all_features=False)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:706
Method
forward
(self, image, **kwargs)
llava/model/multimodal_encoder/eva_clip/eva_vit.py:846
Method
forward_feature
(self, images)
llava/model/multimodal_encoder/mlcd_encoder.py:161
Method
forward_feature
(self, images)
llava/model/multimodal_encoder/clip_encoder.py:155
Method
forward_mlm
(self, input_ids, image_embeds, mlm_probability=0.25)
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/hf_model.py:172
Method
forward_openclip
(self, x: torch.Tensor)
llava/model/multimodal_encoder/open_clip_encoder.py:80
Method
from_string
Initialize the aggregation type from a string.
lmms-eval/lmms_eval/tasks/megabench/metrics/aggregation_type.py:33
Method
from_string
Initialize the response parsing type from a string.
lmms-eval/lmms_eval/tasks/megabench/metrics/response_parse_type.py:48
Function
funqa_BLEU
(results, args)
lmms-eval/lmms_eval/tasks/funqa/utils.py:356
Function
funqa_BLEURT
(results, args)
lmms-eval/lmms_eval/tasks/funqa/utils.py:364
Function
funqa_GPT_eval
(results, args)
lmms-eval/lmms_eval/tasks/funqa/utils.py:331
Function
funqa_ROUGE
(results, args)
lmms-eval/lmms_eval/tasks/funqa/utils.py:360
Function
funqa_aggregate
(results, args)
lmms-eval/lmms_eval/tasks/funqa/utils.py:351
Function
funqa_doc_to_answer
(doc)
lmms-eval/lmms_eval/tasks/funqa/utils.py:241
Function
funqa_doc_to_text
(doc, lmms_eval_specific_kwargs=None)
lmms-eval/lmms_eval/tasks/funqa/utils.py:236
Function
funqa_doc_to_visual
(doc)
lmms-eval/lmms_eval/tasks/funqa/utils.py:223
Function
funqa_process_results
(doc, result)
lmms-eval/lmms_eval/tasks/funqa/utils.py:247
Function
fuzzy_matching
(pred)
lmms-eval/lmms_eval/tasks/sparbench/utils.py:122
Function
gedit_bench_aggregate_cn_fullset_overall
Aggregate Chinese fullset overall scores
lmms-eval/lmms_eval/tasks/gedit_bench/utils.py:361
Function
gedit_bench_aggregate_cn_fullset_quality
Aggregate Chinese fullset quality scores
lmms-eval/lmms_eval/tasks/gedit_bench/utils.py:356
Function
gedit_bench_aggregate_cn_fullset_semantics
Aggregate Chinese fullset semantics scores
lmms-eval/lmms_eval/tasks/gedit_bench/utils.py:351
Function
gedit_bench_aggregate_cn_intersection_overall
Aggregate Chinese intersection overall scores
lmms-eval/lmms_eval/tasks/gedit_bench/utils.py:381
Function
gedit_bench_aggregate_cn_intersection_quality
Aggregate Chinese intersection quality scores
lmms-eval/lmms_eval/tasks/gedit_bench/utils.py:376
← previous
next →
3,901–4,000 of 6,334, ranked by callers