Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ examples = dataset.map(process_questions, remove_columns=dataset.column_names)["
|
|
31 |
|
32 |
# add options
|
33 |
|
34 |
-
stop_strings = ["<|im_end|>", "<|end|>", "<im_start|>", "```python\n", "<|im_start|>", "]}}]}}]"]
|
35 |
|
36 |
|
37 |
def strip_bad_tokens(s, stop_strings):
|
|
|
31 |
|
32 |
# add options
|
33 |
|
34 |
+
stop_strings = ["<|im_end|>", "<|end|>", "<im_start|>", "```python\n", "<|im_start|>", "]}}]}}]", " <im_start>"]
|
35 |
|
36 |
|
37 |
def strip_bad_tokens(s, stop_strings):
|