MCPcopy Create free account

hub / github.com/BAAI-DCAI/SpatialBot / functions

Functions594 in github.com/BAAI-DCAI/SpatialBot

Functionflag_last_response
(state, model_selector, request: gr.Request)
bunny/serve/gradio_web_server.py:106
Functionforward
(model, input, scales=None, img_sizes=None, max_split_size=None, resize_output_to_idx=0, num_prefix_token=0,
bunny/util/s2wrapper/core.py:14
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch
bunny/model/language_model/bunny_qwen2.py:40
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch
bunny/model/language_model/bunny_phi3.py:40
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch
bunny/model/language_model/bunny_llama.py:40
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch
bunny/model/language_model/bunny_phi.py:40
Methodforward
(self, hidden_states)
bunny/model/language_model/qwen2/modeling_qwen2.py:90
Methodforward
(self, x, seq_len=None)
bunny/model/language_model/qwen2/modeling_qwen2.py:124
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
bunny/model/language_model/qwen2/modeling_qwen2.py:244
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
bunny/model/language_model/qwen2/modeling_qwen2.py:344
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
bunny/model/language_model/qwen2/modeling_qwen2.py:637
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
bunny/model/language_model/qwen2/modeling_qwen2.py:739
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
bunny/model/language_model/qwen2/modeling_qwen2.py:948
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
bunny/model/language_model/qwen2/modeling_qwen2.py:1127
Methodforward
r""" labels (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Labels for computing the sequence classification/regression
bunny/model/language_model/qwen2/modeling_qwen2.py:1315
Methodforward
(self, x, seq_len=None)
bunny/model/language_model/phi/modeling_phi.py:107
Methodforward
(self, hidden_states: torch.Tensor)
bunny/model/language_model/phi/modeling_phi.py:211
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
bunny/model/language_model/phi/modeling_phi.py:305
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.LongTensor] = None
bunny/model/language_model/phi/modeling_phi.py:419
Methodforward
Args: hidden_states (`torch.FloatTensor`): input to the layer of shape `(batch, seq_len, embed_dim)`
bunny/model/language_model/phi/modeling_phi.py:634
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
bunny/model/language_model/phi/modeling_phi.py:837
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
bunny/model/language_model/phi/modeling_phi.py:1000
Methodforward
r""" labels (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Labels for computing the sequence classification/regression
bunny/model/language_model/phi/modeling_phi.py:1195
Methodforward
r""" labels (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Labels for computing the sequence classification/regression
bunny/model/language_model/phi/modeling_phi.py:1318
Methodforward
(self, hidden_states)
bunny/model/language_model/llama/modeling_llama.py:361
Methodforward
(self, x, position_ids)
bunny/model/language_model/llama/modeling_llama.py:408
Methodforward
(self, x, position_ids)
bunny/model/language_model/llama/modeling_llama.py:427
Methodforward
(self, x, position_ids)
bunny/model/language_model/llama/modeling_llama.py:437
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
bunny/model/language_model/llama/modeling_llama.py:596
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.LongTensor] = None
bunny/model/language_model/llama/modeling_llama.py:696
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
bunny/model/language_model/llama/modeling_llama.py:884
Methodforward
Args: hidden_states (`torch.FloatTensor`): input to the layer of shape `(batch, seq_len, embed_dim)` attention_mask (
bunny/model/language_model/llama/modeling_llama.py:982
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
bunny/model/language_model/llama/modeling_llama.py:1218
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
bunny/model/language_model/llama/modeling_llama.py:1438
Methodforward
r""" labels (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Labels for computing the sequence classification/regression
bunny/model/language_model/llama/modeling_llama.py:1657
Methodforward
r""" start_positions (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Labels for position (index) of the start of the la
bunny/model/language_model/llama/modeling_llama.py:1774
Methodforward
(self, hidden_states)
bunny/model/language_model/phi3/modeling_phi3.py:79
Methodforward
(self, x, position_ids, seq_len=None)
bunny/model/language_model/phi3/modeling_phi3.py:111
Methodforward
(self, x, position_ids, seq_len=None)
bunny/model/language_model/phi3/modeling_phi3.py:140
Methodforward
(self, x, position_ids, seq_len=None)
bunny/model/language_model/phi3/modeling_phi3.py:181
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
bunny/model/language_model/phi3/modeling_phi3.py:334
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.LongTensor] = None
bunny/model/language_model/phi3/modeling_phi3.py:432
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
bunny/model/language_model/phi3/modeling_phi3.py:735
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
bunny/model/language_model/phi3/modeling_phi3.py:837
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
bunny/model/language_model/phi3/modeling_phi3.py:1052
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
bunny/model/language_model/phi3/modeling_phi3.py:1229
Methodforward
r""" labels (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Labels for computing the sequence classification/regression
bunny/model/language_model/phi3/modeling_phi3.py:1419
Methodforward
r""" labels (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Labels for computing the sequence classification/regression
bunny/model/language_model/phi3/modeling_phi3.py:1542
Methodforward
(self, x, *args, **kwargs)
bunny/model/multimodal_projector/builder.py:14
Methodforward
(self, x)
bunny/model/multimodal_projector/builder.py:28
Methodforward
(self, x)
bunny/model/multimodal_projector/builder.py:44
Methodforward
(self, x)
bunny/model/multimodal_projector/builder.py:74
Methodforward
(self, x)
bunny/model/multimodal_projector/builder.py:90
Methodforward
(self, x)
bunny/model/multimodal_projector/builder.py:110
Methodforward
(self, images)
bunny/model/multimodal_encoder/clip/clip_encoder.py:36
Methodforward
(self, pixel_values: torch.FloatTensor)
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:172
Methodforward
Input shape: Batch x Time x Channel
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:203
Methodforward
(self, hidden_states: torch.Tensor)
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:265
Methodforward
Args: hidden_states (`torch.FloatTensor`): Input to the layer of shape `(batch, seq_len, embed_dim)`.
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:283
Methodforward
r""" Args: inputs_embeds (`torch.FloatTensor` of shape `(batch_size, sequence_length, hidden_size)`): Optionally,
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:354
Methodforward
r""" Returns:
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:437
Methodforward
(self, hidden_state)
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:490
Methodforward
r""" Returns: Examples: ```python >>> from PIL import Image >>> import requests >>> from transformer
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:519
Methodforward
(self, images)
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:589
Methodforward
(self, images)
bunny/model/multimodal_encoder/eva_clip/eva_clip_encoder.py:30
Methodforward
(self, t, patch_indices_keep=None)
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:79
Methodforward
(self, x: torch.Tensor)
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:101
Methodforward
(self, x)
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:119
Methodforward
(self, x)
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:184
Methodforward
(self, x)
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:214
Methodforward
(self, x)
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:242
Methodforward
(self, x, rel_pos_bias=None, attn_mask=None)
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:320
Methodforward
(self, x, rel_pos_bias=None, attn_mask=None)
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:434
Methodforward
(self, x, **kwargs)
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:470
Methodforward
(self)
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:508
Methodforward
(self, x, return_all_features=False)
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:679
Methodforward
(self, image, **kwargs)
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:841
Functiongenerate_stream
(request: Request)
bunny/serve/model_worker.py:230
Methodget_cast_dtype
(self)
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:605
Methodget_classifier
(self)
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:633
Methodget_decoder
(self)
bunny/model/language_model/qwen2/modeling_qwen2.py:1122
Methodget_decoder
(self)
bunny/model/language_model/phi/modeling_phi.py:995
Methodget_decoder
(self)
bunny/model/language_model/llama/modeling_llama.py:1433
Methodget_decoder
(self)
bunny/model/language_model/phi3/modeling_phi3.py:1223
Methodget_input_embeddings
(self)
bunny/model/language_model/qwen2/modeling_qwen2.py:941
Methodget_input_embeddings
(self)
bunny/model/language_model/qwen2/modeling_qwen2.py:1107
Methodget_input_embeddings
(self)
bunny/model/language_model/qwen2/modeling_qwen2.py:1308
Methodget_input_embeddings
(self)
bunny/model/language_model/phi/modeling_phi.py:975
Methodget_input_embeddings
(self)
bunny/model/language_model/phi/modeling_phi.py:1188
Methodget_input_embeddings
(self)
bunny/model/language_model/llama/modeling_llama.py:1211
Methodget_input_embeddings
(self)
bunny/model/language_model/llama/modeling_llama.py:1418
Methodget_input_embeddings
(self)
bunny/model/language_model/llama/modeling_llama.py:1650
Methodget_input_embeddings
(self)
bunny/model/language_model/llama/modeling_llama.py:1767
Methodget_input_embeddings
(self)
bunny/model/language_model/phi3/modeling_phi3.py:1045
Methodget_input_embeddings
(self)
bunny/model/language_model/phi3/modeling_phi3.py:1203
Methodget_input_embeddings
(self)
bunny/model/language_model/phi3/modeling_phi3.py:1412
Methodget_input_embeddings
(self)
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:516
Methodget_model
(self)
bunny/model/language_model/bunny_qwen2.py:37
Methodget_model
(self)
bunny/model/language_model/bunny_phi3.py:37
Methodget_model
(self)
bunny/model/language_model/bunny_llama.py:37
← previousnext →401–500 of 594, ranked by callers