MCPcopy Create free account

hub / github.com/alibaba-damo-academy/MedEvalKit / functions

Functions839 in github.com/alibaba-damo-academy/MedEvalKit

↓ 1 callersMethodresponse
(self,messages,**kwargs)
utils/utils.py:368
↓ 1 callersMethodresponse
(self,messages,**kwargs)
models/GPT/GPT.py:101
↓ 1 callersMethodresponse_async
(self,messages,**kwargs)
utils/utils.py:325
↓ 1 callersMethodresponse_async
(self,messages,**kwargs)
models/GPT/GPT.py:113
↓ 1 callersFunctionrouge
(pred,target)
utils/utils.py:39
↓ 1 callersMethodrun
(self,samples,model)
utils/MIMIC_CXR/MIMIC_CXR.py:26
↓ 1 callersFunctionrun_model
(samples, model,)
utils/MMMU/eval_val.py:16
↓ 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
models/HealthGPT/llava/peft/utils/save_and_load.py:65
↓ 1 callersFunctionset_seed
Set the seed for PyTorch (both CPU and CUDA), Python, and NumPy for reproducible results. :param seed_value: An integer value to be used as
eval.py:11
↓ 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
models/HealthGPT/llava/peft/utils/other.py:39
↓ 1 callersFunctionsplit_list
Split a list into n (roughly) equal-sized chunks
models/HealthGPT/llava/eval/model_vqa_loader.py:19
↓ 1 callersFunctionsplit_list
Split a list into n (roughly) equal-sized chunks
models/HealthGPT/llava/eval/model_vqa_mmbench.py:22
↓ 1 callersFunctionsplit_list
Split a list into n (roughly) equal-sized chunks
models/HealthGPT/llava/eval/model_vqa_science.py:18
↓ 1 callersFunctionsplit_list
Split a list into n (roughly) equal-sized chunks
models/HealthGPT/llava/eval/model_vqa.py:18
↓ 1 callersFunctionstr_similarity
(str1, str2)
utils/utils.py:68
↓ 1 callersMethodto_dict
(self)
utils/HealthBench/utils.py:16
↓ 1 callersMethodto_dict
(self)
utils/HealthBench/official_code.py:112
↓ 1 callersFunctionunpad_image
Unpads a PyTorch tensor of a padded and resized image. Args: tensor (torch.Tensor): The image tensor, assumed to be in CxHxW format.
models/HealthGPT/llava/model/llava_arch.py:100
↓ 1 callersFunctionviolates_moderation
Check whether the text violates OpenAI moderation API.
models/HealthGPT/llava/utils.py:102
↓ 1 callersMethodword_tokenize
(self, word)
models/HealthGPT/llava/eval/m4c_evaluator.py:181
↓ 1 callersMethodworker_api_generate_stream
(self, params)
models/HealthGPT/llava/serve/controller.py:193
↓ 1 callersMethodworker_api_get_status
(self)
models/HealthGPT/llava/serve/controller.py:220
Method__call__
(self, sampler: SamplerBase)
utils/HealthBench/official_code.py:438
Method__call__
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
models/HealthGPT/llava/mm_utils.py:243
Method__call__
(self, item)
models/HealthGPT/llava/eval/m4c_evaluator.py:213
Method__call__
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
models/LLava_Med/mm_utils.py:107
Method__dict__
(self)
models/HealthGPT/llava/peft/utils/config.py:54
Method__getattr__
(self, attr)
models/HealthGPT/llava/utils.py:70
Method__getattr__
Forward missing attributes to the wrapped module.
models/HealthGPT/llava/peft/peft_model.py:290
Method__getattr__
Forward missing attributes to the wrapped module.
models/HealthGPT/llava/peft/tuners/lora.py:181
Method__getitem__
(self, index)
models/HealthGPT/llava/eval/model_vqa_loader.py:39
Method__init__
(self,usage)
utils/utils.py:264
Method__init__
(self,model = None)
utils/utils.py:289
Method__init__
(self,model = "gemini-2.0-flash")
utils/utils.py:361
Method__init__
(self)
utils/base_dataset.py:11
Method__init__
(self,model,dataset_path,output_path)
utils/MedQA_USMLE/MedQA_USMLE.py:19
Method__init__
(self,model,dataset_path,output_path)
utils/Radrestruct/Radrestruct.py:13
Method__init__
(self,model,dataset_path,output_path,subject = "all")
utils/MMLU/MMLU.py:19
Method__init__
(self, criterion: str, points: float, tags: list[str])
utils/HealthBench/utils.py:8
Method__init__
(self,model,dataset_path,output_path)
utils/HealthBench/HealthBench.py:26
Method__init__
(self, criterion: str, points: float, tags: list[str])
utils/HealthBench/official_code.py:104
Method__init__
( self, grader_model: SamplerBase, num_examples: int | None = None, n_repeats:
utils/HealthBench/official_code.py:257
Method__init__
(self,model,dataset_path,output_path,split = "MM")
utils/MedXpertQA/MedXpertQA.py:17
Method__init__
(self,model,dataset_path,output_path)
utils/PMC_VQA/PMC_VQA.py:18
Method__init__
(self,model,dataset_path,output_path)
utils/PATH_VQA/PATH_VQA.py:18
Method__init__
(self,model,dataset_path,output_path)
utils/CMB/CMB.py:19
Method__init__
(self,model,dataset_path,output_path)
utils/MedQA_MCMLE/MedQA_MCMLE.py:17
Method__init__
(self,model,dataset_path,output_path)
utils/IU_XRAY/IU_XRAY.py:20
Method__init__
(self,model,dataset_path,output_path)
utils/CMMLU/CMMLU.py:19
Method__init__
(self,model,dataset_path,output_path)
utils/CheXpert_Plus/CheXpert_Plus.py:20
Method__init__
(self,model,dataset_path,output_path)
utils/OmniMedVQA/OmniMedVQA.py:17
Method__init__
(self,model,dataset_path,output_path)
utils/SLAKE/SLAKE.py:20
Method__init__
(self,model,dataset_path,output_path)
utils/VQA_RAD/VQA_RAD.py:18
Method__init__
(self,model,dataset_path,output_path)
utils/MIMIC_CXR/MIMIC_CXR.py:18
Method__init__
(self,model,dataset_path,output_path)
utils/Medbullets_op4/Medbullets_op4.py:16
Method__init__
(self,model,dataset_path,output_path)
utils/Medbullets_op5/Medbullets_op5.py:15
Method__init__
(self,model,dataset_path,output_path)
utils/MedMCQA/MedMCQA.py:18
Method__init__
(self,model,dataset_path,output_path)
utils/SuperGPQA/SuperGPQA.py:17
Method__init__
(self,model,dataset_path,output_path)
utils/PubMedQA/PubMedQA.py:18
Method__init__
(self,model,dataset_path,output_path,split = "test",subset = "Medical")
utils/MMMU/MMMU.py:6
Method__init__
(self,model,dataset_path,output_path)
utils/MedFrameQA/MedFrameQA.py:18
Method__init__
(self,model,dataset_path,output_path)
utils/CMExam/CMExam.py:17
Method__init__
(self)
models/base_llm.py:4
Method__init__
(self,model_path,args)
models/LLava/LLava_hf.py:8
Method__init__
(self,model_path ,args)
models/LLava/LLava_vllm.py:9
Method__init__
(self,model_path,args)
models/Janus/Janus.py:9
Method__init__
(self,model_path,args)
models/vllm_text/vllm_tokenizer.py:7
Method__init__
(self,model_path,args)
models/vllm_text/vllm_processor.py:7
Method__init__
(self,model_path,args)
models/vllm_text/vllm_no_template.py:7
Method__init__
(self,model_path,args)
models/HealthGPT/HealthGPT.py:21
Method__init__
(self,model_path,args)
models/HealthGPT/HealthGPT_phi.py:23
Method__init__
(self, logger, log_level=logging.INFO)
models/HealthGPT/llava/utils.py:64
Method__init__
(self, keywords, tokenizer, input_ids)
models/HealthGPT/llava/mm_utils.py:216
Method__init__
(self, controller_addr, worker_addr, worker_id, no_register, model_path, mod
models/HealthGPT/llava/serve/model_worker.py:45
Method__init__
(self, controller_addr, worker_addr, sgl_endpoint, worker_id, no_register, model_name)
models/HealthGPT/llava/serve/sglang_worker.py:55
Method__init__
(self, dispatch_method: str)
models/HealthGPT/llava/serve/controller.py:58
Method__init__
(self, config)
models/HealthGPT/llava/model/llava_arch.py:31
Method__init__
(self, config)
models/HealthGPT/llava/model/language_model/llava_qwen.py:43
Method__init__
(self, config)
models/HealthGPT/llava/model/language_model/llava_llama.py:44
Method__init__
(self, config)
models/HealthGPT/llava/model/language_model/llava_phi3.py:46
Method__init__
(self, config)
models/HealthGPT/llava/model/language_model/llava_mpt.py:44
Method__init__
(self, config)
models/HealthGPT/llava/model/language_model/llava_mistral.py:45
Method__init__
(self, channels)
models/HealthGPT/llava/model/multimodal_projector/builder.py:19
Method__init__
(self, vision_tower, args, delay_load=False)
models/HealthGPT/llava/model/multimodal_encoder/clip_encoder.py:93
Method__init__
(self, questions, image_folder, tokenizer, image_processor, model_config)
models/HealthGPT/llava/eval/model_vqa_loader.py:32
Method__init__
(self, *args, **kwargs)
models/HealthGPT/llava/eval/m4c_evaluator.py:178
Method__init__
(self)
models/HealthGPT/llava/eval/m4c_evaluator.py:222
Method__init__
(self)
models/HealthGPT/llava/eval/m4c_evaluator.py:261
Method__init__
(self)
models/HealthGPT/llava/eval/m4c_evaluator.py:277
Method__init__
(self)
models/HealthGPT/llava/eval/m4c_evaluator.py:302
Method__init__
(self, model, peft_config: PeftConfig)
models/HealthGPT/llava/peft/peft_model.py:352
Method__init__
(self, model, peft_config: PeftConfig)
models/HealthGPT/llava/peft/peft_model.py:518
Method__init__
(self, model, peft_config: PeftConfig)
models/HealthGPT/llava/peft/peft_model.py:635
Method__init__
(self, model, peft_config: PeftConfig)
models/HealthGPT/llava/peft/peft_model.py:806
Method__init__
(self, config, word_embeddings)
models/HealthGPT/llava/peft/tuners/prompt_tuning.py:93
Method__init__
(self, config)
models/HealthGPT/llava/peft/tuners/prefix_tuning.py:77
Method__init__
(self, config, model)
models/HealthGPT/llava/peft/tuners/lora.py:110
Method__init__
( self, r: int, lora_alpha: int, lora_dropout: float, merge_weights: b
models/HealthGPT/llava/peft/tuners/lora.py:239
Method__init__
(self, config)
models/HealthGPT/llava/peft/tuners/p_tuning.py:103
Method__init__
OF does not use same vision processor, image_processor only transforms single image
models/Med_Flamingo/Med_Flamingo_hf.py:31
← previousnext →401–500 of 839, ranked by callers