MCPcopy Create free account

hub / github.com/NVlabs/DoRA / functions

Functions2,507 in github.com/NVlabs/DoRA

↓ 1 callersFunctiondefault_bpe
()
image_video_text_understanding/CLIP-ViL/clip/simple_tokenizer.py:11
↓ 1 callersFunctiondefault_bpe
()
image_video_text_understanding/VL-T5/src/clip/simple_tokenizer.py:11
↓ 1 callersMethoddisable_adapter_layers
(self)
visual_instruction_tuning/peft/src/peft/tuners/ia3.py:310
↓ 1 callersMethoddisable_adapter_layers
(self)
commonsense_reasoning/peft/src/peft/tuners/dora.py:283
↓ 1 callersFunctiondo_nms
(boxes, scores, image_shape, score_thresh, nms_thresh, mind, maxd)
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:115
↓ 1 callersFunctiondoit
(raw_image, predictor)
image_video_text_understanding/feature_extraction/detectron2_proposal_maxnms.py:74
↓ 1 callersFunctiondoit
(raw_image, raw_boxes, predictor)
image_video_text_understanding/feature_extraction/detectron2_given_box_maxnms.py:60
↓ 1 callersFunctiondownload_json
(url: str, dest: Path)
visual_instruction_tuning/predict.py:54
↓ 1 callersFunctiondownload_weights
(baseurl: str, basedest: str, files: list[str])
visual_instruction_tuning/predict.py:62
↓ 1 callersMethoddraw_labels
(self, label, box, color)
image_video_text_understanding/VL-T5/inference/visualizing_image.py:140
↓ 1 callersMethoddraw_text
( self, text, position, color="g", ha="left", )
image_video_text_understanding/VL-T5/inference/visualizing_image.py:162
↓ 1 callersMethodenable_adapter_layers
(self)
visual_instruction_tuning/peft/src/peft/tuners/ia3.py:307
↓ 1 callersMethodenable_adapter_layers
(self)
commonsense_reasoning/peft/src/peft/tuners/dora.py:280
↓ 1 callersMethodencode_text
(self, text)
image_video_text_understanding/CLIP-ViL/clip/model.py:426
↓ 1 callersMethodencode_text
(self, text)
image_video_text_understanding/VL-T5/src/clip/model.py:488
↓ 1 callersFunctioneval_model
(args)
visual_instruction_tuning/llava/eval/model_vqa_loader.py:72
↓ 1 callersFunctioneval_model
(args)
visual_instruction_tuning/llava/eval/model_vqa_mmbench.py:54
↓ 1 callersFunctioneval_model
(args)
visual_instruction_tuning/llava/eval/model_vqa_qbench.py:28
↓ 1 callersFunctioneval_model
(args)
visual_instruction_tuning/llava/eval/model_vqa_science.py:29
↓ 1 callersFunctioneval_model
(model_name, questions_file, answers_file)
visual_instruction_tuning/llava/eval/model_qa.py:33
↓ 1 callersFunctioneval_model
(args)
visual_instruction_tuning/llava/eval/run_llava.py:51
↓ 1 callersFunctioneval_model
(args)
visual_instruction_tuning/llava/eval/model_vqa.py:29
↓ 1 callersFunctioneval_pope
(answers, label_file)
visual_instruction_tuning/llava/eval/eval_pope.py:5
↓ 1 callersMethodeval_pred_list
(self, pred_list)
visual_instruction_tuning/llava/eval/m4c_evaluator.py:248
↓ 1 callersFunctionevaluate
( instructions, input=None, temperature=0.1, top_p=0.75,
commonsense_reasoning/commonsense_evaluate.py:44
↓ 1 callersFunctionevaluate
( instruction, input=None, temperature=0.1, top_p=0.75,
commonsense_reasoning/evaluate.py:37
↓ 1 callersMethodevaluate
(self, uid2ans: dict, pprint=False)
image_video_text_understanding/CLIP-ViL/src/pretrain/lxmert_data.py:765
↓ 1 callersMethodevaluate
(self, loader, dump_path=None)
image_video_text_understanding/VL-T5/src/classification.py:414
↓ 1 callersMethodevaluate
(self, loader, dump_path=None)
image_video_text_understanding/VL-T5/src/gqa.py:381
↓ 1 callersMethodevaluate_test
(self, loader, dump_path=None)
image_video_text_understanding/VL-T5/src/vcr.py:469
↓ 1 callersMethodevaluate_train
(self, quesid2ans: dict)
image_video_text_understanding/VL-T5/src/nlvr_data.py:398
↓ 1 callersMethodevaluate_val
(self, loader)
image_video_text_understanding/VL-T5/src/vcr.py:405
↓ 1 callersFunctionextract_answer
(args, sentence: str)
commonsense_reasoning/commonsense_evaluate.py:311
↓ 1 callersFunctionextract_answer_letter
(args, sentence: str)
commonsense_reasoning/evaluate.py:290
↓ 1 callersFunctionextract_answer_number
(args, sentence: str)
commonsense_reasoning/evaluate.py:272
↓ 1 callersFunctionfast_rcnn_inference_single_image
( boxes, scores, image_shape, score_thresh, nms_thresh, topk_per_image )
image_video_text_understanding/feature_extraction/detectron2_proposal_maxnms.py:43
↓ 1 callersFunctionfind_all_linear_names
(model)
visual_instruction_tuning/llava/train/train.py:167
↓ 1 callersFunctionfind_all_linear_names
(model)
visual_instruction_tuning/llava/train/train_dora.py:178
↓ 1 callersFunctionfind_top_rpn_proposals
Args: proposals (list[Tensor]): (L, N, Hi*Wi*A, 4). pred_objectness_logits: tensors of length L. nms_thresh (float): IoU thres
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:255
↓ 1 callersMethodforward
(self, image, text)
image_video_text_understanding/CLIP-ViL/clip/model.py:441
↓ 1 callersMethodforward
Args: images (torch.Tensor): input images of length `N` features (dict[str: Tensor]) gt_instances
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:1559
↓ 1 callersMethodforward
(self, image, text)
image_video_text_understanding/VL-T5/src/clip/model.py:503
↓ 1 callersMethodforward
( self, input_ids=None, attention_mask=None, decoder_input_ids=None, d
image_video_text_understanding/VL-T5/src/my_transformers/modeling_bart.py:1331
↓ 1 callersMethodfreeze
(self)
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:815
↓ 1 callersMethodfreeze_whole_model
(self)
image_video_text_understanding/CLIP-ViL/src/tasks/gqa.py:222
↓ 1 callersMethodfreeze_whole_model
(self)
image_video_text_understanding/CLIP-ViL/src/tasks/snli.py:241
↓ 1 callersMethodfreeze_whole_model
(self)
image_video_text_understanding/CLIP-ViL/src/tasks/vqa.py:237
↓ 1 callersMethodfrom_dict
Constructs a `BertConfig` from a Python dictionary of parameters.
image_video_text_understanding/CLIP-ViL/src/lxrt/modeling.py:211
↓ 1 callersMethodfrom_json_file
Constructs a `BertConfig` from a json file of parameters.
image_video_text_understanding/CLIP-ViL/src/lxrt/modeling.py:219
↓ 1 callersMethodfrom_pretrained
r""" This method loads the configuration of your adapter model from a directory. Args: pretrained_model_name_or_path (`st
visual_instruction_tuning/peft/src/peft/utils/config.py:103
↓ 1 callersMethodfrom_pretrained
r""" This method loads the configuration of your adapter model from a directory. Args: pretrained_model_name_or_path (`st
commonsense_reasoning/peft/src/peft/utils/config.py:88
↓ 1 callersMethodfrom_str
(cls, name)
visual_instruction_tuning/llava/serve/controller.py:33
↓ 1 callersFunctionfused_init_helper_
(module: nn.Module, init_fn_)
visual_instruction_tuning/llava/model/language_model/mpt/param_init_fns.py:17
↓ 1 callersFunctiongelu
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:118
↓ 1 callersFunctiongen_slopes
(n_heads, alibi_bias_max=8, device=None)
visual_instruction_tuning/llava/model/language_model/mpt/attention.py:283
↓ 1 callersMethodgenerate_cell_anchors
anchors are continuous geometric rectangles centered on one feature map point sample. We can later build the set of anchors
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:1412
↓ 1 callersFunctiongenerate_prompt
(instruction, input=None)
commonsense_reasoning/commonsense_evaluate.py:164
↓ 1 callersFunctiongenerate_prompt
(instruction, input=None)
commonsense_reasoning/generate.py:168
↓ 1 callersFunctiongenerate_prompt
(instruction, input=None)
commonsense_reasoning/evaluate.py:141
↓ 1 callersMethodgenerate_stream
(self, params)
visual_instruction_tuning/llava/serve/model_worker.py:123
↓ 1 callersMethodgenerate_stream_gate
(self, params)
visual_instruction_tuning/llava/serve/model_worker.py:194
↓ 1 callersMethodgetMask
(self, ref)
image_video_text_understanding/VL-T5/src/refcoco_utils.py:295
↓ 1 callersMethodget_anls
(self, s1, s2)
visual_instruction_tuning/llava/eval/m4c_evaluator.py:282
↓ 1 callersMethodget_area
Args pos: [B, N, 4] (x1, x2, y1, y2) Return area : [B, N]
image_video_text_understanding/VL-T5/src/modeling_bart.py:128
↓ 1 callersMethodget_area
Args pos: [B, N, 4] (x1, x2, y1, y2) Return area : [B, N]
image_video_text_understanding/VL-T5/src/modeling_bart.py:233
↓ 1 callersMethodget_area
Args pos: [B, N, 4] (x1, x2, y1, y2) Return area : [B, N]
image_video_text_understanding/VL-T5/src/modeling_bart.py:347
↓ 1 callersMethodget_area
Args pos: [B, N, 4] (x1, x2, y1, y2) Return area : [B, N]
image_video_text_understanding/VL-T5/src/modeling_t5.py:109
↓ 1 callersFunctionget_args
()
visual_instruction_tuning/llava/eval/eval_textvqa.py:9
↓ 1 callersFunctionget_args
()
visual_instruction_tuning/llava/eval/eval_science_qa_gpt4.py:9
↓ 1 callersFunctionget_args
()
visual_instruction_tuning/llava/eval/eval_science_qa.py:8
↓ 1 callersFunctionget_args
()
visual_instruction_tuning/llava/eval/eval_science_qa_gpt4_requery.py:9
↓ 1 callersFunctionget_args
()
visual_instruction_tuning/scripts/convert_mmbench_for_submission.py:6
↓ 1 callersFunctionget_args
()
visual_instruction_tuning/scripts/convert_seed_for_submission.py:6
↓ 1 callersMethodget_base_model
Returns the base model.
commonsense_reasoning/peft/src/peft/peft_model.py:328
↓ 1 callersFunctionget_chunk
(lst, n, k)
visual_instruction_tuning/llava/eval/model_vqa_loader.py:25
↓ 1 callersFunctionget_chunk
(lst, n, k)
visual_instruction_tuning/llava/eval/model_vqa_mmbench.py:28
↓ 1 callersFunctionget_chunk
(lst, n, k)
visual_instruction_tuning/llava/eval/model_vqa_science.py:24
↓ 1 callersFunctionget_chunk
(lst, n, k)
visual_instruction_tuning/llava/eval/model_vqa.py:24
↓ 1 callersFunctionget_class_name
(path)
image_video_text_understanding/VL-T5/src/classification_raw_data.py:33
↓ 1 callersFunctionget_class_name
(path)
image_video_text_understanding/VL-T5/src/classification_clip_data.py:30
↓ 1 callersMethodget_config_dict
(cls, pretrained_model_name_or_path: str, **kwargs)
image_video_text_understanding/VL-T5/inference/utils.py:183
↓ 1 callersMethodget_decoder
(self)
image_video_text_understanding/VL-T5/src/my_transformers/modeling_bart.py:1321
↓ 1 callersMethodget_embedding
Concatenates the task embedding with the embedding for the layer id and returns the final joint embedding.
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_hypernetwork.py:107
↓ 1 callersMethodget_embedding
Concatenates the task embedding with the embedding for the layer id and returns the final joint embedding.
image_video_text_understanding/VL-T5/src/adapters/adapter_hypernetwork.py:107
↓ 1 callersMethodget_encoder
(self)
image_video_text_understanding/VL-T5/src/my_transformers/modeling_bart.py:1318
↓ 1 callersFunctionget_eval
(content: str, max_tokens: int)
visual_instruction_tuning/llava/eval/eval_gpt_review_bench.py:11
↓ 1 callersFunctionget_eval
(content: str, max_tokens: int)
visual_instruction_tuning/llava/eval/eval_gpt_review_visual.py:11
↓ 1 callersFunctionget_from_cache
Given a URL, look for the corresponding dataset in the local cache. If it's not there, download it. Then return the path to the cached file.
image_video_text_understanding/CLIP-ViL/src/lxrt/file_utils.py:172
↓ 1 callersFunctionget_from_cache
( url, cache_dir=None, force_download=False, proxies=None, etag_timeout=10, resume_dow
image_video_text_understanding/VL-T5/inference/utils.py:292
↓ 1 callersFunctionget_image_from_url
(url)
image_video_text_understanding/VL-T5/inference/utils.py:517
↓ 1 callersFunctionget_iou
anchors: (N, 4) torch floattensor gt_boxes: (K, 4) torch floattensor overlaps: (N, K) ndarray of overlap between boxes and query_boxes
image_video_text_understanding/VL-T5/src/utils.py:91
↓ 1 callersFunctionget_mm_adapter_state_maybe_zero_3
(named_params, keys_to_match)
visual_instruction_tuning/llava/train/train.py:161
↓ 1 callersFunctionget_mm_adapter_state_maybe_zero_3
(named_params, keys_to_match)
visual_instruction_tuning/llava/train/train_dora.py:172
↓ 1 callersFunctionget_mm_adapter_state_maybe_zero_3
(named_params, keys_to_match)
visual_instruction_tuning/llava/train/llava_trainer.py:32
↓ 1 callersFunctionget_modality_length_grouped_indices
(lengths, batch_size, world_size, generator=None)
visual_instruction_tuning/llava/train/llava_trainer.py:60
↓ 1 callersFunctionget_optimizer
(optim)
image_video_text_understanding/CLIP-ViL/src/param.py:11
↓ 1 callersFunctionget_optimizer
(optim, verbose=False)
image_video_text_understanding/VL-T5/src/param.py:38
↓ 1 callersFunctionget_options
(row, options)
visual_instruction_tuning/llava/eval/model_vqa_mmbench.py:44
↓ 1 callersFunctionget_peft_state_maybe_zero_3
(named_params, bias)
visual_instruction_tuning/llava/train/train.py:128
↓ 1 callersFunctionget_peft_state_maybe_zero_3
(named_params, bias)
visual_instruction_tuning/llava/train/train_dora.py:138
← previousnext →701–800 of 2,507, ranked by callers