/ Модель

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

Размер весов
17 ГБ
Лицензия
Llama 3
Архитектура
llava · dense
Базовая модель
Meta-Llama-3-8B-Instruct
Библиотека
transformers
Опубликована
3 сен 2024

Human_LLaVA

Вопросы по изображениюИзображение, текст → текст3 профессии

Human-LLaVA — мультимодальная модель для ответов на вопросы и описания изображений, особенно изображений людей.

36скачиваний за 30 дней43лайкавеса обновлены9 июн 2025

Бенчмарки

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

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Изображение → текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

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

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

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

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

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

Human-LLaVA — мультимодальная модель семейства LLaVA, разработанная командой OpenFace-CQUPT для понимания изображений, связанных с людьми. Модель дообучена на базе meta-llama/Meta-Llama-3-8B-Instruct и принимает изображения вместе с текстовыми вопросами, выдавая текстовые ответы и описания.

Модель предназначена для визуальных вопросов и ответов о людях, включая анализ лиц, тела и изображения целиком. В README заявлены специализированное обучение на данных HumanCaption и высокие результаты на связанных с людьми задачах; это утверждения авторов, без приведённых в карточке подробных численных результатов. Репозиторий использует Transformers и формат safetensors. Лицензия указана как Llama 3.

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

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

Ограничения

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

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

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

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

Открыть на Hugging Face

About Dataset

You need to first download the HumanCaption from our huggingface and then apply for access to the original Laion-face dataset by completing the required agreement (github). Once approved, refer to the information available on HuggingFace to obtain the corresponding image-text pairs.

[25/06/09] 🤗The Original Images, are Released Completing the Agreement

DEMO

image/png

Introduction

Human-related vision and language tasks are widely applied across various social scenarios. The latest studies demonstrate that the large vision-language model can enhance the performance of various downstream tasks in visual-language understanding. Since, models in the general domain often not perform well in the specialized field. In this study, we train a domain-specific Large Language-Vision model, Human-LLaVA, which aim to construct an unified multimodal Language-Vision Model for Human-related tasks.

Specifically, (1) we first construct a large-scale and high-quality human-related image-text (caption) dataset extracted from Internet for domain-specific alignment in the first stage (Coming soon); (2) we also propose to construct a multi-granularity caption for human-related images (Coming soon), including human face, human body, and whole image, thereby fine-tuning a large language model. Lastly, we evaluate our model on a series of downstream tasks, our Human-LLaVA achieved the best overall performance among multimodal models of similar scale. In particular, it exhibits the best performance in a series of human-related tasks, significantly surpassing similar models and ChatGPT-4o. We believe that the Huaman-LLaVA model and a series of datasets presented in this work can promote research in related fields.

Result

human-llava has a good performance in both general and special fields

image/png

News and Update 🔥🔥🔥

🤗 Transformers

To use Human-LLaVA for the inference, all you need to do is to input a few lines of codes as demonstrated below. However, please make sure that you are using latest code.

import requests
from PIL import Image

import torch
from transformers import AutoProcessor, AutoModelForPreTraining


model_id = "OpenFace-CQUPT/Human_LLaVA"
cuda = 0
model = AutoModelForPreTraining.from_pretrained("OpenFace-CQUPT/Human_LLaVA", torch_dtype=torch.float16).to(cuda)

processor = AutoProcessor.from_pretrained(model_id,trust_remote_code=True)


text = "Please describe this picture"
prompt = "USER: <image>\n" + text + "\nASSISTANT:"
image_file = "./test1.jpg"
raw_image = Image.open(image_file)
# raw_image = Image.open(requests.get(image_file, stream=True).raw)
inputs = processor(images=raw_image, text=prompt, return_tensors='pt').to(cuda, torch.float16)

output = model.generate(**inputs, max_new_tokens=400, do_sample=False)
predict = processor.decode(output[0][:], skip_special_tokens=True)
print(predict)

Our training code have been released publicly on github.ddw2AIGROUP2CQUPT/Human-LLaVA-8B(github.com)

Get the Dataset

Dataset Example

image/png

Domain Alignment Stage

HumanCaption-10M(self construct): is released!

Instruction Tuning Stage

All public data sets have been filtered, and we will consider publishing all processed text in the future

HumanCaption-HQ(self construct): is released!

FaceCaptionA(self construct): is released!

CelebA: https://mmlab.ie.cuhk.edu.hk/projects/CelebA.html

ShareGPT4V:https://github.com/InternLM/InternLM-XComposer/blob/main/projects/ShareGPT4V/docs/Data.md

LLaVA-Instruct_zh : https://huggingface.co/datasets/openbmb/llava_zh

verified_ref3rec: https://huggingface.co/datasets/lucasjin/refcoco/blob/main/ref3rec.json

verified_ref3reg: https://huggingface.co/datasets/lucasjin/refcoco/blob/main/ref3rec.json

verified_shikra: https://github.com/shikras/shikra

Citation

Dai D, Xu L, Li Y, et al. Humanvlm: Foundation for human-scene vision-language model[J]. Information Fusion, 2025: 103271.

contact

mailto: S230201133@stu.cqupt.edu.cn or dw_dai@163.com

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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

Класс архитектуры
LlavaForConditionalGeneration
Ревизия весов
3323c80

0 моделей