relbert/flan-t5-large-analogy-t-rex
This is google/flan-t5-large fine-tuned on relbert/t_rex_relational_similarity
for analogy generation, which is to generate a word pair (eg. bird is to crow
) given a query (eg. mammal is to whale
)
so that the query and the generated word pair form an analogy statement.
Usage
from transformers import pipeline
pipe = pipeline('text2text-generation', model="relbert/flan-t5-large-analogy-t-rex")
output = pipe("generate analogy: mammal is to whale")
print(output)
>>> [{'generated_text': 'bird is to crow'}]
- Downloads last month
- 112
Inference Providers
NEW
This model is not currently available via any of the supported Inference Providers.