Giter VIP home page Giter VIP logo

zaemon1251-hesty / multi-modality-arena Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opengvlab/multi-modality-arena

0.0 0.0 0.0 22.02 MB

Chatbot Arena meets multi-modality! Multi-Modality Arena allows you to benchmark vision-language models side-by-side while providing images as inputs. Supports MiniGPT-4, LLaMA-Adapter V2, LLaVA, BLIP-2, and many more!

Shell 0.04% JavaScript 0.69% Python 99.07% CSS 0.12% HTML 0.07%

multi-modality-arena's Introduction

Multi-Modality Arena ๐Ÿš€

Multi-Modality Arena is an evaluation platform for large multi-modality models. Following Fastchat, two anonymous models side-by-side are compared on a visual question-answering task. We release the Demo and welcome the participation of everyone in this evaluation initiative.

โš”๏ธ LVLM Arena arXiv arXiv GitHub Stars๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ

Holistic Evaluation of Large Multimodal Models

OmniMedVQA: A New Large-Scale Comprehensive Evaluation Benchmark for Medical LVLM

  • OmniMedVQA dataset: contains 118,010 images with 127,995 QA-items, covering 12 different modalities and referring to more than 20 human anatomical regions. Dataset could be download from Here.
  • 12 models: 8 general-domain LVLMs and 4 medical-specialized LVLMs.

Tiny LVLM-eHub: Early Multimodal Experiments with Bard

  • Tiny datasets: only 50 randomly selected sampels for each dataset, i.e., 42 text-related visual benchmarks and 2.1K samples in total for ease of use.
  • More models: another 4 models, i.e., 12 models in total, including Google Bard.
  • ChatGPT Ensemble Evalution: improved agreement with human evaluation than previous word matching approach.

LVLM-eHub: An Evaluation Benchmark for Large Vision-Language Models ๐Ÿš€

LVLM-eHub is a comprehensive evaluation benchmark for publicly available large multimodal models (LVLM). It extensively evaluates $8$ LVLMs in terms of $6$ categories of multimodal capabilities with $47$ datasets and $1$ arena online platform.

LVLM Leaderboard

The LVLM Leaderboard systematically categorizes the datasets featured in the Tiny LVLM Evaluation according to their specific targeted abilities including visual perception, visual reasoning, visual commonsense, visual knowledge acquisition, and object hallucination. This leaderboard includes recently released models to bolster its comprehensiveness.

You can download the benchmark from here, and more details can be found in here.

Rank Model Version Score
๐Ÿ…๏ธ InternVL InternVL-Chat 327.61
๐Ÿฅˆ InternLM-XComposer-VL InternLM-XComposer-VL-7B 322.51
๐Ÿฅ‰ Bard Bard 319.59
4 Qwen-VL-Chat Qwen-VL-Chat 316.81
5 LLaVA-1.5 Vicuna-7B 307.17
6 InstructBLIP Vicuna-7B 300.64
7 InternLM-XComposer InternLM-XComposer-7B 288.89
8 BLIP2 FlanT5xl 284.72
9 BLIVA Vicuna-7B 284.17
10 Lynx Vicuna-7B 279.24
11 Cheetah Vicuna-7B 258.91
12 LLaMA-Adapter-v2 LLaMA-7B 229.16
13 VPGTrans Vicuna-7B 218.91
14 Otter-Image Otter-9B-LA-InContext 216.43
15 VisualGLM-6B VisualGLM-6B 211.98
16 mPLUG-Owl LLaMA-7B 209.40
17 LLaVA Vicuna-7B 200.93
18 MiniGPT-4 Vicuna-7B 192.62
19 Otter Otter-9B 180.87
20 OFv2_4BI RedPajama-INCITE-Instruct-3B-v1 176.37
21 PandaGPT Vicuna-7B 174.25
22 LaVIN LLaMA-7B 97.51
23 MIC FlanT5xl 94.09

