asahi417 commited on
Commit
a38afa3
1 Parent(s): b56eea3

model update

Browse files
Files changed (1) hide show
  1. README.md +1 -3
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('text2text-generation', model="relbert/opt-350m-analogy")
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-350m-analogy")
25
  output = pipe("mammal is to whale what")
 
 
26
  ```