/ Модель

Характеристики

Лицензия
Apache 2.0
Опубликована
30 июн 2024

Vistral-V-7B

Генерация текстаТекст → текст

Вьетнамская визуально-языковая модель для диалога и генерации описаний изображений по текстовому запросу.

0скачиваний за 30 дней18лайковвеса обновлены30 июн 2024

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Vistral-V-7B — вьетнамская визуально-языковая модель от Vi-VLM на архитектуре Mistral, разработанная с использованием подхода LLaVA и кодировщика изображений SigLIP. Она принимает изображения и текст, а в ответ генерирует текстовые описания изображений; также предназначена для диалога и сложных рассуждений о визуальном содержимом. Модель дообучена на подмножестве набора Vista, а семейство Vista также включает предварительно обученный проектор.

Модель ориентирована прежде всего на сценарии с вьетнамским языком и исследовательское применение. Распространяется в формате Safetensors под лицензией Apache-2.0. В README не указаны число параметров и длина контекста.

Сценарии применения

  • создание описаний изображений на вьетнамском языке
  • ответы на вопросы о содержимом изображения
  • диалог о визуальных сценах
  • подробное описание объектов и их отношений на изображении

Ограничения

Модель не обучалась для OCR и анализа графиков, поэтому может плохо справляться с распознаванием текста на изображениях и графиками. Фактические знания и практические возможности ограничены; ответы следует проверять.

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Model Details

We have developed and released the family of Vista 7B, which includes both a pretrained Projector and a finetuned version of the Vietnamese Vision Language Model (VLM). This model is optimized for image description tasks.

We continue to expand Vistral 7B's vision capabilities using the Llava approach, leveraging our proprietary Vista dataset with Siglip as an image encoder.

Disclaimer: The model has not been trained on OCR tasks and may perform poorly in OCR and graph analysis. Use with caution, as we have not focused on correcting the factual knowledge of the model.

Model developers Vi-VLM

Input Models input text and image.

Output Models generate image descriptions only.

Model Architecture Mistral.

Intended Use

Intended Use Cases Vista is primarily intended for research applications within the Vietnamese context. This version aims to further improve the Vietnamese Vision Language Model capabilities.

Out-of-scope The use of Vista in any manner that violates applicable laws or regulations is strictly prohibited.

How to use

Use with Kaggle Notebook

To run inference using the model, follow the steps outlined in our Kaggle inference notebook Kaggle

Training process

Training Metrics Image: Below is a snapshot of the training metrics visualized.

Training Metrics

Weights & Biases: Monitor the training progress and access additional analytics at our WandB project page.

Training Data

Pretrained Model:

  • Dataset: ShareGPT4V and a subset of WIT from the Vista dataset.

Finetuned Model:

  • Tasks:
    • Conversation
    • Complex reasoning
    • Detailed description
  • Dataset: Subset from the Vista dataset.

Hardware

GPU Configuration: Cluster of 2x NVIDIA A100-SXM4-40GB, provided by Google Cloud Research and VietAI. GPU Usage:

  • Pretrain: 4 hours of GPU time.
  • Finetune: 14 hours of GPU time.

Training Arguments

ParameterPretrainFinetune (LoRA)
Epoch11
Global batch size1616
Learning Schedulercosine with warmupcosine with warmup
OptimizerAdamWAdamW
Warmup Ratio0.030.03
Weight Decay0.000.00
Learning rate (LLM)-1.25e-5
Learning rate (Projector)1e-31.25e-6
rank-128
alpha-256
Target modules-all linear layers

Examples

image/png

image/png

image/png

Responsibility & Safety

We are committed to promoting an open approach to the development of Vietnamese AI, believing that it fosters better and faster innovation. This initiative is designed to bolster the efforts of the Vietnamese AI community.

The Vista model is built for versatility across a broad spectrum of applications. However, it is important to note that it is not tailored to meet every specific developer preference for all conceivable use cases out-of-the-box. Such preferences are inherently diverse and vary significantly across different applications.

Ethical Considerations and Limitations

The responses from this model are not intended to offend or insult any individual or organization. Therefore, the answers provided should be considered as reference material only, and users should critically assess their accuracy.

The model still has significant limitations in terms of knowledge and practical task performance capabilities.

Future Work

We are committed to continuous improvement of the model, with specific plans to:

  1. Further train the finetuned model on diverse Vision Language tasks to enhance its performance.
  2. Improve the factual knowledge of the model, particularly to better adapt to Vietnamese cultural contexts.
  3. Investigate the combination of different vision encoders to capture more comprehensive image features.

Acknowledgement

We express our deep gratitude to various contributors and supporters of our project:

  • [LLaVA]: Significant portions of the source code and instructions were utilized from the LLaVA repository, with modifications to adapt to our model architecture.

  • [Vistral]: Immense thanks to the Vistral development team for creating an outstanding LLM for Vietnamese, accessible at Hugging Face - Vistral-7B-Chat.

  • [Siglip]: Grateful for the innovative multilingual vision encoder developed by the Siglip team, detailed in their research paper.

  • Sponsors: Special thanks to [VietAI] and [Google Cloud Research] for their diamond-level sponsorship, providing the computing resources essential for our project.

  • Mentors: Our heartfelt appreciation goes to our mentors, Anh Duong Nguyen and Thanh Le, for their guidance and support.

Citation Information

BibTeX:

@article{ViVLM Vistral Vision 2024,
  title={Vistral V},
  author={Bui, Hop Van and Ha, Hoang Huy and Phan, Phuc Van and Tran, Oanh Ngoc},
  year=2024,
  month=June},
  url={https://huggingface.co/Vi-VLM/Vistral-V-7B}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Нельзя запустить

Доступ к модели ограничен автором; у платформы нет доступа к весам.

Ревизия весов
6c8313e

0 моделей