Spaces:
Running
Running
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) | |