hf_mirrors/Yi-VL-6B
Model Introduction
Files & versions
Analysis
specify theme context for images

Yi Vision Language Model

Better Bilingual Multimodal Model

👩‍🚀 Ask questions or discuss ideas on GitHub !

👋 Join us 💬 WeChat (Chinese) !

📚 Grow at Yi Learning Hub !


📕 Table of Contents
  • What is Yi-VL?
    • Overview
    • Models
    • Features
    • Architecture
    • Training
    • Limitations
  • Why Yi-VL?
    • Tech report
    • Benchmarks
    • Showcases
  • How to use Yi-VL?
    • Quick start
    • Hardware requirements
  • Misc.
    • Acknowledgements and attributions
      • List of used open-source projects
    • License

What is Yi-VL?

Overview

  • Yi Vision Language (Yi-VL) model is the open-source, multimodal version of the Yi Large Language Model (LLM) series, enabling content comprehension, recognition, and multi-round conversations about images.

  • Yi-VL demonstrates exceptional performance, ranking first among all existing open-source models in the latest benchmarks including MMMU in English and CMMMU in Chinese (based on data available up to January 2024).

  • Yi-VL-34B is the first open-source 34B vision language model worldwide.

Models

Yi-VL has released the following versions.

ModelDownload
Yi-VL-34B• 🟣 wisemodel
Yi-VL-6B• 🟣 wisemodel

Features

Yi-VL offers the following features:

  • Multi-round text-image conversations: Yi-VL can take both text and images as inputs and produce text outputs. Currently, it supports multi-round visual question answering with one image.

  • Bilingual text support: Yi-VL supports conversations in both English and Chinese, including text recognition in images.

  • Strong image comprehension: Yi-VL is adept at analyzing visuals, making it an efficient tool for tasks like extracting, organizing, and summarizing information from images.

  • Fine-grained image resolution: Yi-VL supports image understanding at a higher resolution of 448×448.

Architecture

Yi-VL adopts the LLaVA architecture, which is composed of three primary components:

  • Vision Transformer (ViT): it's initialized with [CLIP ViT-H/14 model] and used for image encoding.

  • Projection Module: it's designed to align image features with text feature space, consisting of a two-layer Multilayer Perceptron (MLP) with layer normalizations.

  • Large Language Model (LLM): it's initialized with [Yi-34B-Chat]or [Yi-6B-Chat], demonstrating exceptional proficiency in understanding and generating both English and Chinese.

Training

Training resource consumption

  • The training consumes 128 NVIDIA A800 (80G) GPUs.

  • The total training time amounted to approximately 10 days for Yi-VL-34B and 3 days for Yi-VL-6B.

Limitations

This is the initial release of the Yi-VL, which comes with some known limitations. It is recommended to carefully evaluate potential risks before adopting any models.

  • Feature limitation

    • Visual question answering is supported. Other features like text-to-3D and image-to-video are not yet supported.

    • A single image rather than several images can be accepted as an input.

  • Hallucination problem

    • There is a certain possibility of generating content that does not exist in the image.

    • In scenes containing multiple objects, some objects might be incorrectly identified or described with insufficient detail.

  • Resolution issue

    • Yi-VL is trained on images with a resolution of 448×448. During inference, inputs of any resolution are resized to 448×448. Low-resolution images may result in information loss, and more fine-grained images (above 448) do not bring in extra knowledge.
  • Other limitations of the Yi LLM.

Why Yi-VL?

Tech report

For detailed capabilities of the Yi series model, see Yi: Open Foundation Models by 01.AI.

Citation

@misc{ai2024yi,
    title={Yi: Open Foundation Models by 01.AI},
    author={01. AI and : and Alex Young and Bei Chen and Chao Li and Chengen Huang and Ge Zhang and Guanwei Zhang and Heng Li and Jiangcheng Zhu and Jianqun Chen and Jing Chang and Kaidong Yu and Peng Liu and Qiang Liu and Shawn Yue and Senbin Yang and Shiming Yang and Tao Yu and Wen Xie and Wenhao Huang and Xiaohui Hu and Xiaoyi Ren and Xinyao Niu and Pengcheng Nie and Yuchi Xu and Yudong Liu and Yue Wang and Yuxuan Cai and Zhenyu Gu and Zhiyuan Liu and Zonghong Dai},
    year={2024},
    eprint={2403.04652},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}

How to use Yi-VL?

Quick start

Please refer to Yi GitHub Repo for details.

Hardware requirements

For model inference, the recommended GPU examples are:

  • Yi-VL-6B: RTX 3090, RTX 4090, A10, A30

  • Yi-VL-34B: 4 × RTX 4090, A800 (80 GB)

Misc.

Acknowledgements and attributions

This project makes use of open-source software/components. We acknowledge and are grateful to these developers for their contributions to the open-source community.

List of used open-source projects

  1. LLaVA
  • Authors: Haotian Liu, Chunyuan Li, Qingyang Wu, Yuheng Li, and Yong Jae Lee
  • Source: https://github.com/haotian-liu/LLaVA
  • License: Apache-2.0 license
  • Description: The codebase is based on LLaVA code.

Notes

  • This attribution does not claim to cover all open-source components used. Please check individual components and their respective licenses for full details.

  • The use of the open-source components is subject to the terms and conditions of the respective licenses.

We appreciate the open-source community for their invaluable contributions to the technology world.

License

Please refer to the acknowledgments and attributions as well as individual components, for the license of source code.

The Yi series models are fully open for academic research and free for commercial use, permissions of which are automatically granted upon application.

All usage must adhere to the Apache 2.0 license.

For free commercial use, you only need to send an email to get official commercial permission.