/ Модель

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

Параметры
385 млн
Архитектура
t5 · dense
Базовая модель
PortugueseT5-Instruct
Библиотека
transformers
Опубликована
29 мая 2025

PortugueseT5OieAbstractive

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

Экспериментальная португалоязычная модель T5 для абстрактивного извлечения отношений ARG0–V–ARG1 из текста.

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

Бенчмарки

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

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

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

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

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

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

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

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

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

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

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

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

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

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

PortugueseT5OieAbstractive — португалоязычная модель семейства T5 с архитектурой encoder-decoder, разработанная bratao. Она дообучена на базе bratao/PortugueseT5-Instruct для абстрактивного извлечения открытой информации из предложений: модель формирует отношения в виде ARG0, V и ARG1. Число параметров — 385,2 млн; модель принимает текст и генерирует текст. В карточке указан португальский язык.

Модель предназначена для извлечения субъектов, предикатов и объектов из португальских предложений, например для подготовки структурированных данных из текстов. Для запуска подходят Transformers и библиотека portuguese-openie; возможен вывод на CPU, GPU рекомендуется для большей скорости. README сообщает о результатах на 100 предложениях с синтетическими эталонными извлечениями, однако публичное состояние обучения выглядит неполным, а связь опубликованного чекпойнта с оценённой версией не подтверждена.

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

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

PortugueseT5OieAbstractive

PortugueseT5OieAbstractive is a Portuguese T5 encoder-decoder checkpoint fine-tuned for abstractive Open Information Extraction. It generates binary ARG0, V, ARG1 extractions and offers a smaller alternative to the Qwen3OIE 4B/8B models.

The thesis reports strong OpenIE results for this model family, but the public trainer state appears partial. Pin the revision and treat the artifact as an experimental research release until the checkpoint provenance is reconciled. The exact public revision below has nevertheless passed an end-to-end inference test through the enum-only API; this validates usability, not training provenance.

Model details

FieldValue
Public repositorybratao/PortugueseT5OieAbstractive
Described predecessorPortugueseT5-Instruct
ArchitectureT5 encoder-decoder
TaskPortuguese abstractive OpenIE
Parameters783,150,080 (approximately 783M; thesis rounds to 770M)
Published weight precisionfloat32
Approximate repository size3.13 GB
model.safetensors SHA-256ca5174892e5bb01afec8536a96cf1fc4d5e2d4a33624cab7da2b4819e2343874
Audited revision7ae5a9d9c4554e9c1342a0cc9c44dd130e8ddd16 (2026-08-30)

The published trainer state records step 2,000 of a nominal 1,291,623-step, three-epoch schedule (epoch approximately 0.00465) with no best metric/checkpoint. It may be stale or copied, but it does not prove a completed run.

Use with portuguese-openie

pip install "portuguese-openie[transformers]"
from portuguese_openie import Model, PortugueseOpenIE

extractor = PortugueseOpenIE(Model.PORTUGUESE_T5_OIE_ABSTRACTIVE)
triples = extractor.extract(
    "O enxofre é um nutriente vital para o crescimento saudável das plantas, "
    "mas os solos no Reino Unido são naturalmente deficientes deste mineral."
)
print([triple.to_dict() for triple in triples])

No model path is required. The library downloads public files from Hugging Face on first use and reuses the standard local Hugging Face cache afterward.

Recorded output from the audited public revision:

[
    {
        "ARG0": "O enxofre",
        "V": "é",
        "ARG1": "um nutriente vital para o crescimento saudável das plantas",
    },
    {
        "ARG0": "os solos no Reino Unido",
        "V": "são",
        "ARG1": "naturalmente deficientes de enxofre",
    },
]

The offline cache-reuse run used Python 3.12.9, PyTorch 2.13 CPU, and Transformers 4.57.6. Loading took 8.28 seconds and generation plus parsing 10.59 seconds on that machine. These values are a smoke-test record, not a benchmark.

Direct Transformers use

import torch
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer

