/ Модель

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

Контекст
512 токенов
Параметры
124 млн
Лицензия
Apache 2.0
Архитектура
t5 · dense
Базовая модель
flan-t5-base
Библиотека
transformers
Опубликована
17 авг 2026

data-to-text-executive-report-generator-flan-t5-base

Языковая модельTable → текст5 профессий

Дообученная FLAN-T5 Base преобразует таблицы бизнес-показателей KPI в краткие черновики управленческих отчётов.

18скачиваний за 30 дней0лайковвеса обновлены17 авг 2026

Бенчмарки

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

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

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

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

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

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

Модель разработана для преобразования таблиц KPI в краткие управленческие отчёты. Это дообученная на синтетических бизнес-данных модель FLAN-T5 Base с архитектурой T5 encoder-decoder и 123,8 млн параметров; опубликованный чекпойнт объединён и загружается через Transformers. Модель принимает структурированные данные в CSV или JSON и формирует план тезисов для отчёта на английском языке. Контекст составляет 512 токенов.

Модель предназначена для суммаризации KPI, подготовки черновиков отчётов для руководителей и экспериментов с генерацией текста по таблицам. В полном приложении генерацию дополняют детерминированный анализ показателей, ссылки на исходные строки и проверка числовых утверждений; сама модель не является источником фактов. В оценке на 250 примерах неподтверждённые утверждения до проверки встречались, а 100% поддержки утверждений после проверочной фильтрации относится к полному приложению.

Лицензия — Apache-2.0. Обучающие данные синтетические и могут не отражать реальные корпоративные форматы. Результат модели без проверки может содержать неподтверждённые или численно неверные утверждения; для важных отчётов нужна проверка человеком. Экспорт ONNX проверялся лишь на пяти примерах и в измеренной среде работал медленнее CUDA-версии.

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

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

Ограничения

До проверки модель может генерировать неподтверждённые или численно неверные утверждения, поэтому её не следует использовать как самостоятельный источник фактов; для значимых отчётов нужна проверка человеком. Данные обучения синтетические, а качество ONNX оценивалось лишь на пяти примерах.

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

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

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

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

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

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

Открыть на Hugging Face

Data-to-Text Executive Report Generator — FLAN-T5 Base

A controlled table-to-text generation model for converting CSV/JSON KPI tables into concise executive reports.

The system combines a fine-tuned FLAN-T5 Base generator with deterministic KPI analysis, row-level source references, structural normalization, and a numerical claim verifier. Unsupported model claims are blocked or deterministically replaced before they are displayed.

Published artifact: merged FLAN-T5 Base fine-tuned model used by Project 04.

Live Resources


Evaluation Overview

The final PyTorch model was evaluated on 250 held-out KPI-to-report examples.

The application does not trust raw generated claims blindly. Model-generated claim plans pass through a deterministic verifier that checks row references and numerical support before final display.

Final 250-Example Test Results

MetricResult
BLEU71.46
ROUGE-L0.8125
BERTScore F10.9714
JSON validity100.00%
Claim F198.72%
Row-ID F198.72%
Structured-field F198.85%
Exact plan match0.40%
Structured composite score99.19%
Final section coverage100.00%
Composite portfolio score84.78%

Factuality and Verification Results

MetricResultInterpretation
Raw model claim support rate67.25%Claims supported before verifier intervention
Raw numerical factuality56.33%Numerical correctness before final verification
Raw unsupported / hallucination rate32.75%Unsupported raw model claims detected
Verifier block rate32.75%Unsupported claims intercepted by verifier
Model claim retention rate67.25%Generated claims retained without replacement
Deterministic replacement rate19.17%Unsupported content replaced with supported facts
Final displayed claim support rate100.00%All claims shown to the user were source-supported
Final section coverage100.00%Required executive-report sections remained covered

What These Results Mean

The raw generator is not treated as a standalone factual authority. It is intentionally deployed behind a numerical/source verifier.

