Commit
•
f7ee0bd
1
Parent(s):
91322c8
Update README.md (#3)
Browse files- Update README.md (d2e6c6d4505a8fe6e7e579ccdc0a34c23b4379e4)
Co-authored-by: Simon Salmon <BigSalmon@users.noreply.huggingface.co>
README.md
CHANGED
@@ -118,7 +118,7 @@ prelude = "this is some text preceding the cursor,"
|
|
118 |
suffix = "and this is some text after it."
|
119 |
|
120 |
|
121 |
-
model_tokenized_input = [50253, *tokenizer(suffix), 50254, *tokenizer(
|
122 |
|
123 |
infilled = model.generate(model_tokenized_input)
|
124 |
|
|
|
118 |
suffix = "and this is some text after it."
|
119 |
|
120 |
|
121 |
+
model_tokenized_input = [50253, *tokenizer(suffix), 50254, *tokenizer(prelude), 50255]
|
122 |
|
123 |
infilled = model.generate(model_tokenized_input)
|
124 |
|