Downloads · 30 days
17
4% of all-time downloads
research-backup/opt-125m-analogy-permutation
opt-125m-analogy-permutation is a text generation model from research-backup. Use it when you need the model to write or continue text. It is set up for transformers.
This is facebook/opt-125m 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
17
4% of all-time downloads
All-time downloads
446
Public
Repo size
2.1 GB
Likes
0
Public
Click a slice to open those files.
.bin501 MB · 99%
From the Hugging Face model README
This is facebook/opt-125m 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('text-generation', model="relbert/opt-125m-analogy-permutation")
output = pipe("mammal is to whale what")