MCPcopy Create free account

hub / github.com/ATH-MaaS/Ovis / functions

Functions123 in github.com/ATH-MaaS/Ovis

Methodforward
(self, seqlen: int)
ovis/model/vit/modeling_siglip2_navit.py:53
Methodforward
Args: pixel_values (`torch.FloatTensor`): Pixel values of shape (num_patches, num_channels * temporal_patch_size
ovis/model/vit/modeling_siglip2_navit.py:154
Methodforward
Input shape: Batch x Time x Channel
ovis/model/vit/modeling_siglip2_navit.py:258
Methodforward
(self, hidden_states: torch.Tensor)
ovis/model/vit/modeling_siglip2_navit.py:297
Methodforward
Args: hidden_states (`torch.FloatTensor`): Input to the layer of shape `(batch, seq_len, embed_dim)`.
ovis/model/vit/modeling_siglip2_navit.py:313
Methodforward
r""" Args: inputs_embeds (`torch.FloatTensor` of shape `(batch_size, sequence_length, hidden_size)`): Optionally,
ovis/model/vit/modeling_siglip2_navit.py:440
Methodforward
r""" spatial_shapes (`torch.LongTensor` of shape `(batch_size, 2)`): Tensor containing the spatial dimensions (height, width) of t
ovis/model/vit/modeling_siglip2_navit.py:531
Methodforward
r""" pixel_attention_mask (`torch.Tensor` of shape `(batch_size, image_size, image_size)`, *optional*): Mask to avoid performing a
ovis/model/vit/modeling_siglip2_navit.py:736
Methodget_monitor_tensors
(self)
ovis/model/modeling_ovis.py:181
Methodload
(self)
ovis/train/dataset/conversation_dataset.py:15
Functionload_data
(model: Ovis, training_args: TrainingArguments)
ovis/train/train.py:48
Methodon_epoch_end
(self, args: TrainingArguments, state: TrainerState, control: TrainerControl, **kwargs)
ovis/train/callback.py:38
Methodon_step_begin
(self, args: TrainingArguments, state: TrainerState, control: TrainerControl, **kwargs)
ovis/train/callback.py:14
Methodon_step_begin
(self, args: TrainingArguments, state: TrainerState, control: TrainerControl, **kwargs)
ovis/train/callback.py:32
Methodre_init_vte
(self, mean, std)
ovis/model/modeling_ovis.py:237
Methodresize_positional_embeddings
Resize positional embeddings to image-specific size and pad to a fixed size. Args: positional_embeddings (`torch.Tensor`
ovis/model/vit/modeling_siglip2_navit.py:96
Functionrun_single_model
Run single model inference.
ovis/serve/web_ui.py:42
Methodsave_pretrained
( self, save_directory: Union[str, os.PathLike], is_main_process: bool = True,
ovis/model/modeling_ovis.py:430
Methodseqdpp_select_fast
(self, total_matrix, offset, to_select_num)
plugin/mdp3.py:262
Functionstart_generation
Update UI status when generation starts.
ovis/serve/web_ui.py:91
Methodtie_weights
(self)
ovis/model/modeling_ovis.py:234
Functiontoggle_media_input
Toggle visibility of image and video input components.
ovis/serve/web_ui.py:80
Functiontorch_load_with_weights_only_false
(*args, **kwargs)
ovis/util/utils.py:27
← previous101–123 of 123, ranked by callers