MCPcopy Create free account

hub / github.com/NVlabs/DoRA / types & classes

Types & classes532 in github.com/NVlabs/DoRA

↓ 25 callersClassLossMeter
image_video_text_understanding/VL-T5/src/utils.py:40
↓ 16 callersClassAdaptionPromptConfig
Stores the configuration of an [`AdaptionPromptModel`].
visual_instruction_tuning/peft/src/peft/tuners/adaption_prompt.py:105
↓ 14 callersClassLoraConfig
This is the configuration class to store the configuration of a [`LoraModel`]. Args: r (`int`): Lora attention dimension. ta
visual_instruction_tuning/peft/src/peft/tuners/lora.py:46
↓ 12 callersClassLayerNormOutput
Base class for the base and weights of the conditional layer norms.
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_outputs.py:14
↓ 12 callersClassLayerNormOutput
Base class for the base and weights of the conditional layer norms.
image_video_text_understanding/VL-T5/src/adapters/adapter_outputs.py:14
↓ 11 callersClassConversation
A class that keeps all conversation history.
visual_instruction_tuning/llava/conversation.py:16
↓ 8 callersClassAdapterController
Implements Adapter controller module which controls the logics of putting adapter layers within transformer's layers.
image_video_text_understanding/VL-T5/src/adapters/adapter_controller.py:11
↓ 8 callersClassAdapterLayersHyperNet
This module generates the weights for all the meta adapter layers given the task embeddings and layer id.
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_hypernetwork.py:35
↓ 8 callersClassAdapterLayersHyperNet
This module generates the weights for all the meta adapter layers given the task embeddings and layer id.
image_video_text_understanding/VL-T5/src/adapters/adapter_hypernetwork.py:35
↓ 8 callersClassFusedOptimizer
image_video_text_understanding/CLIP-ViL/src/lxrt/visual_transformers.py:83
↓ 8 callersClassLayerNormHyperNet
This module generates the weight and bias for the task conditioned layer norm.
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_utils.py:46
↓ 8 callersClassLayerNormHyperNet
This module generates the weight and bias for the task conditioned layer norm.
image_video_text_understanding/VL-T5/src/adapters/adapter_utils.py:46
↓ 8 callersClassResize
image_video_text_understanding/CLIP-ViL/src/tools/vision_helpers.py:8
↓ 8 callersClassT5LayerNorm
image_video_text_understanding/VL-T5/src/my_transformers/modeling_t5.py:232
↓ 7 callersClassKeywordsStoppingCriteria
visual_instruction_tuning/llava/mm_utils.py:73
↓ 6 callersClassAdapterOutput
Base class for each adapter weights
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_outputs.py:22
↓ 6 callersClassAdapterOutput
Base class for each adapter weights
image_video_text_understanding/VL-T5/src/adapters/adapter_outputs.py:22
↓ 6 callersClassT5Stack
image_video_text_understanding/VL-T5/src/my_transformers/modeling_t5.py:838
↓ 6 callersClassTrainer
image_video_text_understanding/VL-T5/src/tvc.py:53
↓ 6 callersClassTxtLmdb
image_video_text_understanding/CLIP-ViL/src/tools/lmdb_dataset.py:38
↓ 5 callersClassConv2d
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:703
↓ 5 callersClassLayerNorm
Subclass torch's LayerNorm to handle fp16.
image_video_text_understanding/CLIP-ViL/clip/model.py:219
↓ 5 callersClassLayerNorm
Subclass torch's LayerNorm to handle fp16.
image_video_text_understanding/VL-T5/src/clip/model.py:295
↓ 5 callersClassMetaLayersAdapterController
Implements Meta Adapter controller module, in which the adapter layers' weights are generated from a unique hyper-network.
image_video_text_understanding/VL-T5/src/adapters/adapter_controller.py:205
↓ 5 callersClassPromptController
Implements Adapter controller module which controls the logics of putting adapter layers within transformer's layers.
image_video_text_understanding/VL-T5/src/prompt/prompt_controller.py:6
↓ 5 callersClassTrainingArguments
visual_instruction_tuning/llava/train/train.py:78
↓ 4 callersClassActivations
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_utils.py:7
↓ 4 callersClassActivations
image_video_text_understanding/VL-T5/src/adapters/adapter_utils.py:7
↓ 4 callersClassEvalAIAnswerProcessor
Processes an answer similar to Eval AI copied from https://github.com/facebookresearch/mmf/blob/c46b3b3391275b4181567db80943473a8
visual_instruction_tuning/llava/eval/m4c_evaluator.py:7
↓ 4 callersClassImageReader
image_video_text_understanding/CLIP-ViL/src/pretrain/lxmert_data.py:106
↓ 4 callersClassREFER
image_video_text_understanding/VL-T5/src/refcoco_utils.py:44
↓ 4 callersClassTaskEmbeddingController
Main module controlling task embeddings.
image_video_text_understanding/VL-T5/src/adapters/adapter_utils.py:60
↓ 4 callersClassTrainingMeter
image_video_text_understanding/CLIP-ViL/src/utils.py:11
↓ 4 callersClassVisualAdapter
Conventional Adapter layer, in which the weights of up and down sampler modules are parameters and are optimized.
image_video_text_understanding/VL-T5/src/clip/model.py:178
↓ 3 callersClassAdapter
Conventional Adapter layer, in which the weights of up and down sampler modules are parameters and are optimized.
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_modeling.py:33
↓ 3 callersClassAdapter
Conventional Adapter layer, in which the weights of up and down sampler modules are parameters and are optimized.
image_video_text_understanding/VL-T5/src/adapters/adapter_modeling.py:36
↓ 3 callersClassAdapterLayersHyperNetController
This modules contains the hyper-nets for the feed forward and self-attention modules and it generates the adapter's weights and layer norm's w
image_video_text_understanding/VL-T5/src/adapters/adapter_hypernetwork.py:54
↓ 3 callersClassAdapterLayersOneHyperNetController
This modules contains the hyper-nets for the feed forward and self-attention modules and it generates the adapter's weights and layer norm's w
image_video_text_understanding/VL-T5/src/adapters/adapter_hypernetwork.py:158
↓ 3 callersClassAnswerTable
image_video_text_understanding/VL-T5/src/qa_answer_table.py:11
↓ 3 callersClassBartAttention
Multi-headed attention from 'Attention Is All You Need' paper
image_video_text_understanding/VL-T5/src/my_transformers/modeling_bart.py:141
↓ 3 callersClassBartDecoder
Transformer decoder consisting of *config.decoder_layers* layers. Each layer is a :class:`BartDecoderLayer` Args: config: BartConfig
image_video_text_understanding/VL-T5/src/my_transformers/modeling_bart.py:1051
↓ 3 callersClassBartModel
image_video_text_understanding/VL-T5/src/my_transformers/modeling_bart.py:1293
↓ 3 callersClassBertAdam
Implements BERT version of Adam algorithm with weight decay fix. Params: lr: learning rate warmup: portion of t_total for the warm
image_video_text_understanding/CLIP-ViL/src/lxrt/optimization.py:52
↓ 3 callersClassBertIntermediate
image_video_text_understanding/CLIP-ViL/src/lxrt/modeling.py:375
↓ 3 callersClassBertLayer
image_video_text_understanding/CLIP-ViL/src/lxrt/modeling.py:413
↓ 3 callersClassBertOutput
image_video_text_understanding/CLIP-ViL/src/lxrt/modeling.py:390
↓ 3 callersClassBertSelfattLayer
image_video_text_understanding/CLIP-ViL/src/lxrt/modeling.py:362
↓ 3 callersClassGeLU
Implementation of the gelu activation function. For information: OpenAI GPT's gelu is slightly different (and gives slightly different results
image_video_text_understanding/CLIP-ViL/src/lxrt/modeling.py:127
↓ 3 callersClassGroupedBatchSampler
Wraps another sampler to yield a mini-batch of indices. It enforces that the batch only contain elements from the same group. It also tri
image_video_text_understanding/CLIP-ViL/src/tasks/vision_helpers.py:170
↓ 3 callersClassLinear
Bottleneck adapter in a dense layer. The adapter can be applied after the multi-head attention layer and/or after the feed-forward layer.
commonsense_reasoning/peft/src/peft/tuners/bottleneck.py:278
↓ 3 callersClassLinear8bitLt
commonsense_reasoning/peft/src/peft/tuners/bottleneck.py:395
↓ 3 callersClassLoraBartAttention
Multi-headed attention from 'Attention Is All You Need' paper
image_video_text_understanding/VL-T5/src/my_transformers/modeling_bart.py:281
↓ 3 callersClassPeftModel
Parameter-Efficient Fine-Tuning Model. Base model encompassing various Peft methods. Args: model ([`PreTrainedModel`]): The base tra
commonsense_reasoning/peft/src/peft/peft_model.py:55
↓ 3 callersClassShapeSpec
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:416
↓ 3 callersClassTaskHyperNet
This module generates the task-embeddings from the initial feeded task embeddings.
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_utils.py:29
↓ 3 callersClassTaskHyperNet
This module generates the task-embeddings from the initial feeded task embeddings.
image_video_text_understanding/VL-T5/src/adapters/adapter_utils.py:29
↓ 3 callersClassVQAModel
image_video_text_understanding/CLIP-ViL/src/tasks/vqa_model.py:14
↓ 2 callersClassActivityNetQAFineTuneDataset
image_video_text_understanding/VL-T5/src/activitynet_data.py:27
↓ 2 callersClassAdapterController
Implements Adapter controller module which controls the logics of putting adapter layers within transformer's layers.
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_controller.py:11
↓ 2 callersClassAdapterT5BlockOutput
Base class for adapter layer's outputs.
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_outputs.py:31
↓ 2 callersClassAdapterT5BlockOutput
Base class for adapter layer's outputs.
image_video_text_understanding/VL-T5/src/adapters/adapter_outputs.py:31
↓ 2 callersClassAnchorGenerator
For a set of image sizes and feature maps, computes a set of anchors.
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:1351
↓ 2 callersClassAnswerTable
image_video_text_understanding/CLIP-ViL/src/pretrain/qa_answer_table.py:8
↓ 2 callersClassBartLearnedPositionalEmbedding
This module learns positional embeddings up to a fixed maximum size.
image_video_text_understanding/VL-T5/src/my_transformers/modeling_bart.py:120
↓ 2 callersClassBertAttOutput
image_video_text_understanding/CLIP-ViL/src/lxrt/modeling.py:327
↓ 2 callersClassBertAttention
image_video_text_understanding/CLIP-ViL/src/lxrt/modeling.py:272
↓ 2 callersClassBertPredictionHeadTransform
image_video_text_understanding/CLIP-ViL/src/lxrt/modeling.py:719
↓ 2 callersClassBottleneck
image_video_text_understanding/CLIP-ViL/clip/model.py:61
↓ 2 callersClassBottleneck
image_video_text_understanding/VL-T5/src/clip/model.py:9
↓ 2 callersClassBox2BoxTransform
This R-CNN transformation scales the box's width and height by exp(dw), exp(dh) and shifts a box's center by the offset (dx * width, dy *
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:421
↓ 2 callersClassClassInstantier
visual_instruction_tuning/peft/tests/testing_common.py:81
↓ 2 callersClassConfig
image_video_text_understanding/VL-T5/src/param.py:303
↓ 2 callersClassDecoderPromptConfig
image_video_text_understanding/VL-T5/src/prompt/config.py:13
↓ 2 callersClassDownsample
image_video_text_understanding/VL-T5/src/modeling_bart.py:413
↓ 2 callersClassEncoderPromptConfig
image_video_text_understanding/VL-T5/src/prompt/config.py:5
↓ 2 callersClassHow2QAFineTuneDataset
image_video_text_understanding/VL-T5/src/video/how2qa_data.py:46
↓ 2 callersClassHyperComplexAdapter
Hypercomplex Adapter layer, in which the weights of up and down sampler modules are parameters are 1/n times of the conventional adapter layers, w
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_modeling.py:87
↓ 2 callersClassHyperComplexAdapter
Hypercomplex Adapter layer, in which the weights of up and down sampler modules are parameters are 1/n times of the conventional adapter layers, w
image_video_text_understanding/VL-T5/src/adapters/adapter_modeling.py:85
↓ 2 callersClassImageList
Structure that holds a list of images (of possibly varying sizes) as a single tensor. This works by padding the images to the same size,
image_video_text_understanding/CLIP-ViL/src/tools/vision_helpers.py:75
↓ 2 callersClassImageList
Structure that holds a list of images (of possibly varying sizes) as a single tensor. This works by padding the images to the same size,
image_video_text_understanding/CLIP-ViL/src/tasks/vision_helpers.py:75
↓ 2 callersClassInputExample
A single training/test example for the language model.
image_video_text_understanding/CLIP-ViL/src/pretrain/lxmert_data.py:34
↓ 2 callersClassInputPrompts
image_video_text_understanding/VL-T5/src/prompt/prompt_modeling.py:4
↓ 2 callersClassLLaVATrainer
visual_instruction_tuning/llava/train/llava_trainer.py:133
↓ 2 callersClassLXRTEncoder
image_video_text_understanding/CLIP-ViL/src/lxrt/entry.py:83
↓ 2 callersClassLXRTModel
LXRT Model.
image_video_text_understanding/CLIP-ViL/src/lxrt/modeling.py:970
↓ 2 callersClassLinear
commonsense_reasoning/peft/src/peft/tuners/dora.py:339
↓ 2 callersClassLinear8bitLt
commonsense_reasoning/peft/src/peft/tuners/dora.py:476
↓ 2 callersClassLoRALayer
image_video_text_understanding/VL-T5/src/lora/layers.py:12
↓ 2 callersClassLoraConfig
image_video_text_understanding/VL-T5/src/lora/config.py:5
↓ 2 callersClassLowRankAdapter
This is the low-rank adapter, in which each adapter is composed of two rank-one matrices.
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_modeling.py:10
↓ 2 callersClassLowRankAdapter
This is the low-rank adapter, in which each adapter is composed of two rank-one matrices.
image_video_text_understanding/VL-T5/src/adapters/adapter_modeling.py:9
↓ 2 callersClassLowRankLinear
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/low_rank_layer.py:7
↓ 2 callersClassLowRankLinear
image_video_text_understanding/VL-T5/src/adapters/low_rank_layer.py:7
↓ 2 callersClassModifiedResNet
A ResNet class that is similar to torchvision's but contains the following changes: - There are now 3 "stem" convolutions as opposed to 1, wi
image_video_text_understanding/VL-T5/src/clip/model.py:222
↓ 2 callersClassOneDDownsample
image_video_text_understanding/VL-T5/src/modeling_bart.py:473
↓ 2 callersClassOutputParallelAdapterLayer
image_video_text_understanding/VL-T5/src/adapters/adapter_controller.py:179
↓ 2 callersClassPHMLinear
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/hypercomplex/layers.py:36
↓ 2 callersClassPHMLinear
image_video_text_understanding/VL-T5/src/adapters/hypercomplex/layers.py:36
↓ 2 callersClassPadToGivenSize
image_video_text_understanding/CLIP-ViL/src/tasks/vision_helpers.py:46
↓ 2 callersClassResize
image_video_text_understanding/CLIP-ViL/src/tasks/vision_helpers.py:8
next →1–100 of 532, ranked by callers