Update

  • ๐Ÿ”ฅ Mar. 31, 2024. We release OmniMedVQA, a large-scale comprehensive evaluation benchmark for medical LVLMs. Meanwhile, we 8 general-domain LVLMs and 4 medical-specialized LVLMs. For more details, please visit the MedicalEval.
  • ๐Ÿ”ฅ Oct. 16, 2023. We present an ability-level dataset split derived from the LVLM-eHub, complemented by the inclusion of eight recently released models. For access to the dataset splits, evaluation code, model inference results, and comprehensive performance tables, please visit the tiny_lvlm_evaluation โœ….
  • Aug. 8, 2023. We released [Tiny LVLM-eHub]. Evaluation source codes and model inference results are open-sourced under tiny_lvlm_evaluation.
  • Jun. 15, 2023. We release [LVLM-eHub], an evaluation benchmark for large vision-language models. The code is coming soon.
  • Jun. 8, 2023. Thanks, Dr. Zhang, the author of VPGTrans, for his corrections. The authors of VPGTrans mainly come from NUS and Tsinghua University. We previously had some minor issues when re-implementing VPGTrans, but we found that its performance is actually better. For more model authors, please contact me for discussion at the Email. Also, please follow our model ranking list, where more accurate results will be available.
  • May. 22, 2023. Thanks, Dr. Ye, the author of mPLUG-Owl, for his corrections. We fix some minor issues in our implementation of mPLIG-Owl.

Supported Multi-modality Models

The following models are involving in randomized battles currently,

More details about these models can be found at ./model_detail/.model.jpg. We will try to schedule computing resources to host more multi-modality models in the arena.

Contact US at Wechat

If you are interested in any pieces of our VLarena platform, feel free to join the Wechat group.

Installation

  1. Create conda environment
conda create -n arena python=3.10
conda activate arena
  1. Install Packages required to run the controller and server
pip install numpy gradio uvicorn fastapi
  1. Then for each model, they may require conflicting versions of python packages, we recommend creating a specific environment for each model based on their GitHub repo.

Launch a Demo

To serve using the web UI, you need three main components: web servers that interface with users, model workers that host two or more models, and a controller to coordinate the webserver and model workers.

Here are the commands to follow in your terminal:

Launch the controller

python controller.py

This controller manages the distributed workers.

Launch the model worker(s)

python model_worker.py --model-name SELECTED_MODEL --device TARGET_DEVICE

Wait until the process finishes loading the model and you see "Uvicorn running on ...". The model worker will register itself to the controller. For each model worker, you need to specify the model and the device you want to use.

Launch the Gradio web server

python server_demo.py

This is the user interface that users will interact with.

By following these steps, you will be able to serve your models using the web UI. You can open your browser and chat with a model now. If the models do not show up, try to reboot the gradio web server.

Contribution Guidelines

We deeply value all contributions aimed at enhancing the quality of our evaluations. This section comprises two key segments: Contributions to LVLM Evaluation and Contributions to LVLM Arena.

Contributing to LVLM Evaluation

You can access the most recent version of our evaluation code in the LVLM_evaluation folder. This directory encompasses a comprehensive set of evaluation code, accompanied by the necessary datasets. If you're enthusiastic about partaking in the evaluation process, please don't hesitate to share your evaluation outcomes or the model inference API with us via email at [email protected].

Contributions to LVLM Arena

We extend our gratitude for your interest in integrating your model into our LVLM Arena! Should you wish to incorporate your model into our Arena, kindly prepare a model tester structured as follows:

class ModelTester:
    def __init__(self, device=None) -> None:
        # TODO: initialization of model and required pre processors
    
    def move_to_device(self, device) -> None:
        # TODO: this function is used to transfer the model between CPU and GPU (optional)
    
    def generate(self, image, question) -> str:
       # TODO: model inference code 

Furthermore, we are open to online model inference links, such as those provided by platforms like Gradio. Your contributions are wholeheartedly appreciated.

Acknowledgement

We express our gratitude to the esteemed team at ChatBot Arena and their paper Judging LLM-as-a-judge for their influential work, which served as inspiration for our LVLM evaluation endeavors. We would also like to extend our sincere appreciation to the providers of LVLMs, whose valuable contributions have significantly contributed to the progress and advancement of large vision-language models. Finally, we thank the providers of datasets used in our LVLM-eHub.

Term of Use

The project is an experimental research tool for non-commercial purposes only. It has limited safeguards and may generate inappropriate content. It cannot be used for anything illegal, harmful, violent, racist, or sexual.

multi-modality-arena's People

Contributors

wqshao126 avatar bellxp avatar lqf-hfnju avatar toggle1995 avatar leimeng86 avatar fanqingm avatar siyuanhuang95 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.