model_id = "bratao/PortugueseT5OieAbstractive"
revision = "7ae5a9d9c4554e9c1342a0cc9c44dd130e8ddd16"
tokenizer = AutoTokenizer.from_pretrained(model_id, revision=revision)
model = AutoModelForSeq2SeqLM.from_pretrained(
    model_id, revision=revision, dtype="auto", device_map="auto"
)

sentence = "A UFBA está localizada em Salvador."
prompt = f"Entrada:\n{sentence}\nResposta:\n"
inputs = tokenizer(prompt, return_tensors="pt", truncation=True).to(model.device)
with torch.inference_mode():
    output = model.generate(**inputs, max_new_tokens=512, do_sample=False)
print(tokenizer.decode(output[0], skip_special_tokens=True))

Recommended inference prompt (the one used by the recovered evaluation script):

Entrada:
{sentence}
Resposta:

The final thesis describes task fine-tuning with the same minimal instruction used for Qwen3OIE:

Dada uma frase S você consegue fazer extrações em JSON no formato ARG0 , V, ARG1. Realize a extração para a frase abaixo:

The recovered t5_oie.py inference/evaluation script uses the shorter Entrada/Resposta form above, and its recorded outputs are the source evaluated for the reported results below. The library therefore uses that reproducible inference form by default. This does not establish that it was also the training serialization; the thesis and recovered inference script document different stages of the workflow. Use greedy decoding and validate schema adherence. The unified parser accepts JSON and legacy ARG0/V/ARG1 output.

Evaluation

The thesis reports results on 100 Portuguese sentences and 238 reference extractions from WikiPUD-Portuguese-Abstractive. Targets were generated with an LLM from OIEC-PT Gold source sentences and manually spot-checked. They are therefore a silver-standard reference, not fully human-authored gold data.

CriterionPrecisionRecallF1
Perfect match0.32560.23530.2732
Lexical match0.61630.44540.5171

Precision and recall come from the associated local evaluation summary; F1 is also reported in the thesis for PortugueseT5OieAbstractive. Evaluation was not rerun for this card. The thesis does not by itself resolve whether the current public revision is byte-for-byte the evaluated checkpoint.

Training-data provenance

The thesis describes task fine-tuning from PortugueseT5-Instruct on WikiPUD-Portuguese-Abstractive: 29,026 Portuguese sentences and 102,788 synthetic extractions from 2,015 Wikipedia paragraphs, generated with Gemini 2.5 Flash. The public repository does not declare a Hugging Face dataset ID or bundle that corpus, so the YAML intentionally omits datasets.

Requirements and hardware

  • Recent Python, PyTorch, Transformers, and Accelerate.
  • The float32 repository is about 3.13 GB. Around 6–8 GB of available RAM/VRAM is a practical starting point; actual memory and speed depend on input length/runtime.
  • GPU is recommended for throughput, though CPU inference is possible.

Limitations

  • Public trainer state appears partial, and evaluated/published checkpoint identity has not been independently checksum-linked.
  • Abstractive output may not be a literal source span and can be malformed, incomplete, duplicated, or hallucinated.
  • Evaluation covers only 100 mostly encyclopedic sentences. Performance elsewhere, including fairness and dialectal robustness, is unknown.
  • An extraction is not fact verification and should not alone drive high-impact use.

License

No license is declared in the public repository as of 2026-08-30. Missing license metadata is not permission to redistribute or modify weights. Seek author clarification and review all predecessor-model and data terms. This card does not infer a license.

Citation

@phdthesis{cabral2025evolving,
  author = {Cabral, Bruno Souza},
  title = {Evolving Open Information Extraction for Portuguese employing Language Models},
  school = {Universidade Federal da Bahia},
  year = {2025}
}

@inproceedings{cabral2022portnoie,
  author = {Cabral, Bruno and Souza, Marlo and Claro, Daniela Barreiro},
  title = {PortNOIE: A Neural Framework for Open Information Extraction for the Portuguese Language},
  booktitle = {Computational Processing of the Portuguese Language (PROPOR 2022)},
  year = {2022},
  doi = {10.1007/978-3-030-98305-5_23}
}

Project: Portuguese-OpenIE · PortNOIE paper · Generative OpenIE paper

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей