Manli's picture
initial commit
8b55b6a
|
raw
history blame
3.88 kB
metadata
license: cc-by-nc-4.0
language:
  - en
pipeline_tag: image-text-to-text

Model description

We are excited to announce the continuation and rebranding of our BLIP series into XGen-MM, to be better aligned with Salesforce's unified XGen initiative for large foundation models! This rebranding marks a significant step in our ongoing development of cutting-edge multimodal technologies.

XGen-MM is a series of the latest foundational Large Multimodal Models (LMMs) developed by Salesforce AI Research. This series advances upon the successful designs of the BLIP series, incorporating fundamental enhancements that ensure a more robust and superior foundation. These models have been trained at scale on high-quality image caption datasets and interleaved image-text data.

In the v1.1 (08/2024) release, we present a series of XGen-MM models including:

  • Base model xgen-mm-phi3-mini-base-r-v1.1
  • Single-image instruct model xgen-mm-phi3-mini-instruct-r-v1.1
  • Multi-image instruct model xgen-mm-phi3-mini-instruct-multi-r-v1.1
  • DPO instruct model xgen-mm-phi3-mini-instruct-dpo-r-v1.1

In addition to the models, we are also releasing a series of datasets for multi-modal pre-training, including:

Data

Results

Base model (without instruction tuning)

Instruct model

DPO model

How to use

Please check out our inference notebook for example code to use our model. We also provide example script for batch inference.

Reproducibility:

Our evaluation is implemented based on open-compass/VLMEvalKit. We will create a PR to that repo to support XGen-MM evaluation.

Bias, Risks, Limitations, and Ethical Considerations

The main data sources are from the internet, including webpages, image stock sites, and curated datasets released by the research community. We have excluded certain data, such as LAION, due to known CSAM concerns. The model may be subject to bias from the original data source, as well as bias from LLMs and commercial APIs. We strongly recommend users assess safety and fairness before applying to downstream applications.

License

Our code and weights are released under the Creative Commons Attribution Non Commercial 4.0 LICENSE. Please fill out a form at here to consult the commercial use of model weights.

Code acknowledgement

Our training code is based on OpenFlamingo: An open-source framework for training large multimodal models., and part of our data preprocessing code is adapted from LLaVA. Our evaluation code is based on VLMEvalKit: Open-source evaluation toolkit of large vision-language models (LVLMs).

We thank the authors for their open-source implementations.

Citation

@misc{xgen_mm_phi3_mini,
    title={xgen-mm-phi3-mini-instruct Model Card},
    url={https://huggingface.co/Salesforce/xgen-mm-phi3-mini-instruct-r-v1},
    author={Salesforce AI Research},
    month={May},
    year={2024}
}

Troubleshoot

  1. If you missed any packages, please consider the following
pip install torch==2.2.1 torchvision==0.17.1 torchaudio==2.2.1 --index-url https://download.pytorch.org/whl/cu121
pip install open_clip_torch==2.24.0
pip install einops
pip install einops-exts
pip install transformers==4.41.1