/ Модель

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

Лицензия
MIT
Базовая модель
Qwen2.5-VL-8B-Instruct
Библиотека
transformers
Опубликована
26 сен 2025

NuExtract-2.0-8B-GGUF

Изображение и текст → текст15 профессий

NuExtract-2.0-8B-GGUF — мультимодальная и многоязычная модель компании NuMind, предназначенная для структурированного извлечения информации.

826скачиваний за 30 дней4лайкавеса обновлены19 мая 2026

Бенчмарки

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

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

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

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

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

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

Она принимает текстовые и визуальные входные данные, а также JSON-шаблон с описанием требуемых полей, и возвращает извлечённые значения в структурированном виде. Модель подходит для обработки документов, форм, изображений и других источников, где требуется преобразовать неструктурированные данные в JSON.

Модель основана на Qwen2.5-VL-7B-Instruct и содержит около 8 млрд параметров; распространяется в формате GGUF для запуска с совместимыми средствами, включая llama.cpp. Поддерживаются строковые значения, verbatim-string для дословного извлечения, числа, даты и времени в формате ISO, массивы, перечисления и multi-label-категории. При отсутствии подходящей информации модель возвращает null или пустой массив. Для задач извлечения рекомендуется температура, равная или близкая к 0.

К сильным сторонам относятся специализированная настройка на извлечение, поддержка текста и изображений, многоязычность и возможность задавать целевую структуру результата. README не указывает точный размер контекста, перечень поддерживаемых языков и количественные результаты бенчмарка; также не описывает ограничения качества для отдельных языков или типов документов. Модель распространяется по лицензии MIT.

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

NuExtract 2.0 8B GGUF by NuMind 🔥

NuExtract 2.0 is a family of models trained specifically for structured information extraction tasks. It supports both multimodal inputs and is multilingual.

We provide several versions of different sizes, all based on pre-trained models from the QwenVL family.

Model SizeModel NameBase ModelLicenseHuggingface Link
2BNuExtract-2.0-2BQwen2-VL-2B-InstructMIT🤗 NuExtract-2.0-2B
2BNuExtract-2.0-2B-GGUFQwen2-VL-2B-InstructMIT🤗 NuExtract-2.0-2B-GGUF
4BNuExtract-2.0-4BQwen2.5-VL-3B-InstructQwen Research License🤗 NuExtract-2.0-4B
4BNuExtract-2.0-4B-GGUFQwen2.5-VL-3B-InstructQwen Research License🤗 NuExtract-2.0-4B-GGUF
8BNuExtract-2.0-8BQwen2.5-VL-7B-InstructMIT🤗 NuExtract-2.0-8B
8BNuExtract-2.0-8B-GGUFQwen2.5-VL-7B-InstructMIT🤗 NuExtract-2.0-8B-GGUF

❗️Note: NuExtract-2.0-2B is based on Qwen2-VL rather than Qwen2.5-VL because the smallest Qwen2.5-VL model (3B) has a more restrictive, non-commercial license. We therefore include NuExtract-2.0-2B as a small model option that can be used commercially.

Benchmark

Performance on collection of ~1,000 diverse extraction examples containing both text and image inputs.

Overview

To use the model, provide an input text/image and a JSON template describing the information you need to extract. The template should be a JSON object, specifying field names and their expected type.

Support types include:

  • verbatim-string - instructs the model to extract text that is present verbatim in the input.
  • string - a generic string field that can incorporate paraphrasing/abstraction.
  • integer - a whole number.
  • number - a whole or decimal number.
  • date-time - ISO formatted date.
  • Array of any of the above types (e.g. ["string"])
  • enum - a choice from set of possible answers (represented in template as an array of options, e.g. ["yes", "no", "maybe"]).
  • multi-label - an enum that can have multiple possible answers (represented in template as a double-wrapped array, e.g. [["A", "B", "C"]]).

