Overview of DeepSpeed-VisualChat
masterDeepSpeed-VisualChat is an open-source framework designed for multi-round, multi-image interleaved chat experiences. Unlike existing Large Vision-Language Models (LVLMs) that focus on single-image tasks or simultaneous multi-image inputs, DeepSpeed-VisualChat supports continuous dialogues where text and images are interleaved.
Key features include:
- Scalability: Leverages DeepSpeed to train large-scale models, such as a 2B visual encoder paired with a 70B LLaMA-2 decoder.
- Multi-Modal Causal Attention (MMCA): A novel attention mechanism that calculates attention weights independently across different modalities. It enhances causal attention for generative tasks without requiring additional modules or parameters, offering better training data efficiency than standard causal attention.
- Data Blending: Employs techniques to handle sequential text and image data, overcoming the limitations of existing open-source datasets that lack interleaved formats.