MCPcopy Create free account

hub / github.com/Fr0zenCrane/Cockatiel / types & classes

Types & classes311 in github.com/Fr0zenCrane/Cockatiel

↓ 19 callersClassKeywordsStoppingCriteria
llava/mm_utils.py:376
↓ 16 callersClassConversation
A class that keeps all conversation history.
llava/conversation.py:37
↓ 15 callersClassRingComm
llava/train/sequence_parallel/ring/utils.py:86
↓ 13 callersClassVILAWebDataset
llava/data/simple_vila_webdataset.py:190
↓ 5 callersClassAllGatherCoalescedHandle
llava/train/deepspeed_replace_deprecated/runtime/zero/partition_parameters.py:667
↓ 4 callersClassEvalAIAnswerProcessor
Processes an answer similar to Eval AI copied from https://github.com/facebookresearch/mmf/blob/c46b3b3391275b4181567db80943473a8
llava/eval/m4c_evaluator.py:7
↓ 4 callersClassImageProcessor
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 callersClassInternRMSNorm
llava/model/multimodal_encoder/intern/modeling_intern_vit.py:238
↓ 3 callersClassGemmaRMSNorm
llava/train/transformers_replace/models/gemma/modeling_gemma.py:79
↓ 3 callersClassLlamaRMSNorm
llava/train/transformers_replace/models/llama/modeling_llama.py:58
↓ 3 callersClassMistralRMSNorm
llava/train/transformers_replace/models/mistral/modeling_mistral.py:67
↓ 3 callersClassMixtralRMSNorm
llava/model/language_model/modeling_mixtral_long_context.py:165
↓ 3 callersClassMixtralRMSNorm
llava/train/transformers_replace/models/mixtral/modeling_mixtral.py:205
↓ 3 callersClassShardListDataset
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 callersClassVILADistributedSampler
This class is implemented by Jason Lu.
llava/train/llava_trainer.py:130
↓ 2 callersClassAllGatherHandle
llava/train/deepspeed_replace_deprecated/runtime/zero/partition_parameters.py:648
↓ 2 callersClassDataset
llava/data/datasets_mixture.py:22
↓ 2 callersClassDistributedAttention
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 callersClassDropPath
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 callersClassGemmaModel
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 callersClassHierTextDataset
llava/data/dataset_impl/hiertext.py:71
↓ 2 callersClassHybridAttention
Initialization. Arguments: ulysses_pg (ProcessGroup): ulysses process group ring_pg (ProcessGroup): ring process group sc
llava/train/sequence_parallel/hybrid_attn.py:60
↓ 2 callersClassIndexedTarSamples
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 callersClassInternVisionTower
llava/model/multimodal_encoder/intern_encoder.py:55
↓ 2 callersClassLlamaModel
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 callersClassMistralModel
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 callersClassMixtralModel
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 callersClassMixtralModel
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 callersClassMoeCausalLMOutputWithPast
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 callersClassMoeModelOutputWithPast
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 callersClassQuantizationInfo
llava/train/deepspeed_replace_deprecated/runtime/zero/partition_parameters.py:746
↓ 2 callersClassSiglipEncoder
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 callersClassSiglipMLP
llava/model/multimodal_encoder/siglip/modeling_siglip.py:386
↓ 2 callersClassSiglipTextTransformer
llava/model/multimodal_encoder/siglip/modeling_siglip.py:692
↓ 2 callersClassSiglipVisionTransformer
llava/model/multimodal_encoder/siglip/modeling_siglip.py:826
↓ 2 callersClassSquadHeadOutput
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 callersClassStreamToLogger
Fake file-like stream object that redirects writes to a logger instance.
llava/utils.py:78
↓ 2 callersClassStreamToLogger
Fake file-like stream object that redirects writes to a logger instance.
llava/utils/utils.py:76
↓ 2 callersClassTextOCRDataset
llava/data/dataset_impl/textocr.py:116
↓ 2 callersClassUlyssesAttention
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 callersClassVILAWebDataset
llava/data/vila_webdataset.py:158
↓ 2 callersClassValueHead
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 callersClassAdaptiveKLController
Adaptive KL controller described in the paper: https://arxiv.org/pdf/1909.08593.pdf
llava/trl/trainer/utils.py:34
↓ 1 callersClassAtomicJsonUpdate
llava/wids/wids_index.py:23
↓ 1 callersClassAutoResumeCallback
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 callersClassCLIPVisionTower
llava/model/multimodal_encoder/clip_encoder.py:24
↓ 1 callersClassCLIPVisionTowerS2
llava/model/multimodal_encoder/clip_encoder.py:32
↓ 1 callersClassCUDAQuantizer
llava/train/deepspeed_replace_deprecated/runtime/zero/partition_parameters.py:755
↓ 1 callersClassCap2QADataset
llava/data_aug/caption2qa.py:63
↓ 1 callersClassChunkedSampler
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 callersClassConstantLengthDataset
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 callersClassCustomDataset
llava/eval/model_videochatgpt_benchmark.py:40
↓ 1 callersClassDDPOPipelineOutput
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 callersClassDDPOSchedulerOutput
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 callersClassDPODataCollator
llava/train/train.py:194
↓ 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
llava/trl/trainer/utils.py:284
↓ 1 callersClassDPODataset
Dataset for supervised fine-tuning.
llava/train/train.py:319
↓ 1 callersClassDataCollatorForSupervisedDataset
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 callersClassDataCollatorForSupervisedDatasetSeqParallel
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 callersClassDownSampleBlock
llava/model/multimodal_projector/base_projector.py:48
↓ 1 callersClassExclusiveLock
A simple non-blocking exclusive lock using fcntl.
llava/wids/wids_cleanup.py:55
↓ 1 callersClassFixedKLController
Fixed KL controller.
llava/trl/trainer/utils.py:52
↓ 1 callersClassFlashAttention
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 callersClassGemmaDecoderLayer
llava/train/transformers_replace/models/gemma/modeling_gemma.py:596
↓ 1 callersClassGemmaMLP
llava/train/transformers_replace/models/gemma/modeling_gemma.py:163
↓ 1 callersClassGemmaRotaryEmbedding
llava/train/transformers_replace/models/gemma/modeling_gemma.py:96
↓ 1 callersClassIdentityMap
llava/model/multimodal_projector/base_projector.py:24
↓ 1 callersClassInferenceSampler
distributed_cockatiel_vidcap.py:149
↓ 1 callersClassInferenceSampler
distributed_cockatiel_scoring.py:83
↓ 1 callersClassInternAttention
Multi-headed attention from 'Attention Is All You Need' paper
llava/model/multimodal_encoder/intern/modeling_intern_vit.py:298
↓ 1 callersClassInternMLP
llava/model/multimodal_encoder/intern/modeling_intern_vit.py:370
↓ 1 callersClassInternVisionEmbeddings
llava/model/multimodal_encoder/intern/modeling_intern_vit.py:266
↓ 1 callersClassInternVisionEncoder
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 callersClassInternVisionEncoderLayer
llava/model/multimodal_encoder/intern/modeling_intern_vit.py:385
↓ 1 callersClassInternVisionPreprocessor
llava/model/multimodal_encoder/intern_encoder.py:40
↓ 1 callersClassKeywordsStoppingCriteria
llava/eval/model_qa.py:17
↓ 1 callersClassLLaVATrainer
llava/train/llava_trainer.py:582
↓ 1 callersClassLRUCache
llava/wids/wids_lru.py:4
↓ 1 callersClassLRUShards
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 callersClassLlamaDecoderLayer
llava/train/transformers_replace/models/llama/modeling_llama.py:611
↓ 1 callersClassLlamaDynamicNTKScalingRotaryEmbedding
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 callersClassLlamaFlashAttention2
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 callersClassLlamaLinearScalingRotaryEmbedding
LlamaRotaryEmbedding extended with linear scaling. Credits to the Reddit user /u/kaiokendev
llava/train/transformers_replace/models/llama/modeling_llama.py:130
↓ 1 callersClassLlamaMLP
llava/train/transformers_replace/models/llama/modeling_llama.py:191
↓ 1 callersClassLlamaRotaryEmbedding
llava/train/transformers_replace/models/llama/modeling_llama.py:78
↓ 1 callersClassLlavaGemmaModel
llava/model/language_model/llava_gemma.py:33
↓ 1 callersClassLlavaLlamaModel
llava/model/language_model/llava_llama.py:36
↓ 1 callersClassLlavaMPTModel
llava/model/language_model/llava_mpt.py:36
↓ 1 callersClassLlavaMistralModel
llava/model/language_model/llava_mistral.py:35
↓ 1 callersClassLlavaMixtralModel
llava/model/language_model/llava_mixtral.py:34
↓ 1 callersClassMMIndexedTar
llava/wids/wids_mmtar.py:48
↓ 1 callersClassMPTBlock
llava/model/language_model/mpt/blocks.py:39
↓ 1 callersClassMPTMLP
llava/model/language_model/mpt/blocks.py:27
↓ 1 callersClassMPTModel
llava/model/language_model/mpt/modeling_mpt.py:54
↓ 1 callersClassMiCS_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 callersClassMiCS_Init
llava/train/deepspeed_replace/runtime/zero/mics.py:58
↓ 1 callersClassMiCS_Init
llava/train/deepspeed_replace_deprecated/runtime/zero/mics.py:68
↓ 1 callersClassMiCS_Offload
Wrapper to change the behavior for parameter sharding
llava/train/deepspeed_replace/runtime/zero/mics.py:338
↓ 1 callersClassMiCS_Offload
Wrapper to change the behavior for parameter sharding
llava/train/deepspeed_replace_deprecated/runtime/zero/mics.py:522
↓ 1 callersClassMistralDecoderLayer
llava/train/transformers_replace/models/mistral/modeling_mistral.py:717
next →1–100 of 311, ranked by callers