If the model does not identify relevant information for a field, it will return null or [] (for arrays and multi-labels).

The following is an example template:

{
  "first_name": "verbatim-string",
  "last_name": "verbatim-string",
  "description": "string",
  "age": "integer",
  "gpa": "number",
  "birth_date": "date-time",
  "nationality": ["France", "England", "Japan", "USA", "China"],
  "languages_spoken": [["English", "French", "Japanese", "Mandarin", "Spanish"]]
}

An example output:

{
  "first_name": "Susan",
  "last_name": "Smith",
  "description": "A student studying computer science.",
  "age": 20,
  "gpa": 3.7,
  "birth_date": "2005-03-01",
  "nationality": "England",
  "languages_spoken": ["English", "French"]
}

⚠️ We recommend using NuExtract with a temperature at or very close to 0. Some inference frameworks, such as Ollama, use a default of 0.7 which is not well suited to many extraction tasks.

Using NuExtract with llama.cpp

Download the model

mkdir models
hf download numind/NuExtract-2.0-8B-GGUF --local-dir ./models

Start the llama.cpp server

docker run --gpus all -it -p 8000:8080 -v ./models:/models --entrypoint /app/llama-server ghcr.io/ggml-org/llama.cpp:full-cuda -m /models/NuExtract-2.0-8B-Q8_0.gguf --mmproj /models/mmproj-BF16.gguf --host 0.0.0.0

Text Extraction

The docker run command above maps the port 8080 of the llama.cpp container to the port 8000 of the host.

import openai
import json

client = openai.OpenAI(
    api_key="EMPTY",
    base_url="http://localhost:8000",
)

llama.cpp is not compatible with vllm's chat_template_kwargs. Thus, the template has to be applied manually

Text extraction

flight_text = """Date: Tuesday March 25th 2025
User info: Male, 32 yo

Book me a flight this Saturday morning to go to Marrakesh and come back on April 5th. I want it to be business class. Air France if possible."""
flight_template = """{
    "Destination": "verbatim-string",
    "Departure date range": {
        "beginning": "date-time",
        "end": "date-time"
    },
    "Return date range": {
        "beginning": "date-time",
        "end": "date-time"
    },
    "Requested Class": [
        "1st",
        "business",
        "economy"
    ],
    "Preferred airlines": [
        "string"
    ]
}"""

response = client.chat.completions.create(
    model="NuExtract",
    temperature=0.0,
    messages=[
        {
            "role": "user",
            "content": [
                {
                    "type": "text", 
                    "text": f"# Template:\n{json.dumps(json.loads(flight_template), indent=4)}\n{flight_text}",
                },
            ],
        },
    ],
)

Image Extraction

identity_template = """{
    "Last name": "verbatim-string",
    "First names": [
        "verbatim-string"
    ],
    "Document number": "verbatim-string",
    "Date of birth": "date-time",
    "Gender": [
        "Male",
        "Female",
        "Other"
    ],
    "Expiration date": "date-time",
    "Country ISO code": "string"
}"""

response = client.chat.completions.create(
    model="NuExtract",
    temperature=0.0,
    messages=[
        {
            "role": "user",
            "content": [
                {
                    "type": "text", 
                    "text": f"# Template:\n{json.dumps(json.loads(identity_template), indent=4)}\n<image>",
                },
                {
                    "type": "image_url",
                    "image_url": {
                        "url": f"https://upload.wikimedia.org/wikipedia/commons/thumb/4/49/Carte_identit%C3%A9_%C3%A9lectronique_fran%C3%A7aise_%282021%2C_recto%29.png/2880px-Carte_identit%C3%A9_%C3%A9lectronique_fran%C3%A7aise_%282021%2C_recto%29.png"
                    },
                },
            ],
        },
    ],
)

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

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

GPU в ailist

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

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

GGUF-веса поддерживаются только для текстовых LLM (llama.cpp).

Ревизия весов
3bf0517

0 моделей