Demo750's picture
Upload folder using huggingface_hub
569f484 verified
raw
history blame
540 Bytes
from vlmeval.vlm import *
from vlmeval.api import *
from functools import partial
minicpm_series = {
'MiniCPM-V': partial(MiniCPM_V, model_path='openbmb/MiniCPM-V'),
'MiniCPM-V-2': partial(MiniCPM_V, model_path='openbmb/MiniCPM-V-2'),
'MiniCPM-Llama3-V-2_5': partial(MiniCPM_Llama3_V, model_path='openbmb/MiniCPM-Llama3-V-2_5'),
'MiniCPM-V-2_6': partial(MiniCPM_V_2_6, model_path='openbmb/MiniCPM-V-2_6'),
}
supported_VLM = {}
model_groups = [
minicpm_series
]
for grp in model_groups:
supported_VLM.update(grp)