anowakowski
commited on
Commit
·
86cece5
1
Parent(s):
3455472
Update README.md
Browse files
README.md
CHANGED
@@ -20,7 +20,7 @@ Sample usage:
|
|
20 |
```
|
21 |
from transformers import pipeline
|
22 |
|
23 |
-
pipe = pipeline(task="text2text-generation", model="amu-cai/polemma-
|
24 |
hyp = [res['generated_text'] for res in pipe(["federalnego urzędu statystycznego"], clean_up_tokenization_spaces=True, num_beams=5)][0]
|
25 |
```
|
26 |
|
|
|
20 |
```
|
21 |
from transformers import pipeline
|
22 |
|
23 |
+
pipe = pipeline(task="text2text-generation", model="amu-cai/polemma-small", tokenizer="amu-cai/polemma-small")
|
24 |
hyp = [res['generated_text'] for res in pipe(["federalnego urzędu statystycznego"], clean_up_tokenization_spaces=True, num_beams=5)][0]
|
25 |
```
|
26 |
|