nicoladecao
commited on
Commit
•
645163c
1
Parent(s):
e4867ce
Update README.md
Browse files
README.md
CHANGED
@@ -70,7 +70,7 @@ outputs = model.generate(
|
|
70 |
|
71 |
tokenizer.batch_decode(outputs, skip_special_tokens=True)
|
72 |
```
|
73 |
-
which outputs the following top-5 predictions (using
|
74 |
```
|
75 |
['Albert Einstein',
|
76 |
'Erwin Schrödinger',
|
|
|
70 |
|
71 |
tokenizer.batch_decode(outputs, skip_special_tokens=True)
|
72 |
```
|
73 |
+
which outputs the following top-5 predictions (using constrained beam search)
|
74 |
```
|
75 |
['Albert Einstein',
|
76 |
'Erwin Schrödinger',
|