Commit ·
6b4604f
1
Parent(s): 2e05e8b
Update
Browse files
app.py
CHANGED
|
@@ -100,7 +100,7 @@ def deidentify_doc(pdftext=""):
|
|
| 100 |
"content": pdftext}, ]
|
| 101 |
prompt = model.tokenizer.apply_chat_template(
|
| 102 |
messages,
|
| 103 |
-
tokenize=
|
| 104 |
add_generation_prompt=True
|
| 105 |
)
|
| 106 |
terminators = [
|
|
|
|
| 100 |
"content": pdftext}, ]
|
| 101 |
prompt = model.tokenizer.apply_chat_template(
|
| 102 |
messages,
|
| 103 |
+
tokenize=False,
|
| 104 |
add_generation_prompt=True
|
| 105 |
)
|
| 106 |
terminators = [
|