The most important deployment result is:

100% final displayed claim support on the 250-example evaluation after verifier gating.

The verifier prevented unsupported raw claims from reaching the final report while preserving complete section coverage.


ONNX Optimization

The final model was exported to ONNX and an INT8 quantized version was produced.

Runtime Smoke Evaluation

RuntimeEval ExamplesBLEUROUGE-LBERTScore F1JSON ValidityClaim F1Final Claim SupportAvg. Generation
PyTorch / CUDA25071.460.81250.9714100%98.72%100%3.62 s/example
FP32 ONNX566.900.79720.9679100%100%100%9.08 s/example
INT8 ONNX564.260.77810.9656100%100%100%8.91 s/example

The PyTorch result is the full 250-example quality evaluation. The ONNX rows are deliberately small 5-example runtime/parity smoke tests, not statistically equivalent quality benchmarks.

Quantization

ArtifactResult
FP32 ONNX size~2.33 GB
INT8 ONNX size~1.07 GB
Size reduction54.03%
FP32 runtime generationPassed
INT8 runtime generationPassed

In this local evaluation environment, ONNX CPU-style generation was slower than CUDA PyTorch generation. ONNX is therefore retained as an export/optimization artifact rather than being presented as a latency improvement.


Training Summary

SettingValue
Base modelgoogle/flan-t5-base
ArchitectureT5 encoder-decoder
Fine-tuningLoRA / PEFT
LoRA rank32
LoRA alpha64
LoRA dropout0.05
Training examples used6,000
Epochs2
Learning rate3e-4
Max source length1,280 tokens
Max target length512 tokens
PrecisionBF16
GPUNVIDIA GeForce RTX 5090
Final training loss1.0247
Final evaluation loss0.8505
Generation beams during final training profile1

The final published checkpoint is the merged model and can be loaded directly with transformers.


Dataset and Verification

The project generated and validated a synthetic business-KPI corpus designed for controlled table-to-text generation.

Dataset CheckResult
Total generated examples20,000
Training split16,000
Validation split2,000
Test split2,000
Cross-split table-ID overlap0
Duplicate prompts across splits0
Verified target claims159,327
Target claim support rate100%
Challenge cases60
Challenge target support rate100%

The final fine-tuning run used a 6,000-example subset of the verified training split.


System Architecture

CSV / JSON KPI Table
        ↓
Parsing + Validation
        ↓
Schema Detection
        ↓
Deterministic KPI Analysis
        ↓
Controlled Prompt + Fact Index
        ↓
Fine-Tuned FLAN-T5 Base
        ↓
Lean Structured Claim Plan
        ↓
Structural Normalization
        ↓
Deterministic Fact Hydration
        ↓
Numerical / Source Claim Verifier
        ↓
Unsupported Claim Blocking / Replacement
        ↓
Verified Executive Report

The model generates a compact claim plan containing section codes, claim types, source row IDs, and report text. Numerical values and factual fields can then be reconstructed from verified source rows before final claim validation.


Why a Verifier-Gated Architecture?

A fluent generated sentence can still contain an unsupported number or attribution.

For executive KPI reporting, the project therefore separates:

  1. Language generation — FLAN-T5 determines how to express the report.
  2. Deterministic analysis — KPI movements and source facts are calculated outside the model.
  3. Evidence mapping — generated claims reference source rows.
  4. Verification — unsupported claims are blocked.
  5. Hydration/replacement — supported factual content is reconstructed when necessary.

This design prioritizes final report factuality over trusting unconstrained generation.


Example Usage

from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

repo_id = "anmol-unitmole/data-to-text-executive-report-generator-flan-t5-base"

tokenizer = AutoTokenizer.from_pretrained(repo_id)
model = AutoModelForSeq2SeqLM.from_pretrained(repo_id)

prompt = """
Generate a structured executive KPI claim plan from the supplied
table analysis and source-row references.
"""

