Implementation:Open compass VLMEvalKit VarcoVision
| Field | Value |
|---|---|
| source | VLMEvalKit |
| domain | Vision, Model_Architecture |
Overview
VLM adapter for the VARCO-VISION model enabling benchmark evaluation in VLMEvalKit.
Description
VarcoVision inherits from BaseModel and wraps the VARCO-VISION model for use within the VLMEvalKit evaluation framework. It initializes the model and tokenizer/processor from a HuggingFace model path (default: NCSOFT/VARCO-VISION-2.0-14B) and provides the generate_inner method for inference. Supports both image and video modalities with configurable resolution grid settings.
Usage
Register in vlmeval/config.py via supported_VLM and invoke through the standard evaluation pipeline.
Code Reference
- Source:
vlmeval/vlm/varco_vision.py, Lines: L1-271 - Import:
from vlmeval.vlm.varco_vision import VarcoVision
Signature:
class VarcoVision(BaseModel):
INSTALL_REQ = True
INTERLEAVE = True
def __init__(self, model_path='NCSOFT/VARCO-VISION-2.0-14B', **kwargs): ...
def generate_inner(self, message, dataset=None): ...
I/O Contract
| Direction | Description |
|---|---|
| Inputs | message — list of dicts with type (text/image) and value; dataset — optional dataset name for custom prompting |
| Outputs | generate_inner() returns str (model response text) |
Usage Examples
from vlmeval.vlm.varco_vision import VarcoVision
model = VarcoVision(model_path='path/to/model')
response = model.generate_inner(message)