Downloads · 30 days
9
19% of all-time downloads
research-backup/flan-t5-base-analogy-conceptnet
flan-t5-base-analogy-conceptnet is a machine learning model from research-backup. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers.
This is google/flan-t5-base fine-tuned on relbert/conceptnetrelationalsimilarity for analogy generation, which is to generate a word pair (eg. bird is to crow) given a query (eg. mammal is to whale)
Downloads · 30 days
9
19% of all-time downloads
All-time downloads
48
Public
Repo size
3 GB
Likes
0
Public
Click a slice to open those files.
.bin990 MB · 100%
From the Hugging Face model README
This is google/flan-t5-base fine-tuned on relbert/conceptnet_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.
from transformers import pipeline
pipe = pipeline('text2text-generation', model="relbert/flan-t5-base-analogy-conceptnet")
output = pipe("generate analogy: mammal is to whale")
print(output)
>>> [{'generated_text': 'bird is to crow'}]