Spaces:
Runtime error
Runtime error
CreitinGameplays
commited on
Commit
•
2136c56
1
Parent(s):
c76b802
Update app.py
Browse files
app.py
CHANGED
@@ -32,8 +32,6 @@ def load_model():
|
|
32 |
torch_dtype=torch.float16,
|
33 |
device_map="auto"
|
34 |
)
|
35 |
-
tokenizer = Tokenizer(BPE())
|
36 |
-
tokenizer.pre_tokenizer = Whitespace()
|
37 |
tokenizer = AutoTokenizer.from_pretrained(model_id, padding_side='left')
|
38 |
tokenizer.use_default_system_prompt = False
|
39 |
|
|
|
32 |
torch_dtype=torch.float16,
|
33 |
device_map="auto"
|
34 |
)
|
|
|
|
|
35 |
tokenizer = AutoTokenizer.from_pretrained(model_id, padding_side='left')
|
36 |
tokenizer.use_default_system_prompt = False
|
37 |
|