MCPcopy Create free account

hub / github.com/LLaVA-VL/LLaVA-NeXT / types & classes

Types & classes291 in github.com/LLaVA-VL/LLaVA-NeXT

↓ 22 callersClassConversation
A class that keeps all conversation history.
llava/conversation.py:26
↓ 9 callersClassDataProto
A DataProto is a data structure that aims to provide a standard protocol for data exchange between functions. It contains a batch (TensorDict
llava-critic-r1/EasyR1/verl/protocol.py:166
↓ 6 callersClassKeywordsStoppingCriteria
llava/mm_utils.py:372
↓ 5 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
llava/train/llava_trainer.py:212
↓ 5 callersClassRayClassWithInitArgs
llava-critic-r1/EasyR1/verl/single_controller/ray/base.py:162
↓ 4 callersClassLayerScale
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:69
↓ 3 callersClassLlamaModel
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`LlamaDecoderLayer`] Args: config: LlamaConfig
llava/model/language_model/modeling_llama.py:1051
↓ 3 callersClassLlamaRMSNorm
llava/model/language_model/modeling_llama.py:73
↓ 2 callersClassBaseModelOutput
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/hf_model.py:20
↓ 2 callersClassBertAttention
llava/model/multimodal_resampler/qformer.py:253
↓ 2 callersClassBertIntermediate
llava/model/multimodal_resampler/qformer.py:306
↓ 2 callersClassBertModel
The model can behave as an encoder (with only self-attention) as well as a decoder, in which case a layer of cross-attention is added between
llava/model/multimodal_resampler/qformer.py:615
↓ 2 callersClassBertOnlyMLMHead
llava/model/multimodal_resampler/qformer.py:582
↓ 2 callersClassBertOutput
llava/model/multimodal_resampler/qformer.py:321
↓ 2 callersClassBottleneck
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/modified_resnet.py:10
↓ 2 callersClassCLIP
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/model.py:221
↓ 2 callersClassCLIPTextCfg
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/model.py:98
↓ 2 callersClassCLIPVisionCfg
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/model.py:68
↓ 2 callersClassDataParallelPPOActor
llava-critic-r1/EasyR1/verl/workers/actor/dp_actor.py:46
↓ 2 callersClassDataProtoFuture
DataProtoFuture aims to eliminate actual data fetching on driver. By doing so, the driver doesn't have to wait for data so that asynchronous
llava-critic-r1/EasyR1/verl/protocol.py:602
↓ 2 callersClassMlp
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/eva_vit_model.py:47
↓ 2 callersClassPatchDropout
https://arxiv.org/abs/2212.00794
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:79
↓ 2 callersClassRLHFDataset
We assume the dataset contains a column that contains prompts and other information
llava-critic-r1/EasyR1/verl/utils/dataset.py:94
↓ 2 callersClassRayResourcePool
llava-critic-r1/EasyR1/verl/single_controller/ray/base.py:75
↓ 2 callersClassSigLipMLP
llava/model/multimodal_encoder/siglip_encoder.py:243
↓ 2 callersClassState
llava-critic-r1/EasyR1/verl/utils/seqlen_balancing.py:46
↓ 2 callersClassStreamToLogger
Fake file-like stream object that redirects writes to a logger instance.
llava/utils.py:129
↓ 2 callersClassTransformer
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:454
↓ 2 callersClassValueHead
r""" The ValueHead class implements a head for GPT2 that returns a scalar for each output token.
trl/models/modeling_value_head.py:21
↓ 1 callersClassAdaptiveKLController
Adaptive KL controller described in the paper: https://arxiv.org/pdf/1909.08593.pdf
trl/trainer/utils.py:35
↓ 1 callersClassAdaptiveKLController
Adaptive KL controller described in: https://arxiv.org/pdf/1909.08593.pdf Copied from https://github.com/huggingface/trl/blob/v0.11.0/trl/trainer
llava-critic-r1/EasyR1/verl/trainer/core_algos.py:46
↓ 1 callersClassAggregateGenerationsLogger
llava-critic-r1/EasyR1/verl/utils/logger/gen_logger.py:92
↓ 1 callersClassAnyPrecisionAdamW
llava-critic-r1/EasyR1/verl/utils/torch_functional.py:204
↓ 1 callersClassAttention
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:155
↓ 1 callersClassAttention
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/eva_vit_model.py:106
↓ 1 callersClassAttention
llava/model/multimodal_encoder/eva_clip/eva_vit.py:242
↓ 1 callersClassAttentionPool2d
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/modified_resnet.py:54
↓ 1 callersClassBertEmbeddings
Construct the embeddings from word and position embeddings.
llava/model/multimodal_resampler/qformer.py:57
↓ 1 callersClassBertEncoder
llava/model/multimodal_resampler/qformer.py:433
↓ 1 callersClassBertLMHeadModel
llava/model/multimodal_resampler/qformer.py:865
↓ 1 callersClassBertLMPredictionHead
llava/model/multimodal_resampler/qformer.py:562
↓ 1 callersClassBertLayer
llava/model/multimodal_resampler/qformer.py:335
↓ 1 callersClassBertPooler
llava/model/multimodal_resampler/qformer.py:530
↓ 1 callersClassBertPredictionHeadTransform
llava/model/multimodal_resampler/qformer.py:545
↓ 1 callersClassBertSelfAttention
llava/model/multimodal_resampler/qformer.py:107
↓ 1 callersClassBertSelfOutput
llava/model/multimodal_resampler/qformer.py:239
↓ 1 callersClassBlock
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/eva_vit_model.py:241
↓ 1 callersClassBlock
llava/model/multimodal_encoder/eva_clip/eva_vit.py:377
↓ 1 callersClassCLIPVisionCfg
llava/model/multimodal_encoder/eva_clip/eva_vit.py:767
↓ 1 callersClassCLIPVisionTower
llava/model/multimodal_encoder/clip_encoder.py:12
↓ 1 callersClassCLIPVisionTowerS2
llava/model/multimodal_encoder/clip_encoder.py:125
↓ 1 callersClassConstantLengthDataset
Iterable dataset that returns constant length chunks of tokens from stream of text files. The dataset also formats the text before tokenizati
trl/trainer/utils.py:341
↓ 1 callersClassController
llava/serve/controller.py:58
↓ 1 callersClassCustomAttention
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:239
↓ 1 callersClassCustomCLIP
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/model.py:281
↓ 1 callersClassCustomResidualAttentionBlock
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/transformer.py:320
↓ 1 callersClassDDPOPipelineOutput
Output class for the diffusers pipeline to be finetuned with the DDPO trainer Args: images (`torch.Tensor`): The generat
trl/models/modeling_sd_base.py:37
↓ 1 callersClassDDPOSchedulerOutput
Output class for the diffusers scheduler to be finetuned with the DDPO trainer Args: latents (`torch.Tensor`): Predicted
trl/models/modeling_sd_base.py:57
↓ 1 callersClassDPODataCollator
Collate examples for DPO fine-tuning.
llava/train/train_dpo.py:1187
↓ 1 callersClassDPODataCollatorWithPadding
r""" DPO DataCollator class that pads the tokenized inputs to the maximum length of the batch. Args: pad_token_id (`int` defaults to 0
trl/trainer/utils.py:271
↓ 1 callersClassDPODataset
Dataset for DPODataset fine-tuning.
llava/train/train_dpo.py:908
↓ 1 callersClassDataCollatorForSupervisedDataset
Collate examples for supervised fine-tuning.
llava/train/train.py:1246
↓ 1 callersClassDataParallelPPOCritic
llava-critic-r1/EasyR1/verl/workers/critic/dp_critic.py:45
↓ 1 callersClassDataProcessor
playground/data_checker.py:8
↓ 1 callersClassDropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/eva_vit_model.py:33
↓ 1 callersClassDropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
llava/model/multimodal_encoder/eva_clip/eva_vit.py:169
↓ 1 callersClassEVAEncoderWrapper
llava/model/multimodal_encoder/eva_clip/eva_vit.py:839
↓ 1 callersClassEVAVisionTransformer
Vision Transformer with support for patch or hybrid CNN input stage
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/eva_vit_model.py:365
↓ 1 callersClassEVAVisionTransformer
Vision Transformer with support for patch or hybrid CNN input stage
llava/model/multimodal_encoder/eva_clip/eva_vit.py:501
↓ 1 callersClassEvaClipImageTrainProcessor
llava/model/multimodal_encoder/eva_clip/eva_clip_processors.py:33
↓ 1 callersClassEval
llava/eval/evaluate_interleave.py:22
↓ 1 callersClassFSDPCheckpointManager
A checkpoint manager that saves and loads - model - optimizer - lr_scheduler - extra_states in a SPMD way. We save -
llava-critic-r1/EasyR1/verl/utils/checkpoint/fsdp_checkpoint_manager.py:27
↓ 1 callersClassFSDPUlyssesShardingManager
Sharding manager to support data resharding when using FSDP + Ulysses
llava-critic-r1/EasyR1/verl/workers/sharding_manager/fsdp_ulysses.py:25
↓ 1 callersClassFSDPVLLMShardingManager
llava-critic-r1/EasyR1/verl/workers/sharding_manager/fsdp_vllm.py:34
↓ 1 callersClassFixedKLController
Fixed KL controller.
trl/trainer/utils.py:53
↓ 1 callersClassFixedKLController
Fixed KL controller. Copeid from https://github.com/huggingface/trl/blob/v0.11.0/trl/trainer/utils.py#L72
llava-critic-r1/EasyR1/verl/trainer/core_algos.py:63
↓ 1 callersClassFlopsCounter
Used to count mfu during training loop Example: flops_counter = FlopsCounter(config) flops_achieved, flops_promised = flops_
llava-critic-r1/EasyR1/verl/utils/flops_counter.py:58
↓ 1 callersClassHFTextEncoder
HuggingFace model adapter
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/hf_model.py:80
↓ 1 callersClassHFTokenizer
HuggingFace tokenizer wrapper
llava/model/multimodal_encoder/dev_eva_clip/eva_clip/tokenizer.py:190
↓ 1 callersClassHFVisionTower
llava/model/multimodal_encoder/hf_vision.py:8
↓ 1 callersClassIdentityMap
llava/model/multimodal_resampler/builder.py:9
↓ 1 callersClassIdentityMap
llava/model/multimodal_projector/builder.py:8
↓ 1 callersClassImageBindWrapper
llava/model/multimodal_encoder/imagebind.py:14
↓ 1 callersClassLLaVADPOTrainer
llava/train/llava_trainer.py:1246
↓ 1 callersClassLLaVATrainer
llava/train/llava_trainer.py:256
↓ 1 callersClassLazySupervisedDataset
llava/train/train.py:958
↓ 1 callersClassLlamaDecoderLayer
llava/model/language_model/modeling_llama.py:841
↓ 1 callersClassLlamaDynamicNTKScalingRotaryEmbedding
LlamaRotaryEmbedding extended with Dynamic NTK scaling. Credits to the Reddit users /u/bloc97 and /u/emozilla
llava/model/language_model/modeling_llama.py:152
↓ 1 callersClassLlamaLinearScalingRotaryEmbedding
LlamaRotaryEmbedding extended with linear scaling. Credits to the Reddit user /u/kaiokendev
llava/model/language_model/modeling_llama.py:142
↓ 1 callersClassLlamaMLP
llava/model/language_model/modeling_llama.py:201
↓ 1 callersClassLlamaRotaryEmbedding
llava/model/language_model/modeling_llama.py:93
↓ 1 callersClassLlavaGemmaModel
llava/model/language_model/llava_gemma.py:34
↓ 1 callersClassLlavaLlamaModel
llava/model/language_model/llava_llama.py:44
↓ 1 callersClassLlavaMistralModel
llava/model/language_model/llava_mistral.py:38
↓ 1 callersClassLlavaMixtralModel
llava/model/language_model/llava_mixtral.py:34
↓ 1 callersClassLlavaMptModel
llava/model/language_model/llava_mpt.py:28
↓ 1 callersClassLlavaQwenModel
llava/model/language_model/llava_qwen.py:39
↓ 1 callersClassLlavaQwenMoeModel
llava/model/language_model/llava_qwen_moe.py:39
↓ 1 callersClassMLCDEncoder
Transformer encoder consisting of `config.num_hidden_layers` self attention layers. Each layer is a [`MLCDEncoderLayer`]. Args:
llava/model/multimodal_encoder/mlcd/vit_rope2d_hf.py:188
↓ 1 callersClassMLCDEncoderLayer
llava/model/multimodal_encoder/mlcd/vit_rope2d_hf.py:146
next →1–100 of 291, ranked by callers