Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Fr0zenCrane/Cockatiel
/ types & classes
Types & classes
311 in github.com/Fr0zenCrane/Cockatiel
⨍
Functions
1,946
◇
Types & classes
311
↳
Endpoints
7
↓ 19 callers
Class
KeywordsStoppingCriteria
llava/mm_utils.py:376
↓ 16 callers
Class
Conversation
A class that keeps all conversation history.
llava/conversation.py:37
↓ 15 callers
Class
RingComm
llava/train/sequence_parallel/ring/utils.py:86
↓ 13 callers
Class
VILAWebDataset
llava/data/simple_vila_webdataset.py:190
↓ 5 callers
Class
AllGatherCoalescedHandle
llava/train/deepspeed_replace_deprecated/runtime/zero/partition_parameters.py:667
↓ 4 callers
Class
EvalAIAnswerProcessor
Processes an answer similar to Eval AI copied from https://github.com/facebookresearch/mmf/blob/c46b3b3391275b4181567db80943473a8
llava/eval/m4c_evaluator.py:7
↓ 4 callers
Class
ImageProcessor
r""" Constructs an image processor. Args: do_resize (`bool`, *optional*, defaults to `True`): Whether to resize the image
llava/model/multimodal_encoder/image_processor.py:69
↓ 4 callers
Class
InternRMSNorm
llava/model/multimodal_encoder/intern/modeling_intern_vit.py:238
↓ 3 callers
Class
GemmaRMSNorm
llava/train/transformers_replace/models/gemma/modeling_gemma.py:79
↓ 3 callers
Class
LlamaRMSNorm
llava/train/transformers_replace/models/llama/modeling_llama.py:58
↓ 3 callers
Class
MistralRMSNorm
llava/train/transformers_replace/models/mistral/modeling_mistral.py:67
↓ 3 callers
Class
MixtralRMSNorm
llava/model/language_model/modeling_mixtral_long_context.py:165
↓ 3 callers
Class
MixtralRMSNorm
llava/train/transformers_replace/models/mixtral/modeling_mixtral.py:205
↓ 3 callers
Class
ShardListDataset
An indexable dataset based on a list of shards. The dataset is either given as a list of shards with optional options and name, or as a URL p
llava/wids/wids.py:446
↓ 3 callers
Class
VILADistributedSampler
This class is implemented by Jason Lu.
llava/train/llava_trainer.py:130
↓ 2 callers
Class
AllGatherHandle
llava/train/deepspeed_replace_deprecated/runtime/zero/partition_parameters.py:648
↓ 2 callers
Class
Dataset
llava/data/datasets_mixture.py:22
↓ 2 callers
Class
DistributedAttention
Initialization. Arguments: local_attention (Module): local attention with q,k,v sequence_process_group (ProcessGroup): sequence p
llava/train/deepspeed_distributed_attention.py:59
↓ 2 callers
Class
DropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
llava/model/multimodal_encoder/intern/modeling_intern_vit.py:223
↓ 2 callers
Class
GemmaModel
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`GemmaDecoderLayer`] Args: config: GemmaConfig
llava/train/transformers_replace/models/gemma/modeling_gemma.py:813
↓ 2 callers
Class
HierTextDataset
llava/data/dataset_impl/hiertext.py:71
↓ 2 callers
Class
HybridAttention
Initialization. Arguments: ulysses_pg (ProcessGroup): ulysses process group ring_pg (ProcessGroup): ring process group sc
llava/train/sequence_parallel/hybrid_attn.py:60
↓ 2 callers
Class
IndexedTarSamples
A class that accesses samples in a tar file. The tar file must follow WebDataset conventions. The tar file is indexed when the IndexedTarSamples
llava/wids/wids.py:215
↓ 2 callers
Class
InternVisionTower
llava/model/multimodal_encoder/intern_encoder.py:55
↓ 2 callers
Class
LlamaModel
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`LlamaDecoderLayer`] Args: config: LlamaConfig
llava/train/transformers_replace/models/llama/modeling_llama.py:796
↓ 2 callers
Class
MistralModel
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`MistralDecoderLayer`] Args: config: MistralCo
llava/train/transformers_replace/models/mistral/modeling_mistral.py:907
↓ 2 callers
Class
MixtralModel
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`MixtralDecoderLayer`] Args: config: MixtralCo
llava/model/language_model/modeling_mixtral_long_context.py:1128
↓ 2 callers
Class
MixtralModel
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`MixtralDecoderLayer`] Args: config: MixtralCo
llava/train/transformers_replace/models/mixtral/modeling_mixtral.py:1126
↓ 2 callers
Class
MoeCausalLMOutputWithPast
Base class for causal language model (or autoregressive) with mixture of experts outputs. Args: loss (`torch.FloatTensor` of shape `
llava/train/transformers_replace/models/mixtral/modeling_mixtral.py:51
↓ 2 callers
Class
MoeModelOutputWithPast
Base class for model's outputs, with potential hidden states and attentions. Args: last_hidden_state (`torch.FloatTensor` of shape `
llava/train/transformers_replace/models/mixtral/modeling_mixtral.py:100
↓ 2 callers
Class
QuantizationInfo
llava/train/deepspeed_replace_deprecated/runtime/zero/partition_parameters.py:746
↓ 2 callers
Class
SiglipEncoder
Transformer encoder consisting of `config.num_hidden_layers` self attention layers. Each layer is a [`SiglipEncoderLayer`]. Args:
llava/model/multimodal_encoder/siglip/modeling_siglip.py:604
↓ 2 callers
Class
SiglipMLP
llava/model/multimodal_encoder/siglip/modeling_siglip.py:386
↓ 2 callers
Class
SiglipTextTransformer
llava/model/multimodal_encoder/siglip/modeling_siglip.py:692
↓ 2 callers
Class
SiglipVisionTransformer
llava/model/multimodal_encoder/siglip/modeling_siglip.py:826
↓ 2 callers
Class
SquadHeadOutput
Base class for outputs of question answering models using a [`~modeling_utils.SQuADHead`]. Args: loss (`torch.FloatTensor` of shape
llava/train/transformers_replace/modeling_utils.py:4543
↓ 2 callers
Class
StreamToLogger
Fake file-like stream object that redirects writes to a logger instance.
llava/utils.py:78
↓ 2 callers
Class
StreamToLogger
Fake file-like stream object that redirects writes to a logger instance.
llava/utils/utils.py:76
↓ 2 callers
Class
TextOCRDataset
llava/data/dataset_impl/textocr.py:116
↓ 2 callers
Class
UlyssesAttention
Initialization. Arguments: local_attention (Module): local attention with q,k,v sequence_process_group (ProcessGroup): sequence p
llava/train/sequence_parallel/ulysses_attn.py:97
↓ 2 callers
Class
VILAWebDataset
llava/data/vila_webdataset.py:158
↓ 2 callers
Class
ValueHead
r""" The ValueHead class implements a head for GPT2 that returns a scalar for each output token.
llava/trl/models/modeling_value_head.py:21
↓ 1 callers
Class
AdaptiveKLController
Adaptive KL controller described in the paper: https://arxiv.org/pdf/1909.08593.pdf
llava/trl/trainer/utils.py:34
↓ 1 callers
Class
AtomicJsonUpdate
llava/wids/wids_index.py:23
↓ 1 callers
Class
AutoResumeCallback
A [`TrainerCallback`] that handles autoresume. Args: interval: interval (in number of iterations) between checks as to w
llava/train/callbacks/autoresume_callback.py:37
↓ 1 callers
Class
CLIPVisionTower
llava/model/multimodal_encoder/clip_encoder.py:24
↓ 1 callers
Class
CLIPVisionTowerS2
llava/model/multimodal_encoder/clip_encoder.py:32
↓ 1 callers
Class
CUDAQuantizer
llava/train/deepspeed_replace_deprecated/runtime/zero/partition_parameters.py:755
↓ 1 callers
Class
Cap2QADataset
llava/data_aug/caption2qa.py:63
↓ 1 callers
Class
ChunkedSampler
A sampler that samples in chunks and then shuffles the samples within each chunk. This preserves locality of reference while still shuffling the
llava/wids/wids.py:706
↓ 1 callers
Class
ConstantLengthDataset
Iterable dataset that returns constant length chunks of tokens from stream of text files. The dataset also formats the text before tokenizati
llava/trl/trainer/utils.py:357
↓ 1 callers
Class
CustomDataset
llava/eval/model_videochatgpt_benchmark.py:40
↓ 1 callers
Class
DDPOPipelineOutput
Output class for the diffusers pipeline to be finetuned with the DDPO trainer Args: images (`torch.Tensor`): The generat
llava/trl/models/modeling_sd_base.py:36
↓ 1 callers
Class
DDPOSchedulerOutput
Output class for the diffusers scheduler to be finetuned with the DDPO trainer Args: latents (`torch.Tensor`): Predicted
llava/trl/models/modeling_sd_base.py:56
↓ 1 callers
Class
DPODataCollator
llava/train/train.py:194
↓ 1 callers
Class
DPODataCollatorWithPadding
r""" DPO DataCollator class that pads the tokenized inputs to the maximum length of the batch. Args: pad_token_id (`int` defaults to 0
llava/trl/trainer/utils.py:284
↓ 1 callers
Class
DPODataset
Dataset for supervised fine-tuning.
llava/train/train.py:319
↓ 1 callers
Class
DataCollatorForSupervisedDataset
Collate examples for supervised fine-tuning. This class is originally implemented by the LLaVA team and modified by Haotian Tang.
llava/data/dataset.py:2010
↓ 1 callers
Class
DataCollatorForSupervisedDatasetSeqParallel
Collate examples for supervised fine-tuning. This class is originally implemented by the LLaVA team and modified by Haotian Tang.
llava/data/dataset.py:2092
↓ 1 callers
Class
DownSampleBlock
llava/model/multimodal_projector/base_projector.py:48
↓ 1 callers
Class
ExclusiveLock
A simple non-blocking exclusive lock using fcntl.
llava/wids/wids_cleanup.py:55
↓ 1 callers
Class
FixedKLController
Fixed KL controller.
llava/trl/trainer/utils.py:52
↓ 1 callers
Class
FlashAttention
Implement the scaled dot product attention with softmax. Arguments --------- softmax_scale: The temperature to use for the softmax att
llava/model/multimodal_encoder/intern/flash_attention.py:30
↓ 1 callers
Class
GemmaDecoderLayer
llava/train/transformers_replace/models/gemma/modeling_gemma.py:596
↓ 1 callers
Class
GemmaMLP
llava/train/transformers_replace/models/gemma/modeling_gemma.py:163
↓ 1 callers
Class
GemmaRotaryEmbedding
llava/train/transformers_replace/models/gemma/modeling_gemma.py:96
↓ 1 callers
Class
IdentityMap
llava/model/multimodal_projector/base_projector.py:24
↓ 1 callers
Class
InferenceSampler
distributed_cockatiel_vidcap.py:149
↓ 1 callers
Class
InferenceSampler
distributed_cockatiel_scoring.py:83
↓ 1 callers
Class
InternAttention
Multi-headed attention from 'Attention Is All You Need' paper
llava/model/multimodal_encoder/intern/modeling_intern_vit.py:298
↓ 1 callers
Class
InternMLP
llava/model/multimodal_encoder/intern/modeling_intern_vit.py:370
↓ 1 callers
Class
InternVisionEmbeddings
llava/model/multimodal_encoder/intern/modeling_intern_vit.py:266
↓ 1 callers
Class
InternVisionEncoder
Transformer encoder consisting of `config.num_hidden_layers` self attention layers. Each layer is a [`InternEncoderLayer`]. Args:
llava/model/multimodal_encoder/intern/modeling_intern_vit.py:416
↓ 1 callers
Class
InternVisionEncoderLayer
llava/model/multimodal_encoder/intern/modeling_intern_vit.py:385
↓ 1 callers
Class
InternVisionPreprocessor
llava/model/multimodal_encoder/intern_encoder.py:40
↓ 1 callers
Class
KeywordsStoppingCriteria
llava/eval/model_qa.py:17
↓ 1 callers
Class
LLaVATrainer
llava/train/llava_trainer.py:582
↓ 1 callers
Class
LRUCache
llava/wids/wids_lru.py:4
↓ 1 callers
Class
LRUShards
A class that manages a cache of shards. The cache is a LRU cache that stores the local names of the shards as keys and the downloaded paths as
llava/wids/wids.py:366
↓ 1 callers
Class
LlamaDecoderLayer
llava/train/transformers_replace/models/llama/modeling_llama.py:611
↓ 1 callers
Class
LlamaDynamicNTKScalingRotaryEmbedding
LlamaRotaryEmbedding extended with Dynamic NTK scaling. Credits to the Reddit users /u/bloc97 and /u/emozilla
llava/train/transformers_replace/models/llama/modeling_llama.py:140
↓ 1 callers
Class
LlamaFlashAttention2
Llama flash attention module. This module inherits from `LlamaAttention` as the weights of the module stays untouched. The only required chan
llava/train/transformers_replace/models/llama/modeling_llama.py:395
↓ 1 callers
Class
LlamaLinearScalingRotaryEmbedding
LlamaRotaryEmbedding extended with linear scaling. Credits to the Reddit user /u/kaiokendev
llava/train/transformers_replace/models/llama/modeling_llama.py:130
↓ 1 callers
Class
LlamaMLP
llava/train/transformers_replace/models/llama/modeling_llama.py:191
↓ 1 callers
Class
LlamaRotaryEmbedding
llava/train/transformers_replace/models/llama/modeling_llama.py:78
↓ 1 callers
Class
LlavaGemmaModel
llava/model/language_model/llava_gemma.py:33
↓ 1 callers
Class
LlavaLlamaModel
llava/model/language_model/llava_llama.py:36
↓ 1 callers
Class
LlavaMPTModel
llava/model/language_model/llava_mpt.py:36
↓ 1 callers
Class
LlavaMistralModel
llava/model/language_model/llava_mistral.py:35
↓ 1 callers
Class
LlavaMixtralModel
llava/model/language_model/llava_mixtral.py:34
↓ 1 callers
Class
MMIndexedTar
llava/wids/wids_mmtar.py:48
↓ 1 callers
Class
MPTBlock
llava/model/language_model/mpt/blocks.py:39
↓ 1 callers
Class
MPTMLP
llava/model/language_model/mpt/blocks.py:27
↓ 1 callers
Class
MPTModel
llava/model/language_model/mpt/modeling_mpt.py:54
↓ 1 callers
Class
MiCS_AllGatherCoalescedHandle
This handle assumes that no need to copy data out from a contiguous tensor
llava/train/deepspeed_replace/runtime/zero/mics.py:36
↓ 1 callers
Class
MiCS_Init
llava/train/deepspeed_replace/runtime/zero/mics.py:58
↓ 1 callers
Class
MiCS_Init
llava/train/deepspeed_replace_deprecated/runtime/zero/mics.py:68
↓ 1 callers
Class
MiCS_Offload
Wrapper to change the behavior for parameter sharding
llava/train/deepspeed_replace/runtime/zero/mics.py:338
↓ 1 callers
Class
MiCS_Offload
Wrapper to change the behavior for parameter sharding
llava/train/deepspeed_replace_deprecated/runtime/zero/mics.py:522
↓ 1 callers
Class
MistralDecoderLayer
llava/train/transformers_replace/models/mistral/modeling_mistral.py:717
next →
1–100 of 311, ranked by callers