model update
Browse files
README.md
CHANGED
@@ -21,8 +21,6 @@ so that the query and the generated word pair form an analogy statement.
|
|
21 |
```python
|
22 |
from transformers import pipeline
|
23 |
|
24 |
-
pipe = pipeline('
|
25 |
output = pipe("mammal is to whale what")
|
26 |
-
print(output)
|
27 |
-
>>> [{'generated_text': 'bird is to crow'}]
|
28 |
```
|
|
|
21 |
```python
|
22 |
from transformers import pipeline
|
23 |
|
24 |
+
pipe = pipeline('text-generation', model="relbert/opt-125m-analogy-permutation")
|
25 |
output = pipe("mammal is to whale what")
|
|
|
|
|
26 |
```
|