Edit model card

relbert/flan-t5-large-analogy-nell

This is google/flan-t5-large fine-tuned on relbert/nell_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-nell")
output = pipe("generate analogy: mammal is to whale")
print(output)
>>> [{'generated_text': 'bird is to crow'}]
Downloads last month
3
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.