Spaces:
Runtime error
Runtime error
harpreetsahota
commited on
Commit
·
7f7b34e
1
Parent(s):
7e7769f
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ EOD = "<|endoftext|>"
|
|
27 |
|
28 |
GENERATION_TITLE= "<p style='font-size: 24px; color: #292b47;'>💻 Your generated code:</p>"
|
29 |
|
30 |
-
tokenizer_fim = AutoTokenizer.from_pretrained("
|
31 |
|
32 |
tokenizer_fim.add_special_tokens({
|
33 |
"additional_special_tokens": [EOD, FIM_PREFIX, FIM_MIDDLE, FIM_SUFFIX, FIM_PAD],
|
|
|
27 |
|
28 |
GENERATION_TITLE= "<p style='font-size: 24px; color: #292b47;'>💻 Your generated code:</p>"
|
29 |
|
30 |
+
tokenizer_fim = AutoTokenizer.from_pretrained("Deci/DeciCoder-1b", use_auth_token=token, padding_side="left")
|
31 |
|
32 |
tokenizer_fim.add_special_tokens({
|
33 |
"additional_special_tokens": [EOD, FIM_PREFIX, FIM_MIDDLE, FIM_SUFFIX, FIM_PAD],
|