Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BAAI-DCAI/SpatialBot
/ types & classes
Types & classes
135 in github.com/BAAI-DCAI/SpatialBot
⨍
Functions
594
◇
Types & classes
135
↳
Endpoints
13
↓ 10 callers
Class
Conversation
A class that keeps all conversation history.
bunny/conversation.py:18
↓ 3 callers
Class
EvalAIAnswerProcessor
Processes an answer similar to Eval AI copied from https://github.com/facebookresearch/mmf/blob/c46b3b3391275b4181567db80943473a8
bunny/eval/m4c_evaluator.py:7
↓ 3 callers
Class
KeywordsStoppingCriteria
bunny/util/mm_utils.py:113
↓ 3 callers
Class
LlamaModel
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 callers
Class
LlamaRMSNorm
bunny/model/language_model/llama/modeling_llama.py:352
↓ 3 callers
Class
Phi3Model
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 callers
Class
Phi3RMSNorm
bunny/model/language_model/phi3/modeling_phi3.py:70
↓ 3 callers
Class
PhiModel
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 callers
Class
Qwen2RMSNorm
bunny/model/language_model/qwen2/modeling_qwen2.py:81
↓ 2 callers
Class
Qwen2Model
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 callers
Class
SigLipMLP
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:257
↓ 2 callers
Class
StreamToLogger
Fake file-like stream object that redirects writes to a logger instance.
bunny/util/utils.py:66
↓ 1 callers
Class
Attention
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:252
↓ 1 callers
Class
Block
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:393
↓ 1 callers
Class
BunnyLlamaModel
bunny/model/language_model/bunny_llama.py:18
↓ 1 callers
Class
BunnyPhi3Model
bunny/model/language_model/bunny_phi3.py:18
↓ 1 callers
Class
BunnyPhiModel
bunny/model/language_model/bunny_phi.py:18
↓ 1 callers
Class
BunnyQwen2Model
bunny/model/language_model/bunny_qwen2.py:18
↓ 1 callers
Class
BunnyTrainer
bunny/train/bunny_trainer.py:130
↓ 1 callers
Class
CLIPVisionCfg
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:744
↓ 1 callers
Class
CLIPVisionTower
bunny/model/multimodal_encoder/clip/clip_encoder.py:7
↓ 1 callers
Class
Controller
bunny/serve/controller.py:54
↓ 1 callers
Class
CustomDataset
bunny/eval/model_vqa_loader.py:31
↓ 1 callers
Class
CustomDataset
bunny/eval/model_vqa_loader_depth.py:34
↓ 1 callers
Class
DataCollatorForSupervisedDataset
Collate examples for supervised fine-tuning.
bunny/util/data_utils.py:965
↓ 1 callers
Class
DropPath
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 callers
Class
EVAVisionTransformer
Vision Transformer with support for patch or hybrid CNN input stage
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:516
↓ 1 callers
Class
Eva2LargePlusEncoder
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:814
↓ 1 callers
Class
EvaClipImageTrainProcessor
bunny/model/multimodal_encoder/eva_clip/eva_clip_processors.py:33
↓ 1 callers
Class
EvaClipVisionTower
bunny/model/multimodal_encoder/eva_clip/eva_clip_encoder.py:8
↓ 1 callers
Class
IdentityMap
bunny/model/multimodal_projector/builder.py:10
↓ 1 callers
Class
LDPBlock
bunny/model/multimodal_projector/builder.py:56
↓ 1 callers
Class
LDPNetProjector
bunny/model/multimodal_projector/builder.py:84
↓ 1 callers
Class
LazySupervisedDataset
Dataset for supervised fine-tuning.
bunny/util/data_utils.py:795
↓ 1 callers
Class
LengthGroupedSampler
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 callers
Class
LlamaDecoderLayer
bunny/model/language_model/llama/modeling_llama.py:971
↓ 1 callers
Class
LlamaDynamicNTKScalingRotaryEmbedding
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 callers
Class
LlamaLinearScalingRotaryEmbedding
LlamaRotaryEmbedding extended with linear scaling. Credits to the Reddit user /u/kaiokendev
bunny/model/language_model/llama/modeling_llama.py:424
↓ 1 callers
Class
LlamaMLP
bunny/model/language_model/llama/modeling_llama.py:487
↓ 1 callers
Class
LlamaRotaryEmbedding
bunny/model/language_model/llama/modeling_llama.py:372
↓ 1 callers
Class
Minigpt
bunny/model/multimodal_projector/builder.py:22
↓ 1 callers
Class
Mlp
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:191
↓ 1 callers
Class
ModelWorker
bunny/serve/model_worker.py:40
↓ 1 callers
Class
PatchDropout
https://arxiv.org/abs/2212.00794
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:107
↓ 1 callers
Class
PatchEmbed
Image to Patch Embedding
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:454
↓ 1 callers
Class
Phi3DecoderLayer
bunny/model/language_model/phi3/modeling_phi3.py:823
↓ 1 callers
Class
Phi3MLP
bunny/model/language_model/phi3/modeling_phi3.py:249
↓ 1 callers
Class
Phi3RotaryEmbedding
bunny/model/language_model/phi3/modeling_phi3.py:101
↓ 1 callers
Class
Phi3SuScaledRotaryEmbedding
bunny/model/language_model/phi3/modeling_phi3.py:131
↓ 1 callers
Class
Phi3YarnScaledRotaryEmbedding
bunny/model/language_model/phi3/modeling_phi3.py:172
↓ 1 callers
Class
PhiDecoderLayer
bunny/model/language_model/phi/modeling_phi.py:626
↓ 1 callers
Class
PhiDynamicNTKScalingRotaryEmbedding
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 callers
Class
PhiLinearScalingRotaryEmbedding
PhiRotaryEmbedding extended with linear scaling. Credits to the Reddit user /u/kaiokendev
bunny/model/language_model/phi/modeling_phi.py:119
↓ 1 callers
Class
PhiMLP
bunny/model/language_model/phi/modeling_phi.py:203
↓ 1 callers
Class
PhiRotaryEmbedding
bunny/model/language_model/phi/modeling_phi.py:82
↓ 1 callers
Class
Qwen2DecoderLayer
bunny/model/language_model/qwen2/modeling_qwen2.py:723
↓ 1 callers
Class
Qwen2MLP
bunny/model/language_model/qwen2/modeling_qwen2.py:173
↓ 1 callers
Class
Qwen2RotaryEmbedding
bunny/model/language_model/qwen2/modeling_qwen2.py:99
↓ 1 callers
Class
RelativePositionBias
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:479
↓ 1 callers
Class
SPP
bunny/model/multimodal_projector/builder.py:94
↓ 1 callers
Class
SigLipAttention
Multi-headed attention from 'Attention Is All You Need' paper
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:180
↓ 1 callers
Class
SigLipEncoder
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 callers
Class
SigLipEncoderLayer
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:273
↓ 1 callers
Class
SigLipImageProcessor
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:26
↓ 1 callers
Class
SigLipMultiheadAttentionPoolingHead
Multihead Attention Pooling.
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:479
↓ 1 callers
Class
SigLipVisionConfig
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:68
↓ 1 callers
Class
SigLipVisionEmbeddings
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:151
↓ 1 callers
Class
SigLipVisionTower
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:558
↓ 1 callers
Class
SigLipVisionTransformer
bunny/model/multimodal_encoder/siglip/siglip_encoder.py:426
↓ 1 callers
Class
SwiGLU
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:226
↓ 1 callers
Class
Vanilla
bunny/model/multimodal_projector/builder.py:38
↓ 1 callers
Class
VisionRotaryEmbeddingFast
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:37
↓ 1 callers
Class
VisionTowerConfig
bunny/model/multimodal_encoder/eva_clip/eva_clip_encoder.py:59
↓ 1 callers
Class
WorkerInfo
bunny/serve/controller.py:40
↓ 1 callers
Class
calculate_metrics
eval/mme/calculation_mme.py:15
Class
AttentionMaskConverter
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
Class
BaseProcessor
bunny/model/multimodal_encoder/eva_clip/eva_clip_processors.py:12
Class
BunnyLlamaConfig
bunny/model/language_model/bunny_llama.py:14
Class
BunnyLlamaForCausalLM
bunny/model/language_model/bunny_llama.py:25
Class
BunnyMetaForCausalLM
bunny/model/bunny_arch.py:73
Class
BunnyMetaModel
bunny/model/bunny_arch.py:21
Class
BunnyPhi3Config
bunny/model/language_model/bunny_phi3.py:14
Class
BunnyPhi3ForCausalLM
bunny/model/language_model/bunny_phi3.py:25
Class
BunnyPhiConfig
bunny/model/language_model/bunny_phi.py:14
Class
BunnyPhiForCausalLM
bunny/model/language_model/bunny_phi.py:25
Class
BunnyQwen2Config
bunny/model/language_model/bunny_qwen2.py:14
Class
BunnyQwen2ForCausalLM
bunny/model/language_model/bunny_qwen2.py:25
Class
DataArguments
bunny/util/data_utils.py:22
Class
DispatchMethod
bunny/serve/controller.py:25
Class
EvaClipImageBaseProcessor
bunny/model/multimodal_encoder/eva_clip/eva_clip_processors.py:21
Class
LayerNorm
Subclass torch's LayerNorm (with cast back to input dtype).
bunny/model/multimodal_encoder/eva_clip/eva_vit.py:98
Class
LlamaAttention
Multi-headed attention from 'Attention Is All You Need' paper
bunny/model/language_model/llama/modeling_llama.py:533
Class
LlamaConfig
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
Class
LlamaFlashAttention2
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
Class
LlamaForCausalLM
bunny/model/language_model/llama/modeling_llama.py:1406
Class
LlamaForQuestionAnswering
bunny/model/language_model/llama/modeling_llama.py:1755
Class
LlamaForSequenceClassification
bunny/model/language_model/llama/modeling_llama.py:1640
Class
LlamaPreTrainedModel
bunny/model/language_model/llama/modeling_llama.py:1067
Class
LlamaSdpaAttention
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
Class
LlamaTokenizer
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