MCPcopy Create free account

hub / github.com/NVlabs/DoRA / functions

Functions2,507 in github.com/NVlabs/DoRA

↓ 1 callersFunctionget_peft_state_non_dora_maybe_zero_3
(named_params, require_grad_only=True)
visual_instruction_tuning/llava/train/train_dora.py:164
↓ 1 callersFunctionget_peft_state_non_lora_maybe_zero_3
(named_params, require_grad_only=True)
visual_instruction_tuning/llava/train/train.py:153
↓ 1 callersMethodget_prompt
(self, bsz, device)
image_video_text_understanding/VL-T5/src/modeling_bart.py:1177
↓ 1 callersMethodget_prompt
(self, bsz, device)
image_video_text_understanding/VL-T5/src/modeling_prefix_bart.py:74
↓ 1 callersMethodget_prompt
(self, bsz, device)
image_video_text_understanding/VL-T5/src/modeling_prefix_bart.py:273
↓ 1 callersMethodget_prompt_embedding_to_save
Returns the prompt embedding to save when saving the model. Only applicable when `peft_config.peft_type != PeftType.LORA`.
visual_instruction_tuning/peft/src/peft/peft_model.py:331
↓ 1 callersMethodget_prompt_embedding_to_save
Returns the prompt embedding to save when saving the model. Only applicable when `peft_config.peft_type != PeftType.LORA`.
commonsense_reasoning/peft/src/peft/peft_model.py:235
↓ 1 callersMethodget_size
(self, image_size)
image_video_text_understanding/CLIP-ViL/src/tools/vision_helpers.py:16
↓ 1 callersMethodget_size
(self, image_size)
image_video_text_understanding/CLIP-ViL/src/tasks/vision_helpers.py:16
↓ 1 callersMethodget_size
(self, image_size)
image_video_text_understanding/VL-T5/src/vis_encoder.py:29
↓ 1 callersMethodget_task
(self, task)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_utils.py:77
↓ 1 callersMethodget_task
(self, task)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_controller.py:35
↓ 1 callersMethodget_task
(self, task)
image_video_text_understanding/VL-T5/src/prompt/prompt_controller.py:19
↓ 1 callersMethodget_task
(self, task)
image_video_text_understanding/VL-T5/src/adapters/adapter_utils.py:77
↓ 1 callersMethodget_task
(self, task)
image_video_text_understanding/VL-T5/src/adapters/adapter_controller.py:38
↓ 1 callersFunctionget_tokenize_len
(prompts)
visual_instruction_tuning/llava/train/train.py:609
↓ 1 callersFunctionget_tokenize_len
(prompts)
visual_instruction_tuning/llava/train/train_dora.py:621
↓ 1 callersMethodget_vision_tower
(self)
visual_instruction_tuning/llava/model/llava_arch.py:91
↓ 1 callersMethodgetitem_butd
(self, item: int)
image_video_text_understanding/CLIP-ViL/src/tasks/snli_data.py:338
↓ 1 callersMethodgetitem_butd
(self, item: int)
image_video_text_understanding/CLIP-ViL/src/tasks/gqa_data.py:318
↓ 1 callersMethodgetitem_butd
(self, item: int)
image_video_text_understanding/CLIP-ViL/src/tasks/vqa_data.py:311
↓ 1 callersMethodgetitem_butd
(self, item: int)
image_video_text_understanding/CLIP-ViL/src/pretrain/lxmert_data.py:467
↓ 1 callersMethodgetitem_clip
(self, item)
image_video_text_understanding/CLIP-ViL/src/tasks/snli_data.py:291
↓ 1 callersMethodgetitem_clip
(self, item)
image_video_text_understanding/CLIP-ViL/src/tasks/gqa_data.py:271
↓ 1 callersMethodgetitem_clip
(self, item)
image_video_text_understanding/CLIP-ViL/src/tasks/vqa_data.py:255
↓ 1 callersMethodgetitem_clip
(self, item)
image_video_text_understanding/CLIP-ViL/src/pretrain/lxmert_data.py:405
↓ 1 callersMethodgqa_evaluate
(self, loader, dump_path=None)
image_video_text_understanding/VL-T5/src/multitask.py:719
↓ 1 callersMethodgqa_predict
(self, loader, dump_path=None)
image_video_text_understanding/VL-T5/src/multitask.py:687
↓ 1 callersMethodgrid_anchors
(self, grid_sizes)
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:1402
↓ 1 callersFunctionhttp_get
(url, temp_file)
image_video_text_understanding/CLIP-ViL/src/lxrt/file_utils.py:160
↓ 1 callersFunctionhttp_get
( url, temp_file, proxies=None, resume_size=0, user_agent=None, )
image_video_text_understanding/VL-T5/inference/utils.py:256
↓ 1 callersFunctionhub_file_exists
r""" Checks if a file exists in a remote Hub repository.
visual_instruction_tuning/peft/src/peft/utils/hub_utils.py:20
↓ 1 callersFunctionimage_parser
(args)
visual_instruction_tuning/llava/eval/run_llava.py:29
↓ 1 callersFunctionimage_to_byte_array
(image)
image_video_text_understanding/CLIP-ViL/src/tools/resize_images.py:83
↓ 1 callersMethodinference
( self, obj_logits, attr_logits, box_deltas, pred_boxes, featu
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:1171
↓ 1 callersMethodinference
(self, outputs, images, image_shapes, features, gt_boxes=None)
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:1536
↓ 1 callersMethodinference
( self, images, image_shapes, gt_boxes=None, proposals=None, s
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:1858
↓ 1 callersMethodinit_W
(self)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/hypercomplex/layers.py:98
↓ 1 callersMethodinit_W
(self)
image_video_text_understanding/VL-T5/src/adapters/hypercomplex/layers.py:98
↓ 1 callersFunctioninit_linear_layer
Initializes the given linear module as explained in adapter paper.
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_utils.py:16
↓ 1 callersFunctioninit_linear_layer
Initializes the given linear module as explained in adapter paper.
image_video_text_understanding/VL-T5/src/adapters/adapter_utils.py:16
↓ 1 callersFunctioninit_on_device
Device initialization context manager. A context manager under which models are initialized with all parameters on the specified device.
visual_instruction_tuning/llava/model/language_model/mpt/meta_init_context.py:37
↓ 1 callersFunctioninitialize_clip
(VISUAL_CONFIG, num_patches = 240, adapter_config=None)
image_video_text_understanding/CLIP-ViL/src/lxrt/visual_transformers.py:35
↓ 1 callersMethodinitialize_parameters
(self)
image_video_text_understanding/CLIP-ViL/clip/model.py:382
↓ 1 callersMethodinitialize_parameters
(self)
image_video_text_understanding/VL-T5/src/clip/model.py:444
↓ 1 callersFunctioninitialize_vit
(VISUAL_CONFIG, model_type = "ViT-B_32", pretrained_dir = "data/ViT-B_32.npz", img_size = (384, 640), num_patc
image_video_text_understanding/CLIP-ViL/src/lxrt/visual_transformers.py:52
↓ 1 callersFunctioninsert_separator
(X, sep)
visual_instruction_tuning/llava/mm_utils.py:46
↓ 1 callersFunctionis_adaption_prompt_trainable
Return True if module is trainable under adaption prompt fine-tuning.
visual_instruction_tuning/peft/src/peft/tuners/adaption_prompt.py:99
↓ 1 callersFunctionkronecker_product
Kronecker product of matrices a and b with leading batch dimensions. Batch dimensions are broadcast. The number of them mush :type a: tor
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/hypercomplex/kronecker.py:6
↓ 1 callersFunctionkronecker_product
Kronecker product of matrices a and b with leading batch dimensions. Batch dimensions are broadcast. The number of them mush :type a: tor
image_video_text_understanding/VL-T5/src/adapters/hypercomplex/kronecker.py:6
↓ 1 callersFunctionkronecker_product_einsum_batched
Batched Version of Kronecker Products :param A: has shape (b, a, c) :param B: has shape (b, k, p) :return: (b, ak, cp)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/hypercomplex/kronecker.py:22
↓ 1 callersFunctionkronecker_product_einsum_batched
Batched Version of Kronecker Products :param A: has shape (b, a, c) :param B: has shape (b, k, p) :return: (b, ak, cp)
image_video_text_understanding/VL-T5/src/adapters/hypercomplex/kronecker.py:22
↓ 1 callersMethodlist_models
(self)
visual_instruction_tuning/llava/serve/controller.py:112
↓ 1 callersFunctionllama_apply_rotary_pos_emb
Apply rotary position embedding to query states in the Llama model. This function was adapted from: https://github.com/huggingface/trans
visual_instruction_tuning/peft/src/peft/tuners/adaption_prompt.py:44
↓ 1 callersFunctionllama_rotate_half
Rotate half the hidden dims of the input. This function was duplicated verbatim from: https://github.com/huggingface/transformers/blob/1
visual_instruction_tuning/peft/src/peft/tuners/adaption_prompt.py:29
↓ 1 callersMethodload
(module, prefix='')
image_video_text_understanding/CLIP-ViL/src/lxrt/modeling.py:947
↓ 1 callersMethodloadRefs
(self, ref_ids=[])
image_video_text_understanding/VL-T5/src/refcoco_utils.py:223
↓ 1 callersFunctionload_checkpoint
(ckp)
image_video_text_understanding/VL-T5/inference/utils.py:93
↓ 1 callersFunctionload_data
read data from dataset file Args: args: Returns:
commonsense_reasoning/commonsense_evaluate.py:186
↓ 1 callersFunctionload_data
read data from dataset file Args: args: Returns:
commonsense_reasoning/evaluate.py:163
↓ 1 callersFunctionload_from_hf
(repo_id, filename, subfolder=None)
visual_instruction_tuning/llava/model/builder.py:69
↓ 1 callersFunctionload_image
(image_file)
visual_instruction_tuning/predict.py:150
↓ 1 callersFunctionload_image
(image_file)
visual_instruction_tuning/llava/serve/cli.py:18
↓ 1 callersFunctionload_image
(image_file)
visual_instruction_tuning/llava/eval/model_vqa_qbench.py:19
↓ 1 callersFunctionload_image
(image_file)
visual_instruction_tuning/llava/eval/run_llava.py:34
↓ 1 callersFunctionload_images
(image_files)
visual_instruction_tuning/llava/eval/run_llava.py:43
↓ 1 callersMethodload_lxmert
(self, path)
image_video_text_understanding/CLIP-ViL/src/pretrain/lxmert_pretrain.py:448
↓ 1 callersFunctionload_model
load tuned model Args: args: Returns: tuple(tokenizer, model)
commonsense_reasoning/commonsense_evaluate.py:225
↓ 1 callersFunctionload_model
load tuned model Args: args: Returns: tuple(tokenizer, model)
commonsense_reasoning/evaluate.py:193
↓ 1 callersFunctionload_obj_tsv
Load object features from tsv file. :param fname: The path to the tsv file. :param topk: Only load features for top K images (lines) in the ts
image_video_text_understanding/feature_extraction/tsv_to_h5.py:18
↓ 1 callersFunctionload_state_dict
(state_dict_path, loc='cpu')
image_video_text_understanding/VL-T5/src/utils.py:63
↓ 1 callersFunctionload_tf_weights_in_bert
Load tf checkpoints in a pytorch model
image_video_text_understanding/CLIP-ViL/src/lxrt/modeling.py:57
↓ 1 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
image_video_text_understanding/CLIP-ViL/src/lxrt/tokenization.py:48
↓ 1 callersFunctionmain
(args)
visual_instruction_tuning/llava/serve/cli.py:27
↓ 1 callersFunctionmain
()
visual_instruction_tuning/llava/serve/test_message.py:9
↓ 1 callersFunctionmain
(params)
image_video_text_understanding/feature_extraction/coco_CLIP.py:83
↓ 1 callersFunctionmain
(params)
image_video_text_understanding/VL-T5/src/clip_prepro_feats.py:51
↓ 1 callersFunctionmain
( load_8bit: bool = False, base_model: str = "", lora_weights: str = "tloen/alpaca-lor
commonsense_reasoning/commonsense_evaluate.py:36
↓ 1 callersFunctionmain_worker
(gpu, args)
image_video_text_understanding/VL-T5/src/classification.py:427
↓ 1 callersFunctionmain_worker
(gpu, args)
image_video_text_understanding/VL-T5/src/tvc.py:407
↓ 1 callersFunctionmain_worker
(gpu, args)
image_video_text_understanding/VL-T5/src/gqa.py:386
↓ 1 callersFunctionmain_worker
(gpu, args)
image_video_text_understanding/VL-T5/src/refcoco.py:393
↓ 1 callersFunctionmain_worker
(gpu, args)
image_video_text_understanding/VL-T5/src/pretrain.py:445
↓ 1 callersFunctionmain_worker
(gpu, args)
image_video_text_understanding/VL-T5/src/nlvr.py:432
↓ 1 callersFunctionmain_worker
(gpu, args)
image_video_text_understanding/VL-T5/src/how2qa.py:409
↓ 1 callersFunctionmain_worker
(gpu, args)
image_video_text_understanding/VL-T5/src/multitask.py:981
↓ 1 callersFunctionmain_worker
(gpu, args)
image_video_text_understanding/VL-T5/src/vcr.py:536
↓ 1 callersFunctionmain_worker
(gpu, args)
image_video_text_understanding/VL-T5/src/yc2c.py:405
↓ 1 callersFunctionmain_worker
(gpu, args)
image_video_text_understanding/VL-T5/src/multitask_video.py:642
↓ 1 callersFunctionmain_worker
(gpu, args)
image_video_text_understanding/VL-T5/src/pretrain_vcr.py:371
↓ 1 callersFunctionmain_worker
(gpu, args)
image_video_text_understanding/VL-T5/src/tvqa.py:409
↓ 1 callersFunctionmain_worker
(gpu, args)
image_video_text_understanding/VL-T5/src/vqa.py:436
↓ 1 callersFunctionmain_worker
(gpu, args)
image_video_text_understanding/VL-T5/src/mmt.py:395
↓ 1 callersFunctionmain_worker
(gpu, args)
image_video_text_understanding/VL-T5/src/caption.py:423
↓ 1 callersFunctionmain_worker
(gpu, args)
image_video_text_understanding/VL-T5/src/activitynet.py:404
↓ 1 callersFunctionmake_delta
(base_model_path, target_model_path, delta_path, hub_repo_id)
visual_instruction_tuning/llava/model/make_delta.py:13
↓ 1 callersFunctionmake_supervised_data_module
Make dataset and collator for supervised fine-tuning.
visual_instruction_tuning/llava/train/train.py:748
↓ 1 callersFunctionmake_supervised_data_module
Make dataset and collator for supervised fine-tuning.
visual_instruction_tuning/llava/train/train_dora.py:760
↓ 1 callersFunctionmark_only_adapter_as_trainable
(model: nn.Module, bias: str = "none")
commonsense_reasoning/peft/src/peft/tuners/bottleneck.py:241
↓ 1 callersFunctionmark_only_ia3_as_trainable
(model: nn.Module)
visual_instruction_tuning/peft/src/peft/tuners/ia3.py:375
← previousnext →801–900 of 2,507, ranked by callers