MCPcopy Create free account

hub / github.com/BAAI-DCAI/SpatialBot / types & classes

Types & classes135 in github.com/BAAI-DCAI/SpatialBot

↓ 10 callersClassConversation
A class that keeps all conversation history.
bunny/conversation.py:18
↓ 3 callersClassEvalAIAnswerProcessor
Processes an answer similar to Eval AI copied from https://github.com/facebookresearch/mmf/blob/c46b3b3391275b4181567db80943473a8
bunny/eval/m4c_evaluator.py:7
↓ 3 callersClassKeywordsStoppingCriteria
bunny/util/mm_utils.py:113
↓ 3 callersClassLlamaModel
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`LlamaDecoderLayer`] Args: config: LlamaConfig
bunny/model/language_model/llama/modeling_llama.py:1188
↓ 3 callersClassLlamaRMSNorm
bunny/model/language_model/llama/modeling_llama.py:352
↓ 3 callersClassPhi3Model
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`Phi3DecoderLayer`] Args: config: Phi3Config
bunny/model/language_model/phi3/modeling_phi3.py:1020
↓ 3 callersClassPhi3RMSNorm
bunny/model/language_model/phi3/modeling_phi3.py:70
↓ 3 callersClassPhiModel
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`PhiDecoderLayer`] Args: config: PhiConfig
bunny/model/language_model/phi/modeling_phi.py:805
↓ 3 callersClassQwen2RMSNorm
bunny/model/language_model/qwen2/modeling_qwen2.py:81
↓ 2 callersClassQwen2Model
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`Qwen2DecoderLayer`] Args: config: Qwen2Config
bunny/model/language_model/qwen2/modeling_qwen2.py:917
↓ 2 callersClassSigLipMLP
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:257
↓ 2 callersClassStreamToLogger
Fake file-like stream object that redirects writes to a logger instance.
bunny/util/utils.py:66
↓ 1 callersClassAttention
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:252
↓ 1 callersClassBlock
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:393
↓ 1 callersClassBunnyLlamaModel
bunny/model/language_model/bunny_llama.py:18
↓ 1 callersClassBunnyPhi3Model
bunny/model/language_model/bunny_phi3.py:18
↓ 1 callersClassBunnyPhiModel
bunny/model/language_model/bunny_phi.py:18
↓ 1 callersClassBunnyQwen2Model
bunny/model/language_model/bunny_qwen2.py:18
↓ 1 callersClassBunnyTrainer
bunny/train/bunny_trainer.py:130
↓ 1 callersClassCLIPVisionCfg
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:744
↓ 1 callersClassCLIPVisionTower
bunny/model/multimodal_encoder/clip/clip_encoder.py:7
↓ 1 callersClassController
bunny/serve/controller.py:54
↓ 1 callersClassCustomDataset
bunny/eval/model_vqa_loader.py:31
↓ 1 callersClassCustomDataset
bunny/eval/model_vqa_loader_depth.py:34
↓ 1 callersClassDataCollatorForSupervisedDataset
Collate examples for supervised fine-tuning.
bunny/util/data_utils.py:965
↓ 1 callersClassDropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:176
↓ 1 callersClassEVAVisionTransformer
Vision Transformer with support for patch or hybrid CNN input stage
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:516
↓ 1 callersClassEva2LargePlusEncoder
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:814
↓ 1 callersClassEvaClipImageTrainProcessor
bunny/model/multimodal_encoder/eva_clip/eva_clip_processors.py:33
↓ 1 callersClassEvaClipVisionTower
bunny/model/multimodal_encoder/eva_clip/eva_clip_encoder.py:8
↓ 1 callersClassIdentityMap
bunny/model/multimodal_projector/builder.py:10
↓ 1 callersClassLDPBlock
bunny/model/multimodal_projector/builder.py:56
↓ 1 callersClassLDPNetProjector
bunny/model/multimodal_projector/builder.py:84
↓ 1 callersClassLazySupervisedDataset
Dataset for supervised fine-tuning.
bunny/util/data_utils.py:795
↓ 1 callersClassLengthGroupedSampler
r""" Sampler that samples indices in a way that groups together features of the dataset of roughly the same length while keeping a bit of rand
bunny/train/bunny_trainer.py:94
↓ 1 callersClassLlamaDecoderLayer
bunny/model/language_model/llama/modeling_llama.py:971
↓ 1 callersClassLlamaDynamicNTKScalingRotaryEmbedding
LlamaRotaryEmbedding extended with Dynamic NTK scaling. Credits to the Reddit users /u/bloc97 and /u/emozilla
bunny/model/language_model/llama/modeling_llama.py:434
↓ 1 callersClassLlamaLinearScalingRotaryEmbedding
LlamaRotaryEmbedding extended with linear scaling. Credits to the Reddit user /u/kaiokendev
bunny/model/language_model/llama/modeling_llama.py:424
↓ 1 callersClassLlamaMLP
bunny/model/language_model/llama/modeling_llama.py:487
↓ 1 callersClassLlamaRotaryEmbedding
bunny/model/language_model/llama/modeling_llama.py:372
↓ 1 callersClassMinigpt
bunny/model/multimodal_projector/builder.py:22
↓ 1 callersClassMlp
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:191
↓ 1 callersClassModelWorker
bunny/serve/model_worker.py:40
↓ 1 callersClassPatchDropout
https://arxiv.org/abs/2212.00794
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:107
↓ 1 callersClassPatchEmbed
Image to Patch Embedding
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:454
↓ 1 callersClassPhi3DecoderLayer
bunny/model/language_model/phi3/modeling_phi3.py:823
↓ 1 callersClassPhi3MLP
bunny/model/language_model/phi3/modeling_phi3.py:249
↓ 1 callersClassPhi3RotaryEmbedding
bunny/model/language_model/phi3/modeling_phi3.py:101
↓ 1 callersClassPhi3SuScaledRotaryEmbedding
bunny/model/language_model/phi3/modeling_phi3.py:131
↓ 1 callersClassPhi3YarnScaledRotaryEmbedding
bunny/model/language_model/phi3/modeling_phi3.py:172
↓ 1 callersClassPhiDecoderLayer
bunny/model/language_model/phi/modeling_phi.py:626
↓ 1 callersClassPhiDynamicNTKScalingRotaryEmbedding
PhiRotaryEmbedding extended with Dynamic NTK scaling. Credits to the Reddit users /u/bloc97 and /u/emozilla
bunny/model/language_model/phi/modeling_phi.py:139
↓ 1 callersClassPhiLinearScalingRotaryEmbedding
PhiRotaryEmbedding extended with linear scaling. Credits to the Reddit user /u/kaiokendev
bunny/model/language_model/phi/modeling_phi.py:119
↓ 1 callersClassPhiMLP
bunny/model/language_model/phi/modeling_phi.py:203
↓ 1 callersClassPhiRotaryEmbedding
bunny/model/language_model/phi/modeling_phi.py:82
↓ 1 callersClassQwen2DecoderLayer
bunny/model/language_model/qwen2/modeling_qwen2.py:723
↓ 1 callersClassQwen2MLP
bunny/model/language_model/qwen2/modeling_qwen2.py:173
↓ 1 callersClassQwen2RotaryEmbedding
bunny/model/language_model/qwen2/modeling_qwen2.py:99
↓ 1 callersClassRelativePositionBias
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:479
↓ 1 callersClassSPP
bunny/model/multimodal_projector/builder.py:94
↓ 1 callersClassSigLipAttention
Multi-headed attention from 'Attention Is All You Need' paper
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:180
↓ 1 callersClassSigLipEncoder
Transformer encoder consisting of `config.num_hidden_layers` self attention layers. Each layer is a [`SigLipEncoderLayer`]. Args:
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:338
↓ 1 callersClassSigLipEncoderLayer
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:273
↓ 1 callersClassSigLipImageProcessor
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:26
↓ 1 callersClassSigLipMultiheadAttentionPoolingHead
Multihead Attention Pooling.
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:479
↓ 1 callersClassSigLipVisionConfig
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:68
↓ 1 callersClassSigLipVisionEmbeddings
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:151
↓ 1 callersClassSigLipVisionTower
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:558
↓ 1 callersClassSigLipVisionTransformer
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:426
↓ 1 callersClassSwiGLU
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:226
↓ 1 callersClassVanilla
bunny/model/multimodal_projector/builder.py:38
↓ 1 callersClassVisionRotaryEmbeddingFast
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:37
↓ 1 callersClassVisionTowerConfig
bunny/model/multimodal_encoder/eva_clip/eva_clip_encoder.py:59
↓ 1 callersClassWorkerInfo
bunny/serve/controller.py:40
↓ 1 callersClasscalculate_metrics
eval/mme/calculation_mme.py:15
ClassAttentionMaskConverter
A utility attention mask class that allows one to: - Create a causal 4d mask - Create a causal 4d mask with slided window
bunny/model/language_model/llama/modeling_llama.py:37
ClassBaseProcessor
bunny/model/multimodal_encoder/eva_clip/eva_clip_processors.py:12
ClassBunnyLlamaConfig
bunny/model/language_model/bunny_llama.py:14
ClassBunnyLlamaForCausalLM
bunny/model/language_model/bunny_llama.py:25
ClassBunnyMetaForCausalLM
bunny/model/bunny_arch.py:73
ClassBunnyMetaModel
bunny/model/bunny_arch.py:21
ClassBunnyPhi3Config
bunny/model/language_model/bunny_phi3.py:14
ClassBunnyPhi3ForCausalLM
bunny/model/language_model/bunny_phi3.py:25
ClassBunnyPhiConfig
bunny/model/language_model/bunny_phi.py:14
ClassBunnyPhiForCausalLM
bunny/model/language_model/bunny_phi.py:25
ClassBunnyQwen2Config
bunny/model/language_model/bunny_qwen2.py:14
ClassBunnyQwen2ForCausalLM
bunny/model/language_model/bunny_qwen2.py:25
ClassDataArguments
bunny/util/data_utils.py:22
ClassDispatchMethod
bunny/serve/controller.py:25
ClassEvaClipImageBaseProcessor
bunny/model/multimodal_encoder/eva_clip/eva_clip_processors.py:21
ClassLayerNorm
Subclass torch's LayerNorm (with cast back to input dtype).
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:98
ClassLlamaAttention
Multi-headed attention from 'Attention Is All You Need' paper
bunny/model/language_model/llama/modeling_llama.py:533
ClassLlamaConfig
r""" This is the configuration class to store the configuration of a [`LlamaModel`]. It is used to instantiate an LLaMA model according to the
bunny/model/language_model/llama/configuration_llama.py:32
ClassLlamaFlashAttention2
Llama flash attention module. This module inherits from `LlamaAttention` as the weights of the module stays untouched. The only required chan
bunny/model/language_model/llama/modeling_llama.py:681
ClassLlamaForCausalLM
bunny/model/language_model/llama/modeling_llama.py:1406
ClassLlamaForQuestionAnswering
bunny/model/language_model/llama/modeling_llama.py:1755
ClassLlamaForSequenceClassification
bunny/model/language_model/llama/modeling_llama.py:1640
ClassLlamaPreTrainedModel
bunny/model/language_model/llama/modeling_llama.py:1067
ClassLlamaSdpaAttention
Llama attention module using torch.nn.functional.scaled_dot_product_attention. This module inherits from `LlamaAttention` as the weights of t
bunny/model/language_model/llama/modeling_llama.py:876
ClassLlamaTokenizer
Construct a Llama tokenizer. Based on byte-level Byte-Pair-Encoding. The default padding token is unset as there is no padding token in the o
bunny/model/language_model/llama/tokenization_llama.py:55
next →1–100 of 135, ranked by callers