Jump to content

Connect SuperML | Leeroopedia MCP: Equip your AI agents with best practices, code verification, and debugging knowledge. Powered by Leeroo — building Organizational Superintelligence. Contact us at founders@leeroo.com.

Implementation:Open compass VLMEvalKit RBdashMMChat3 5 38B Wrapper

From Leeroopedia
Field Value
source VLMEvalKit
domain Vision, API_Integration

Overview

RBdashMMChat3_5_38B_Wrapper provides a VLMEvalKit API adapter for the RBDash-MM Chat 3.5 38B vision-language model.

Description

RBdashMMChat3_5_38B_Wrapper inherits from BaseAPI and communicates with an LMDeploy-served RBDash-MM Chat 3.5 38B model endpoint. It uses a custom prompt utility (RBdashMMChat3_5_38B_PromptUtil) for dataset-specific prompt construction, supporting chain-of-thought prompting and boxed answer extraction for math and reasoning benchmarks.

Usage

Use this adapter when evaluating the RBDash-MM Chat 3.5 38B model variant deployed via an LMDeploy-compatible API server.

Code Reference

  • Source: vlmeval/api/rbdashmm_chat3_5_api.py, Lines: L1-598
  • Import: from vlmeval.api.rbdashmm_chat3_5_api import RBdashMMChat3_5_38B_Wrapper

Signature:

class RBdashMMChat3_5_38B_Wrapper(BaseAPI):
    def __init__(self, model=None, retry=5, key='sk-123456', verbose=True,
                 temperature=0.0, timeout=600, api_base=None,
                 system_prompt=None, max_tokens=20480, **kwargs): ...
    def generate_inner(self, inputs, **kwargs): ...

I/O Contract

Direction Description
Inputs message — text/image/video content list; model-specific params via kwargs
Outputs generate() returns str prediction; generate_inner() returns (int, str, str) tuple

Usage Examples

# Example instantiation
model = RBdashMMChat3_5_38B_Wrapper(model='rbdash-mm-chat3.5-38b', api_base='http://localhost:23333/v1')
response = model.generate(message)

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment