compnet-renard/t5-small-literary-relation-extraction

A generative relation extraction model trained on the Despina/project_gutenberg dataset.

Example usage:

from transformers import pipeline

pipeline = pipeline("text2text-generation", model="compnet-renard/t5-small-literary-relation-extraction")
text = "Zarth Arn is Shorr Kann enemy."
pipeline(f"extract relations: {text}")[0]["generated_text"]
>>> "(Zarth Arn, enemy_of, Shorr Kann)"

This model is intended to be used with Renard 0.7+.

Downloads last month
7
Safetensors
Model size
60.5M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for compnet-renard/t5-small-literary-relation-extraction

Base model

google-t5/t5-small
Finetuned
(2143)
this model