Update README.md
Browse files
README.md
CHANGED
@@ -19,6 +19,7 @@ tokenizer = AutoTokenizer.from_pretrained("bloomberg/KeyBART")
|
|
19 |
|
20 |
**1. inference**
|
21 |
|
|
|
22 |
from transformers import Text2TextGenerationPipeline
|
23 |
pipe = Text2TextGenerationPipeline(model=model,tokenizer=tokenizer)
|
24 |
|
|
|
19 |
|
20 |
**1. inference**
|
21 |
|
22 |
+
```
|
23 |
from transformers import Text2TextGenerationPipeline
|
24 |
pipe = Text2TextGenerationPipeline(model=model,tokenizer=tokenizer)
|
25 |
|