MCPcopy Create free account

hub / github.com/NVlabs/DoRA / functions

Functions2,507 in github.com/NVlabs/DoRA

↓ 1 callersFunctionmark_only_lora_as_trainable
(model: nn.Module, bias: str = "none")
commonsense_reasoning/peft/src/peft/tuners/dora.py:298
↓ 1 callersFunctionmark_only_lora_as_trainable
(model: nn.Module, bias: str = "none")
commonsense_reasoning/peft/src/peft/tuners/lora.py:249
↓ 1 callersMethodmask_to_budget
(self, model, budget)
visual_instruction_tuning/peft/src/peft/tuners/adalora.py:676
↓ 1 callersMethodmask_using_rank_pattern
(self, model, rank_pattern)
visual_instruction_tuning/peft/src/peft/tuners/adalora.py:740
↓ 1 callersFunctionmatvec_product
Functional method to compute the generalized matrix-vector product based on the paper "Parameterization of Hypercomplex Multiplications (2020
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/hypercomplex/layers.py:11
↓ 1 callersFunctionmatvec_product
Functional method to compute the generalized matrix-vector product based on the paper "Parameterization of Hypercomplex Multiplications (2020
image_video_text_understanding/VL-T5/src/adapters/hypercomplex/layers.py:11
↓ 1 callersFunctionmaybe_zero_3
(param, ignore_status=False, name=None)
visual_instruction_tuning/llava/train/llava_trainer.py:18
↓ 1 callersMethodmerge
(self)
visual_instruction_tuning/peft/src/peft/tuners/ia3.py:442
↓ 1 callersFunctionmerge_lora
(args)
visual_instruction_tuning/scripts/merge_lora_weights.py:6
↓ 1 callersMethodmmt_predict
(self, loader, dump_path=None)
image_video_text_understanding/VL-T5/src/multitask.py:878
↓ 1 callersMethodnlvr_predict
Predict the answers to questions in a data split. :param eval_tuple: The data tuple to be evaluated. :param dump: The path of
image_video_text_understanding/VL-T5/src/multitask.py:724
↓ 1 callersFunctionnorm_box
(boxes, raw_sizes)
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:36
↓ 1 callersMethodnormalize_answer
(self, resAns)
image_video_text_understanding/VL-T5/src/vqa_clip_data.py:652
↓ 1 callersMethodnormalize_answer
(self, resAns)
image_video_text_understanding/VL-T5/src/vqa_raw_data.py:625
↓ 1 callersMethodnormalize_answer
(self, resAns)
image_video_text_understanding/VL-T5/src/vqa_data.py:640
↓ 1 callersMethodoracle_score
(data_tuple)
image_video_text_understanding/CLIP-ViL/src/tasks/gqa.py:394
↓ 1 callersMethodoutput_fc
(self, lang_input, visn_input, task=None)
image_video_text_understanding/CLIP-ViL/src/lxrt/modeling.py:462
↓ 1 callersFunctionparse_args
()
visual_instruction_tuning/llava/eval/summarize_gpt_review.py:9
↓ 1 callersFunctionparse_args
()
visual_instruction_tuning/scripts/convert_vizwiz_for_submission.py:8
↓ 1 callersFunctionparse_args
()
visual_instruction_tuning/scripts/extract_mm_projector.py:15
↓ 1 callersFunctionparse_args
()
visual_instruction_tuning/scripts/convert_vqav2_for_submission.py:8
↓ 1 callersFunctionparse_args
()
image_video_text_understanding/CLIP-ViL/src/param.py:96
↓ 1 callersFunctionparse_args
()
commonsense_reasoning/commonsense_evaluate.py:210
↓ 1 callersFunctionparse_args
()
commonsense_reasoning/evaluate.py:179
↓ 1 callersFunctionparse_score
(review)
visual_instruction_tuning/llava/eval/eval_gpt_review_bench.py:36
↓ 1 callersFunctionparse_score
(review)
visual_instruction_tuning/llava/eval/eval_gpt_review.py:39
↓ 1 callersFunctionparse_score
(review)
visual_instruction_tuning/llava/eval/eval_gpt_review_visual.py:36
↓ 1 callersFunctionpatch_tensor_constructor
(fn)
visual_instruction_tuning/llava/model/language_model/mpt/meta_init_context.py:76
↓ 1 callersMethodpredict
Predict the answers to questions in a data split. :param eval_tuple: The data tuple to be evaluated. :param dump: The path of
image_video_text_understanding/VL-T5/src/nlvr.py:399
↓ 1 callersMethodpredict
(self, loader, dump_path=None)
image_video_text_understanding/VL-T5/src/mmt.py:342
↓ 1 callersMethodpredict
Predict the answers to questions in a data split. :param eval_tuple: The data tuple to be evaluated. :param dump: The path of
image_video_text_understanding/VL-T5/src/caption.py:358
↓ 1 callersMethodpredict_objectness_logits
Returns: pred_objectness_logits (list[Tensor]) -> (N, Hi*Wi*A).
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:689
↓ 1 callersMethodpredict_proposals
(self)
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:672
↓ 1 callersFunctionprepare_config
Prepare the config based on the llama model type.
visual_instruction_tuning/peft/src/peft/tuners/adaption_prompt.py:118
↓ 1 callersMethodprepare_inputs_for_testing
(self)
visual_instruction_tuning/peft/tests/test_stablediffusion.py:88
↓ 1 callersFunctionpreprocess
Given a list of sources, each is a conversation list. This transform: 1. Add signal '### ' at the beginning each sentence, with end signal '\
visual_instruction_tuning/llava/train/train_dora.py:594
↓ 1 callersFunctionpreprocess_llama_2
( sources, tokenizer: transformers.PreTrainedTokenizer, has_image: bool = False )
visual_instruction_tuning/llava/train/train.py:330
↓ 1 callersFunctionpreprocess_llama_2
( sources, tokenizer: transformers.PreTrainedTokenizer, has_image: bool = False )
visual_instruction_tuning/llava/train/train_dora.py:342
↓ 1 callersFunctionpreprocess_mpt
( sources, tokenizer: transformers.PreTrainedTokenizer, )
visual_instruction_tuning/llava/train/train.py:494
↓ 1 callersFunctionpreprocess_mpt
( sources, tokenizer: transformers.PreTrainedTokenizer, )
visual_instruction_tuning/llava/train/train_dora.py:506
↓ 1 callersFunctionpreprocess_multimodal
( sources: Sequence[str], data_args: DataArguments )
visual_instruction_tuning/llava/train/train.py:306
↓ 1 callersFunctionpreprocess_multimodal
( sources: Sequence[str], data_args: DataArguments )
visual_instruction_tuning/llava/train/train_dora.py:318
↓ 1 callersFunctionpreprocess_plain
( sources: Sequence[str], tokenizer: transformers.PreTrainedTokenizer, )
visual_instruction_tuning/llava/train/train.py:560
↓ 1 callersFunctionpreprocess_plain
( sources: Sequence[str], tokenizer: transformers.PreTrainedTokenizer, )
visual_instruction_tuning/llava/train/train_dora.py:572
↓ 1 callersFunctionpreprocess_v1
( sources, tokenizer: transformers.PreTrainedTokenizer, has_image: bool = False )
visual_instruction_tuning/llava/train/train.py:412
↓ 1 callersFunctionpreprocess_v1
( sources, tokenizer: transformers.PreTrainedTokenizer, has_image: bool = False )
visual_instruction_tuning/llava/train/train_dora.py:424
↓ 1 callersFunctionpretty_print_semaphore
(semaphore)
visual_instruction_tuning/llava/utils.py:123
↓ 1 callersMethodprint_trainable_parameters
Prints the number of trainable parameters in the model.
commonsense_reasoning/peft/src/peft/peft_model.py:280
↓ 1 callersMethodprint_trainable_params_percentage
(self, model)
image_video_text_understanding/CLIP-ViL/src/tasks/gqa.py:198
↓ 1 callersMethodprint_trainable_params_percentage
(self, model)
image_video_text_understanding/CLIP-ViL/src/tasks/snli.py:217
↓ 1 callersMethodprint_trainable_params_percentage
(self, model)
image_video_text_understanding/CLIP-ViL/src/tasks/vqa.py:213
↓ 1 callersMethodprocess_digit_article
(self, in_text)
visual_instruction_tuning/llava/eval/m4c_evaluator.py:198
↓ 1 callersMethodprocess_punctuation
(self, in_text)
visual_instruction_tuning/llava/eval/m4c_evaluator.py:186
↓ 1 callersFunctionprompt_processor
(prompt)
visual_instruction_tuning/llava/eval/eval_textvqa.py:17
↓ 1 callersFunctionrandom_feat
(feats)
image_video_text_understanding/CLIP-ViL/src/pretrain/lxmert_data.py:716
↓ 1 callersMethodrandom_feat
Get a random obj feat from the dataset.
image_video_text_understanding/CLIP-ViL/src/pretrain/lxmert_data.py:366
↓ 1 callersFunctionrandom_word
Masking some random tokens for Language Model task with probabilities as in the original BERT paper. :param tokens: list of str, tokenized se
image_video_text_understanding/CLIP-ViL/src/pretrain/lxmert_data.py:677
↓ 1 callersMethodreceive_heart_beat
(self, worker_name: str, queue_length: int)
visual_instruction_tuning/llava/serve/controller.py:173
↓ 1 callersMethodrefresh_all_workers
(self)
visual_instruction_tuning/llava/serve/controller.py:104
↓ 1 callersMethodremove_stable_workers_by_expiration
(self)
visual_instruction_tuning/llava/serve/controller.py:183
↓ 1 callersFunctionreplace_llama_attn_with_xformers_attn
()
visual_instruction_tuning/llava/train/llama_xformers_attn_monkey_patch.py:19
↓ 1 callersMethodreset_ia3_parameters
(self, adapter_name)
visual_instruction_tuning/peft/src/peft/tuners/ia3.py:408
↓ 1 callersMethodreset_lora_parameters
(self, adapter_name)
visual_instruction_tuning/peft/src/peft/tuners/dora.py:659
↓ 1 callersMethodreset_lora_parameters
(self, adapter_name)
visual_instruction_tuning/peft/src/peft/tuners/adalora.py:369
↓ 1 callersMethodreset_parameters
(self)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/low_rank_layer.py:22
↓ 1 callersMethodreset_parameters
(self)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/hypercomplex/layers.py:126
↓ 1 callersMethodreset_parameters
(self)
image_video_text_understanding/VL-T5/src/lora/layers.py:55
↓ 1 callersMethodreset_parameters
(self)
image_video_text_understanding/VL-T5/src/lora/layers.py:201
↓ 1 callersMethodreset_parameters
(self)
image_video_text_understanding/VL-T5/src/lora/layers.py:294
↓ 1 callersMethodreset_parameters
(self)
image_video_text_understanding/VL-T5/src/lora/controller.py:48
↓ 1 callersMethodreset_parameters
(self)
image_video_text_understanding/VL-T5/src/adapters/low_rank_layer.py:22
↓ 1 callersMethodreset_parameters
(self)
image_video_text_understanding/VL-T5/src/adapters/hypercomplex/layers.py:126
↓ 1 callersMethodreset_parameters
(self)
commonsense_reasoning/peft/src/peft/tuners/bottleneck.py:440
↓ 1 callersMethodreset_parameters
(self)
commonsense_reasoning/peft/src/peft/tuners/lora.py:411
↓ 1 callersMethodreset_parameters
(self)
commonsense_reasoning/peft/src/peft/tuners/lora.py:525
↓ 1 callersMethodreset_parameters
(self)
commonsense_reasoning/peft/src/peft/tuners/lora.py:594
↓ 1 callersFunctionresize
(input_tensor, length)
image_video_text_understanding/VL-T5/src/video/tvr_data.py:32
↓ 1 callersFunctionresize
(input_tensor, length)
image_video_text_understanding/VL-T5/src/video/tvc_data.py:34
↓ 1 callersFunctionresize
(input_tensor, length)
image_video_text_understanding/VL-T5/src/video/yc2c_data.py:34
↓ 1 callersFunctionresize
(input_tensor, length)
image_video_text_understanding/VL-T5/src/video/how2qa_data.py:34
↓ 1 callersFunctionresize
(input_tensor, length)
image_video_text_understanding/VL-T5/src/video/tvqa_data.py:34
↓ 1 callersFunctionresize
(input_tensor, length)
image_video_text_understanding/VL-T5/src/video/tvqa_matching_data.py:34
↓ 1 callersMethodresize_modules_by_rank_pattern
(self, rank_pattern, adapter_name)
visual_instruction_tuning/peft/src/peft/tuners/adalora.py:250
↓ 1 callersMethodresize_output_dim
(self, resized_size)
image_video_text_understanding/VL-T5/src/adapters/adapter_controller.py:199
↓ 1 callersMethodresize_state_dict_by_rank_pattern
(self, rank_pattern, state_dict, adapter_name)
visual_instruction_tuning/peft/src/peft/tuners/adalora.py:281
↓ 1 callersMethodresize_up_sampler
(self, resized_size)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_modeling.py:83
↓ 1 callersMethodresize_up_sampler
(self, resized_size)
image_video_text_understanding/VL-T5/src/adapters/adapter_modeling.py:81
↓ 1 callersFunctions3_etag
Check ETag on S3 object.
image_video_text_understanding/CLIP-ViL/src/lxrt/file_utils.py:144
↓ 1 callersFunctions3_get
Pull a file directly from S3.
image_video_text_understanding/CLIP-ViL/src/lxrt/file_utils.py:153
↓ 1 callersFunctionsafe_save_model_for_hf_trainer
Collects the state dict and dump to disk.
visual_instruction_tuning/llava/train/train.py:183
↓ 1 callersFunctionsafe_save_model_for_hf_trainer
Collects the state dict and dump to disk.
visual_instruction_tuning/llava/train/train_dora.py:195
↓ 1 callersMethodself_att
(self, lang_input, lang_attention_mask, visn_input, visn_attention_mask, task=None)
image_video_text_understanding/CLIP-ViL/src/lxrt/modeling.py:456
↓ 1 callersMethodsetAccuracy
(self, accQA, accQuesType, accAnsType)
image_video_text_understanding/VL-T5/src/vqa_clip_data.py:701
↓ 1 callersMethodsetAccuracy
(self, accQA, accQuesType, accAnsType)
image_video_text_understanding/VL-T5/src/vqa_raw_data.py:674
↓ 1 callersMethodsetAccuracy
(self, accQA, accQuesType, accAnsType)
image_video_text_understanding/VL-T5/src/vqa_data.py:689
↓ 1 callersMethodsetEvalAnsType
(self, quesId, ansType, acc)
image_video_text_understanding/VL-T5/src/vqa_clip_data.py:696
↓ 1 callersMethodsetEvalAnsType
(self, quesId, ansType, acc)
image_video_text_understanding/VL-T5/src/vqa_raw_data.py:669
↓ 1 callersMethodsetEvalAnsType
(self, quesId, ansType, acc)
image_video_text_understanding/VL-T5/src/vqa_data.py:684
↓ 1 callersMethodsetEvalQA
(self, quesId, acc)
image_video_text_understanding/VL-T5/src/vqa_clip_data.py:688
↓ 1 callersMethodsetEvalQA
(self, quesId, acc)
image_video_text_understanding/VL-T5/src/vqa_raw_data.py:661
← previousnext →901–1,000 of 2,507, ranked by callers