/ Модель

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

Контекст
12 288 токенов
Параметры
800 млн
Лицензия
Apache 2.0
Архитектура
nandi · dense
Базовая модель
Lumma-0.6B-Base
Библиотека
transformers
Опубликована
3 авг 2026

Lumma-0.6B-Extract

Генерация текстаТекст → текст9 профессий

Компактная модель FrontiersMind извлекает заданные пользователем структурированные поля из английского текста и оформляет результат по JSON-шаблону.

239скачиваний за 30 дней11лайковвеса обновлены4 авг 2026

Бенчмарки

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

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

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

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

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

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

Lumma-0.6B-Extract — компактная специализированная языковая модель FrontiersMind для извлечения структурированных данных из текста. Это дообученная версия Lumma-0.6B-Base с плотной архитектурой NandiForCausalLM и примерно 800,5 млн параметров. Модель рассчитана на однократное извлечение: пользователь задаёт JSON-шаблон с нужными полями, а модель формирует ответ в соответствующей структуре.

Модель подходит для извлечения имён, дат, организаций, мест, товаров и атрибутов из текстов счетов, маршрутов поездок, распознанных OCR документов, писем, отчётов и сообщений. Её можно применять в конвейерах обработки документов и данных, в том числе при ограниченных вычислительных ресурсах. Контекст составляет 12 288 токенов; карточка указывает поддержку английского языка, а многоязычная поддержка индийских языков обозначена как планируемая.

Внутренний тест разработчика охватывал около 500 документов разных типов; подробные результаты и сам набор данных в карточке не приведены. Модель распространяется в формате Safetensors через Transformers по лицензии Apache-2.0.

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

  • извлечение полей из счетов и деловых документов
  • преобразование писем и сообщений в JSON
  • извлечение дат, имён и организаций из текста
  • структурирование текста OCR-распознавания
  • подготовка данных из документов для баз данных и аналитики

Ограничения

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

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

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

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

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

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

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

Открыть на Hugging Face

Lumma-0.6B-Extract

Based on Lumma-0.6B-Base, Lumma-0.6B-Extract is a lightweight, single-turn specialized model designed to accurately extract structured information from text in one step, enabling efficient and reliable information extraction.

Benchmark results

We benchmarked Lumma-0.6B-Extract on FrontiersMind's internal structured benchmark, measuring model's performances on ~500 documents of diverse types including invoices,travel itenaries, OCR Extracted text & Emails etc. We plan to open-source this benchmark in the coming weeks, along with a extensive leaderboard including most popular open-weight and closed-sourced APIs and a Python library allowing to easily measure model performances on structured extraction.

Use cases

  • Information extraction: Extract structured information such as names, dates, organizations, locations, products, attributes, and other fields from unstructured text.
  • Document processing: Convert unstructured text from documents, emails, reports, and messages into structured JSON.
  • Data processing pipelines: Transform unstructured text into structured data for downstream applications, databases, search systems, and analytics.
  • Real-time AI applications: Power applications that require fast and reliable information extraction with low latency.
  • Resource-constrained environments: Support efficient extraction on mobile devices, edge devices, embedded systems, and hardware with limited compute and memory resources.

[!NOTE] 🚧 Coming Soon: We will soon be bringing multilingual Indic language support to Lumma-0.6B-Extract.

Structured Extraction

Lumma-0.6B-Extract uses a JSON template to define the information that should be extracted from the input text.

The extraction process consists of two main steps:

  1. Extraction template: Provide a JSON template describing the fields and information to extract.
  2. Information extraction: Provide the input text, and the model returns the requested information in the specified JSON structure.

This approach allows users to define custom extraction schemas depending on their application.

Example

Template:

{
    "name": "string",
    "company": "string",
    "job_title": "string"
}

Input text:

John Smith joined Acme Corporation as a Senior Software Engineer.

Expected output:

{
    "name": "John Smith",
    "company": "Acme Corporation",
    "job_title": "Senior Software Engineer"
}

Usage

import torch
import json
from transformers import AutoModelForCausalLM, AutoTokenizer

MODEL_PATH = "FrontiersMind/Lumma-0.6B-Extract"

tokenizer = AutoTokenizer.from_pretrained(
    MODEL_PATH,
    trust_remote_code=True
)

model = AutoModelForCausalLM.from_pretrained(
    MODEL_PATH,
    trust_remote_code=True,
    torch_dtype=torch.bfloat16,
    device_map="auto"
)

model.eval()


input_text = "John Smith joined Acme Corporation as a Senior Software Engineer."

template = {
    "name": "string",
    "company": "string",
    "job_title": "string",
}

prompt = tokenizer.apply_chat_template(
input_text=input_text,
template=template,
tokenize=False,
add_generation_prompt=True
)


inputs = tokenizer(prompt, return_tensors="pt", add_special_tokens=False).to(model.device)

with torch.inference_mode():
    out = model.generate(
        **inputs,
        max_new_tokens=512,
        do_sample=False,
        eos_token_id=tokenizer.eos_token_id,
        pad_token_id=tokenizer.pad_token_id,
    )

raw = tokenizer.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=False)
pred = raw.split("<|endoftext|>")[0].strip()
print(json.dumps(json.loads(pred), indent=4))


License

This model is released under the Apache License 2.0.

Feedback & Suggestions

We’d love to hear your thoughts, feedback, and ideas!

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
NandiForCausalLM
Ревизия весов
aafc044

0 моделей