MCPcopy Create free account

hub / github.com/NVlabs/DoRA / functions

Functions2,507 in github.com/NVlabs/DoRA

↓ 1 callersMethodsetEvalQA
(self, quesId, acc)
image_video_text_understanding/VL-T5/src/vqa_data.py:676
↓ 1 callersMethodsetEvalQuesType
(self, quesId, quesType, acc)
image_video_text_understanding/VL-T5/src/vqa_clip_data.py:691
↓ 1 callersMethodsetEvalQuesType
(self, quesId, quesType, acc)
image_video_text_understanding/VL-T5/src/vqa_raw_data.py:664
↓ 1 callersMethodsetEvalQuesType
(self, quesId, quesType, acc)
image_video_text_understanding/VL-T5/src/vqa_data.py:679
↓ 1 callersMethodset_low_quality_matches_
Produce additional matches for predictions that have only low-quality matches. Specifically, for each ground-truth G find the set of
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:604
↓ 1 callersFunctionset_peft_model_state_dict
Set the state dict of the Peft model. Args: model ([`PeftModel`]): The Peft model. peft_model_state_dict (`dict`): The state
visual_instruction_tuning/peft/src/peft/utils/save_and_load.py:112
↓ 1 callersMethodset_phm_rule
(self)
image_video_text_understanding/VL-T5/src/modeling_bart.py:1363
↓ 1 callersMethodset_phm_rule
(self)
image_video_text_understanding/VL-T5/src/modeling_t5.py:484
↓ 1 callersMethodset_task_embeddings
(self, tasks)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_utils.py:80
↓ 1 callersMethodset_task_embeddings
(self, tasks)
image_video_text_understanding/VL-T5/src/adapters/adapter_utils.py:80
↓ 1 callersFunctionshift_tokens_right
Shift input ids one token to the right. Args: input_ids (`torch.LongTensor` of shape `(batch_size, sequence_length)`): input ids
visual_instruction_tuning/peft/src/peft/utils/other.py:117
↓ 1 callersFunctionshift_tokens_right
Shift input ids one token to the right. Args: input_ids (`torch.LongTensor` of shape `(batch_size, sequence_length)`): input ids
commonsense_reasoning/peft/src/peft/utils/other.py:95
↓ 1 callersMethodshowRef
(self, ref, seg_box='seg')
image_video_text_understanding/VL-T5/src/refcoco_utils.py:252
↓ 1 callersFunctionsmall_param_init_fn_
(module: nn.Module, n_layers: int, d_model: int, init_div_is_residual: Union[int, float, str, bool]=True, emb_
visual_instruction_tuning/llava/model/language_model/mpt/param_init_fns.py:137
↓ 1 callersFunctionsmart_tokenizer_and_embedding_resize
Resize tokenizer and embedding. Note: This is the unoptimized version that may make your embedding size not be divisible by 64.
visual_instruction_tuning/llava/train/train.py:222
↓ 1 callersFunctionsmart_tokenizer_and_embedding_resize
Resize tokenizer and embedding. Note: This is the unoptimized version that may make your embedding size not be divisible by 64.
visual_instruction_tuning/llava/train/train_dora.py:234
↓ 1 callersFunctionsplit_list
Split a list into n (roughly) equal-sized chunks
visual_instruction_tuning/llava/eval/model_vqa_loader.py:19
↓ 1 callersFunctionsplit_list
Split a list into n (roughly) equal-sized chunks
visual_instruction_tuning/llava/eval/model_vqa_mmbench.py:22
↓ 1 callersFunctionsplit_list
Split a list into n (roughly) equal-sized chunks
visual_instruction_tuning/llava/eval/model_vqa_science.py:18
↓ 1 callersFunctionsplit_list
Split a list into n (roughly) equal-sized chunks
visual_instruction_tuning/llava/eval/model_vqa.py:18
↓ 1 callersFunctionsplit_to_even_chunks
Split a list of indices into `chunks` chunks of roughly equal lengths.
visual_instruction_tuning/llava/train/llava_trainer.py:38
↓ 1 callersMethodstem
(x)
image_video_text_understanding/VL-T5/src/clip/model.py:276
↓ 1 callersMethodto_dict
Serializes this instance to a Python dictionary.
image_video_text_understanding/CLIP-ViL/src/lxrt/modeling.py:228
↓ 1 callersMethodto_dict
(self)
image_video_text_understanding/VL-T5/inference/utils.py:144
↓ 1 callersFunctionto_gpu
(tensor, device = None)
image_video_text_understanding/CLIP-ViL/src/pretrain/lxmert_pretrain.py:94
↓ 1 callersMethodto_json_string
Serializes this instance to a JSON string.
image_video_text_understanding/CLIP-ViL/src/lxrt/modeling.py:233
↓ 1 callersMethodtrain
(self, train_tuple, eval_tuple)
image_video_text_understanding/CLIP-ViL/src/tasks/gqa.py:287
↓ 1 callersMethodtrain
(self, train_tuple, eval_tuple)
image_video_text_understanding/CLIP-ViL/src/tasks/snli.py:306
↓ 1 callersMethodtrain
(self, train_tuple, eval_tuple)
image_video_text_understanding/CLIP-ViL/src/tasks/vqa.py:302
↓ 1 callersMethodtrain
(self, train_tuple: DataTuple, eval_tuple: DataTuple)
image_video_text_understanding/CLIP-ViL/src/pretrain/lxmert_pretrain.py:289
↓ 1 callersMethodtrain
(self)
image_video_text_understanding/VL-T5/src/classification.py:164
↓ 1 callersMethodtrain
(self)
image_video_text_understanding/VL-T5/src/gqa.py:149
↓ 1 callersMethodtrain
(self)
image_video_text_understanding/VL-T5/src/refcoco.py:118
↓ 1 callersMethodtrain
(self)
image_video_text_understanding/VL-T5/src/pretrain.py:150
↓ 1 callersMethodtrain
(self)
image_video_text_understanding/VL-T5/src/nlvr.py:166
↓ 1 callersMethodtrain
(self)
image_video_text_understanding/VL-T5/src/how2qa.py:159
↓ 1 callersMethodtrain
(self)
image_video_text_understanding/VL-T5/src/multitask.py:175
↓ 1 callersMethodtrain
(self)
image_video_text_understanding/VL-T5/src/vcr.py:124
↓ 1 callersMethodtrain
(self)
image_video_text_understanding/VL-T5/src/yc2c.py:159
↓ 1 callersMethodtrain
(self)
image_video_text_understanding/VL-T5/src/multitask_video.py:166
↓ 1 callersMethodtrain
(self)
image_video_text_understanding/VL-T5/src/pretrain_vcr.py:125
↓ 1 callersMethodtrain
(self)
image_video_text_understanding/VL-T5/src/tvqa.py:159
↓ 1 callersMethodtrain
(self)
image_video_text_understanding/VL-T5/src/vqa.py:167
↓ 1 callersMethodtrain
(self)
image_video_text_understanding/VL-T5/src/mmt.py:118
↓ 1 callersMethodtrain
(self)
image_video_text_understanding/VL-T5/src/caption.py:151
↓ 1 callersMethodtrain
(self)
image_video_text_understanding/VL-T5/src/activitynet.py:158
↓ 1 callersMethodtraining
(self, images, image_shapes, features, gt_boxes)
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:1533
↓ 1 callersFunctiontranslate_state_dict_key
(k)
commonsense_reasoning/export_state_dict_checkpoint.py:73
↓ 1 callersFunctiontryload
(stream)
image_video_text_understanding/VL-T5/inference/extracting_data.py:128
↓ 1 callersFunctionunfreeze_parameters
(model, args)
image_video_text_understanding/VL-T5/src/modeling_bart.py:1682
↓ 1 callersMethodunfreeze_parameters
(self)
image_video_text_understanding/CLIP-ViL/src/tasks/gqa.py:226
↓ 1 callersMethodunfreeze_parameters
(self)
image_video_text_understanding/CLIP-ViL/src/tasks/snli.py:245
↓ 1 callersMethodunfreeze_parameters
(self)
image_video_text_understanding/CLIP-ViL/src/tasks/vqa.py:241
↓ 1 callersMethodunmerge
(self)
visual_instruction_tuning/peft/src/peft/tuners/adalora.py:421
↓ 1 callersMethodunmerge
(self)
visual_instruction_tuning/peft/src/peft/tuners/lora.py:873
↓ 1 callersMethodunmerge
(self)
visual_instruction_tuning/peft/src/peft/tuners/lora.py:958
↓ 1 callersFunctionunpermute
(w)
commonsense_reasoning/export_state_dict_checkpoint.py:65
↓ 1 callersMethodupdate
(self, loss_dict)
image_video_text_understanding/CLIP-ViL/src/utils.py:16
↓ 1 callersMethodupdate_ipt
(self, model)
visual_instruction_tuning/peft/src/peft/tuners/adalora.py:651
↓ 1 callersMethodupdate_layer
(self, adapter_name, r, lora_alpha, lora_dropout, init_lora_weights, Wdecompose)
visual_instruction_tuning/peft/src/peft/tuners/dora.py:632
↓ 1 callersFunctionurl_to_filename
Convert `url` into a hashed filename in a repeatable way. If `etag` is specified, append its hash to the url's, delimited by a period.
image_video_text_understanding/CLIP-ViL/src/lxrt/file_utils.py:37
↓ 1 callersFunctionurl_to_filename
(url, etag=None)
image_video_text_understanding/VL-T5/inference/utils.py:407
↓ 1 callersMethodvalid_batch
(self, batch)
image_video_text_understanding/CLIP-ViL/src/pretrain/lxmert_pretrain.py:281
↓ 1 callersMethodvcr_evaluate
(self, loader)
image_video_text_understanding/VL-T5/src/multitask.py:786
↓ 1 callersFunctionviolates_moderation
Check whether the text violates OpenAI moderation API.
visual_instruction_tuning/llava/utils.py:102
↓ 1 callersMethodvqa_evaluate
(self, loader, dump_path=None)
image_video_text_understanding/VL-T5/src/multitask.py:676
↓ 1 callersFunctionwhitespace_clean
(text)
image_video_text_understanding/CLIP-ViL/clip/simple_tokenizer.py:56
↓ 1 callersFunctionwhitespace_clean
(text)
image_video_text_understanding/VL-T5/src/clip/simple_tokenizer.py:56
↓ 1 callersMethodword_tokenize
(self, word)
visual_instruction_tuning/llava/eval/m4c_evaluator.py:181
↓ 1 callersMethodworker_api_generate_stream
(self, params)
visual_instruction_tuning/llava/serve/controller.py:193
↓ 1 callersMethodworker_api_get_status
(self)
visual_instruction_tuning/llava/serve/controller.py:220
↓ 1 callersFunctionxywh_to_xyxy
Convert [x y w h] box format to [x1 y1 x2 y2] format.
image_video_text_understanding/VL-T5/src/utils.py:136
MethodLM_LN_eval
(model)
image_video_text_understanding/VL-T5/src/trainer_base.py:348
MethodT
(w)
image_video_text_understanding/VL-T5/src/lora/layers.py:129
MethodT
(w)
image_video_text_understanding/VL-T5/src/lora/layers.py:217
MethodT
(w)
image_video_text_understanding/VL-T5/src/lora/controller.py:57
Method__call__
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
visual_instruction_tuning/llava/mm_utils.py:100
Method__call__
(self, item)
visual_instruction_tuning/llava/eval/m4c_evaluator.py:213
Method__call__
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
visual_instruction_tuning/llava/eval/model_qa.py:21
Method__call__
(self, instances: Sequence[Dict])
visual_instruction_tuning/llava/train/train.py:720
Method__call__
(self, instances: Sequence[Dict])
visual_instruction_tuning/llava/train/train_dora.py:732
Method__call__
(self, features: List[Dict[str, Union[List[int], torch.Tensor]]])
visual_instruction_tuning/peft/tests/test_gpu_examples.py:63
Method__call__
(self, image, target=None)
image_video_text_understanding/CLIP-ViL/src/tools/vision_helpers.py:38
Method__call__
(self, image, target=None)
image_video_text_understanding/CLIP-ViL/src/tools/vision_helpers.py:51
Method__call__
(self, image, target=None)
image_video_text_understanding/CLIP-ViL/src/tasks/vision_helpers.py:38
Method__call__
(self, image, target=None)
image_video_text_understanding/CLIP-ViL/src/tasks/vision_helpers.py:51
Method__call__
(self)
image_video_text_understanding/VL-T5/inference/extracting_data.py:98
Method__call__
(self, imgs)
image_video_text_understanding/VL-T5/inference/processing_image.py:40
Method__call__
(self, images, single_image=False)
image_video_text_understanding/VL-T5/inference/processing_image.py:100
Method__call__
Args: match_quality_matrix (Tensor[float]): an MxN tensor, containing the pairwise quality between M ground-truth elements and N
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:566
Method__call__
( self, obj_logits, attr_logits, box_deltas, pred_boxes, featu
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:1227
Method__call__
(self, image, target=None)
image_video_text_understanding/VL-T5/src/vis_encoder.py:51
Method__call__
(self, image, target=None)
image_video_text_understanding/VL-T5/src/vis_encoder.py:61
Method__del__
(self)
image_video_text_understanding/CLIP-ViL/src/tools/lmdb_dataset.py:55
Method__del__
(self)
image_video_text_understanding/CLIP-ViL/src/tasks/snli_data.py:136
Method__dict__
(self)
commonsense_reasoning/peft/src/peft/utils/config.py:58
Method__getattr__
(self, attr)
visual_instruction_tuning/llava/utils.py:70
Method__getattr__
Forward missing attributes to the wrapped module.
visual_instruction_tuning/peft/src/peft/peft_model.py:408
Method__getattr__
Forward missing attributes to the wrapped module.
visual_instruction_tuning/peft/src/peft/tuners/ia3.py:286
Method__getattr__
Forward missing attributes to the wrapped module.
visual_instruction_tuning/peft/src/peft/tuners/dora.py:436
← previousnext →1,001–1,100 of 2,507, ranked by callers