Downloads · 30 days
26
6% of all-time downloads
research-backup/opt-350m-analogy-permutation
opt-350m-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-350m 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
26
6% of all-time downloads
All-time downloads
452
Public
Repo size
5.3 GB
Likes
0
Public
Click a slice to open those files.
.bin1.3 GB · 100%
From the Hugging Face model README
This is facebook/opt-350m 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-350m-analogy-permutation")
output = pipe("mammal is to whale what")