inputs = tokenizer(
    prompt,
    return_tensors="pt",
    truncation=True,
    max_length=1280,
)

outputs = model.generate(
    **inputs,
    max_new_tokens=512,
    num_beams=1,
)

print(tokenizer.decode(outputs[0], skip_special_tokens=True))

The full Project 04 application performs additional deterministic hydration and claim verification after model generation. For production-style use, use the complete GitHub pipeline rather than treating the raw model output as the final verified report.


Model Selection and Deployment Decision

The final candidate was selected because it demonstrated:

  • strong text similarity and semantic quality,
  • near-perfect structured claim-plan extraction,
  • complete final section coverage,
  • deterministic source-row traceability,
  • verifier interception of unsupported claims,
  • 100% final displayed claim support in the 250-example evaluation,
  • successful FP32 ONNX export,
  • successful INT8 ONNX quantization and runtime smoke validation.

The project does not claim that raw FLAN-T5 generations are perfectly factual. The deployment design explicitly relies on the verifier.


Experimental Environment

Training and evaluation were executed locally using:

ComponentEnvironment
GPUNVIDIA GeForce RTX 5090
VRAM~31.84 GB
Python3.12
PyTorch2.11.0 + CUDA 12.8
Transformers4.57.6
PEFT0.20.0
Mixed precisionBF16

Quality Gates

ValidationStatus
Python unit tests✅ 19 / 19 passed
Dataset validation✅ Passed
Challenge-set verification✅ Passed
Source release validation✅ Passed
PyTorch final evaluation✅ Completed
FP32 ONNX export✅ Passed
FP32 ONNX generation smoke✅ Passed
INT8 quantization✅ Passed
INT8 ONNX generation smoke✅ Passed
GitHub Actions CI✅ Passing

Intended Use

This model and project are suitable for:

  • KPI table summarization experiments
  • executive-report generation demonstrations
  • controlled table-to-text generation research
  • source-grounded generation workflows
  • numerical-verification experiments
  • ONNX export and quantization experiments
  • machine-learning portfolio demonstrations
  • educational use

Limitations

  • Raw model generations can contain unsupported claims before verifier gating.
  • Raw numerical factuality is substantially lower than final verifier-gated factuality.
  • The current dataset is synthetic/artificial business KPI data and does not represent every real enterprise reporting format.
  • ONNX quality was smoke-tested on 5 examples; the 250-example full evaluation was performed with the PyTorch model.
  • ONNX generation was slower than CUDA PyTorch generation in the measured local environment.
  • The model should not be used as a standalone authority for financial, legal, compliance, medical, safety-critical, or other high-stakes decisions.
  • Human review remains appropriate for consequential reporting.

Responsible Use

The model is intended for educational, portfolio, research, analytics-assistance, and general business-reporting experiments.

Generated reports should be reviewed before consequential use. The complete application includes verification specifically because fluent language generation alone is not sufficient evidence of factual correctness.


Reproducibility

The GitHub project contains code for:

  • synthetic KPI dataset generation,
  • leakage and overlap validation,
  • challenge-set generation,
  • FLAN-T5 LoRA fine-tuning,
  • structured claim-plan generation,
  • structural normalization,
  • numerical/source verification,
  • unsupported-claim blocking,
  • content-selection evaluation,
  • numerical factuality evaluation,
  • hallucination-rate evaluation,
  • BLEU / ROUGE-L / BERTScore evaluation,
  • ONNX export,
  • INT8 quantization,
  • runtime validation,
  • automated Python tests,
  • Next.js application code,
  • GitHub Actions validation.

Complete implementation:

https://github.com/unit-mole/encoder-decoder-projects/tree/main/04-data-to-text-executive-report-generator


License

Apache License 2.0.

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

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

GPU в ailist

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

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

Задача «table-to-text» пока не поддерживается рантаймом.

Класс архитектуры
T5ForConditionalGeneration
Ревизия весов
11a8ee4

0 моделей