Views
No views yet
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.1from transformers import pipeline
2
3pipe = pipeline('text-generation', model="relbert/opt-125m-analogy-permutation")
4output = pipe("mammal is to whale what")