MCPcopy Create free account

hub / github.com/NExT-GPT/NExT-GPT / functions

Functions923 in github.com/NExT-GPT/NExT-GPT

Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
nextgpt/model/multimodal_decoder/custom_sd.py:476
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
nextgpt/model/multimodal_decoder/custom_ad.py:401
Method__call__
r""" Function invoked when calling the pipeline for generation. Args: prompt (`str` or `List[str]`, *optional*):
nextgpt/model/multimodal_decoder/custom_vd.py:503
Method__call__
Preprocess an image or a batch of images.
nextgpt/model/multimodal_encoder/imagebind_processor.py:24
Method__call__
Preprocess an audio or a batch of audios.
nextgpt/model/multimodal_encoder/imagebind_processor.py:81
Method__call__
Preprocess an video or a batch of videos.
nextgpt/model/multimodal_encoder/imagebind_processor.py:177
Method__call__
(self, texts, context_length=None)
nextgpt/model/multimodal_encoder/ImageBind/models/multimodal_preprocessors.py:586
Method__getattr__
(self, attr)
NExT-GPT-Lagacy/code/model/common/logger.py:94
Method__getattr__
(self, attr)
nextgpt/utils.py:70
Method__getitem__
(self, i)
NExT-GPT-Lagacy/code/dataset/T+X-T_instruction_dataset.py:39
Method__getitem__
(self, i)
NExT-GPT-Lagacy/code/dataset/base_dataset.py:38
Method__getitem__
(self, item)
NExT-GPT-Lagacy/code/dataset/concat_dataset.py:28
Method__getitem__
(self, i)
NExT-GPT-Lagacy/code/dataset/T-T+X_instruction_dataset.py:36
Method__getitem__
(self, i)
nextgpt/dataset/base_dataset.py:135
Method__getitem__
(self, item)
nextgpt/dataset/concat_dataset.py:48
Method__init__
(self, stops: List = None, encounters: int = 1)
predict.py:61
Method__init__
( self, batch_size: int, world_size: int, lengths: Optional[List[int]] = None,
nextgpt_trainer.py:122
Method__init__
(self, output_name)
data/IT_data/T-T+X_data/construction/utils.py:12
Method__init__
(self, output_name)
data/IT_data/MosIT_data/construction/utils.py:11
Method__init__
(self, data_path: str, mm_root_path: str = None, dataset_type: str='ImageToText')
NExT-GPT-Lagacy/code/dataset/T+X-T_instruction_dataset.py:20
Method__init__
(self)
NExT-GPT-Lagacy/code/dataset/catalog.py:5
Method__init__
(self, num_samples, train_iters, batch_size, rank=-1, world_size=2)
NExT-GPT-Lagacy/code/dataset/samplers.py:83
Method__init__
(self, sampler, batch_size, drop_last, rank=-1, world_size=2, wrap_last=False, gradient_accumulation_steps=Non
NExT-GPT-Lagacy/code/dataset/samplers.py:118
Method__init__
(self, sampler, batch_size, dataset, drop_last, rank=-1, world_size=2, wrap_last=False, gradient_accumulation_
NExT-GPT-Lagacy/code/dataset/samplers.py:173
Method__init__
(self, data_path: str, mm_root_path: str, embed_path: str, dataset_type: str)
NExT-GPT-Lagacy/code/dataset/base_dataset.py:29
Method__init__
(self, data_path: str, mm_root_path: str, embed_path: str, dataset_type: str)
NExT-GPT-Lagacy/code/dataset/audiocap_dataset.py:39
Method__init__
(self, dataset_name_list)
NExT-GPT-Lagacy/code/dataset/concat_dataset.py:7
Method__init__
(self, data_path: str, mm_root_path: str, embed_path: str, dataset_type: str)
NExT-GPT-Lagacy/code/dataset/webvid_dataset.py:30
Method__init__
(self, data_path: str, mm_root_path: str, embed_path: str, dataset_type: str)
NExT-GPT-Lagacy/code/dataset/cc3m_dataset.py:30
Method__init__
(self, data_path: str, embed_path: str, dataset_type: str = "TextToImage")
NExT-GPT-Lagacy/code/dataset/T-T+X_instruction_dataset.py:20
Method__init__
:param mode: ['linear', 'transformer', 'qformer'] :param freeze_qformer: whether freeze the weights of qformer
NExT-GPT-Lagacy/code/model/layers.py:25
Method__init__
(self, stops: List = None, encounters: int = 1)
NExT-GPT-Lagacy/code/model/anyToImageVideoAudio.py:22
Method__init__
(self, config)
NExT-GPT-Lagacy/code/model/qformer.py:55
Method__init__
(self, config, is_cross_attention)
NExT-GPT-Lagacy/code/model/qformer.py:113
Method__init__
(self, config)
NExT-GPT-Lagacy/code/model/qformer.py:280
Method__init__
(self, config, is_cross_attention=False)
NExT-GPT-Lagacy/code/model/qformer.py:294
Method__init__
(self, config)
NExT-GPT-Lagacy/code/model/qformer.py:351
Method__init__
(self, config)
NExT-GPT-Lagacy/code/model/qformer.py:366
Method__init__
(self, config)
NExT-GPT-Lagacy/code/model/qformer.py:489
Method__init__
(self, config)
NExT-GPT-Lagacy/code/model/qformer.py:594
Method__init__
(self, config)
NExT-GPT-Lagacy/code/model/qformer.py:609
Method__init__
(self, config)
NExT-GPT-Lagacy/code/model/qformer.py:626
Method__init__
(self, config)
NExT-GPT-Lagacy/code/model/qformer.py:646
Method__init__
(self, config, add_pooling_layer=False)
NExT-GPT-Lagacy/code/model/qformer.py:688
Method__init__
(self, config)
NExT-GPT-Lagacy/code/model/qformer.py:974
Method__init__
(self, config)
NExT-GPT-Lagacy/code/model/qformer.py:1137
Method__init__
(self, model, args)
NExT-GPT-Lagacy/code/model/agent.py:9
Method__init__
LlamaRMSNorm is equivalent to T5LayerNorm
NExT-GPT-Lagacy/code/model/modeling_llama.py:58
Method__init__
(self, dim, max_position_embeddings=2048, base=10000, device=None)
NExT-GPT-Lagacy/code/model/modeling_llama.py:78
Method__init__
(self, config: LlamaConfig)
NExT-GPT-Lagacy/code/model/modeling_llama.py:146
Method__init__
(self, config: LlamaConfig)
NExT-GPT-Lagacy/code/model/modeling_llama.py:235
Method__init__
(self, config: LlamaConfig)
NExT-GPT-Lagacy/code/model/modeling_llama.py:422
Method__init__
(self, config)
NExT-GPT-Lagacy/code/model/modeling_llama.py:600
Method__init__
( self, vae: AutoencoderKL, text_encoder: CLIPTextModel, token
NExT-GPT-Lagacy/code/model/custom_sd.py:78
Method__init__
( self, vae: AutoencoderKL, text_encoder: ClapTextModelWithProjection, tokeniz
NExT-GPT-Lagacy/code/model/custom_ad.py:72
Method__init__
( self, vae: AutoencoderKL, text_encoder: CLIPTextModel, tokenizer: CLIPTokeni
NExT-GPT-Lagacy/code/model/custom_vd.py:112
Method__init__
(self, crop_size: int = 224, num_crops: int = 3)
NExT-GPT-Lagacy/code/model/ImageBind/data.py:288
Method__init__
( self, logit_scale_init: float = 1 / 0.07, learnable: bool = True, max_logit_
NExT-GPT-Lagacy/code/model/ImageBind/models/helpers.py:27
Method__init__
(self, rearrange_expr: str, **kwargs)
NExT-GPT-Lagacy/code/model/ImageBind/models/helpers.py:52
Method__init__
(self, index)
NExT-GPT-Lagacy/code/model/ImageBind/models/helpers.py:117
Method__init__
(self, proj: nn.Module)
NExT-GPT-Lagacy/code/model/ImageBind/models/helpers.py:131
Method__init__
(self, proj_stem, norm_layer: Optional[nn.Module] = None)
NExT-GPT-Lagacy/code/model/ImageBind/models/multimodal_preprocessors.py:127
Method__init__
( self, patches_layout: List, num_patches: int, num_cls_tokens: int, e
NExT-GPT-Lagacy/code/model/ImageBind/models/multimodal_preprocessors.py:162
Method__init__
( self, rgbt_stem: PatchEmbedGeneric, depth_stem: PatchEmbedGeneric, img_size:
NExT-GPT-Lagacy/code/model/ImageBind/models/multimodal_preprocessors.py:197
Method__init__
(self, audio_stem: PatchEmbedGeneric, **kwargs)
NExT-GPT-Lagacy/code/model/ImageBind/models/multimodal_preprocessors.py:303
Method__init__
(self, thermal_stem: PatchEmbedGeneric, **kwargs)
NExT-GPT-Lagacy/code/model/ImageBind/models/multimodal_preprocessors.py:311
Method__init__
( self, vocab_size: int, context_length: int, embed_dim: int, causal_m
NExT-GPT-Lagacy/code/model/ImageBind/models/multimodal_preprocessors.py:328
Method__init__
(self, ntimes, pad_type, time_dim=2)
NExT-GPT-Lagacy/code/model/ImageBind/models/multimodal_preprocessors.py:425
Method__init__
(self, bpe_path: str, context_length=77)
NExT-GPT-Lagacy/code/model/ImageBind/models/multimodal_preprocessors.py:499
Method__init__
( self, kernel_size: int, imu_stem: PatchEmbedGeneric, embed_dim: int,
NExT-GPT-Lagacy/code/model/ImageBind/models/multimodal_preprocessors.py:608
Method__init__
( self, dim, num_heads=8, qkv_bias=False, qk_scale=None, attn_
NExT-GPT-Lagacy/code/model/ImageBind/models/transformer.py:28
Method__init__
( self, dim: int, attn_target: Callable, mlp_ratio: int = 4, act_layer
NExT-GPT-Lagacy/code/model/ImageBind/models/transformer.py:110
Method__init__
Simple Transformer with the following features 1. Supports masked attention 2. Supports DropPath 3. Supports LayerSca
NExT-GPT-Lagacy/code/model/ImageBind/models/transformer.py:181
Method__init__
( self, video_frames=2, kernel_size=(2, 14, 14), audio_kernel_size=16,
NExT-GPT-Lagacy/code/model/ImageBind/models/imagebind_model.py:49
Method__init__
(self, window_size=20, fmt=None)
NExT-GPT-Lagacy/code/model/common/logger.py:24
Method__init__
(self, delimiter="\t")
NExT-GPT-Lagacy/code/model/common/logger.py:83
Method__init__
(self, *args, **kwargs)
NExT-GPT-Lagacy/code/model/common/logger.py:185
Method__init__
(self, logger, log_level=logging.INFO)
nextgpt/utils.py:64
Method__init__
(self, keywords, tokenizer, input_ids)
nextgpt/mm_utils.py:268
Method__init__
(self)
nextgpt/dataset/catalog.py:5
Method__init__
(self, data_path: str, tokenizer: transformers.PreTrainedTokenizer, data_arg
nextgpt/dataset/base_dataset.py:97
Method__init__
( self, sampling_rate: int = 16000, max_wav_value: float = 32768.0, n_mel_chan
nextgpt/dataset/audio_processor.py:27
Method__init__
(self, dataset_name_list: List[str], tokenizer: transformers.PreTrainedToke
nextgpt/dataset/concat_dataset.py:10
Method__init__
(self, num_samples, train_iters, batch_size, rank=-1, world_size=2)
nextgpt/dataset/sampler.py:83
Method__init__
(self, sampler, batch_size, drop_last, rank=-1, world_size=2, wrap_last=False, gradient_accumulation_steps=Non
nextgpt/dataset/sampler.py:118
Method__init__
(self, sampler, batch_size, dataset, drop_last, rank=-1, world_size=2, wrap_last=False, gradient_accumulation_
nextgpt/dataset/sampler.py:173
Method__init__
(self, config)
nextgpt/model/nextgpt_arch.py:37
Method__init__
( self, vae: AutoencoderKL, text_encoder: CLIPTextModel, token
nextgpt/model/multimodal_decoder/custom_sd.py:79
Method__init__
( self, vae: AutoencoderKL, text_encoder: ClapTextModelWithProjection, tokeniz
nextgpt/model/multimodal_decoder/custom_ad.py:73
Method__init__
( self, vae: AutoencoderKL, text_encoder: CLIPTextModel, tokenizer: CLIPTokeni
nextgpt/model/multimodal_decoder/custom_vd.py:112
Method__init__
(self, config)
nextgpt/model/language_model/nextgpt_llama.py:118
Method__init__
(self, dim, num_heads=1, qkv_bias=False, q
nextgpt/model/multimodal_projector/group_vit.py:87
Method__init__
(self, *, dim, out_dim, num_heads,
nextgpt/model/multimodal_projector/group_vit.py:198
Method__init__
(self, dim, num_heads, out_dim=None, qkv_b
nextgpt/model/multimodal_projector/group_vit.py:292
Method__init__
(self, dim, num_heads, mlp_ratio=4., qkv_b
nextgpt/model/multimodal_projector/group_vit.py:369
Method__init__
(self, dim, num_heads, mlp_ratio=4., qkv_b
nextgpt/model/multimodal_projector/group_vit.py:407
Method__init__
(self, dim, num_input_token, depth, num_he
nextgpt/model/multimodal_projector/group_vit.py:461
Method__init__
(self, img_size=224, kernel_size=7, stride=4, padding=2, in_chans=3, embed_dim=96, norm_layer=None)
nextgpt/model/multimodal_projector/group_vit.py:570
Method__init__
(self, config)
nextgpt/model/multimodal_projector/qformer.py:47
Method__init__
(self, config, is_cross_attention)
nextgpt/model/multimodal_projector/qformer.py:105
← previousnext →401–500 of 923, ranked by callers