Downloads · 30 days
7
2% of all-time downloads
research-backup/flan-t5-base-analogy-permutation
flan-t5-base-analogy-permutation 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/semeval2012relationalsimilarity 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
7
2% of all-time downloads
All-time downloads
360
Public
Repo size
5 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/semeval2012_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-permutation")
output = pipe("generate analogy: mammal is to whale")
print(output)
>>> [{'generated_text': 'bird is to crow'}]