Spaces:
Running
on
Zero
Running
on
Zero
Daemontatox
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ def initialize_model():
|
|
105 |
bnb_4bit_use_double_quant=True
|
106 |
)
|
107 |
|
108 |
-
tokenizer = AutoTokenizer.from_pretrained(MODEL_ID)
|
109 |
if tokenizer.pad_token_id is None:
|
110 |
tokenizer.pad_token_id = tokenizer.eos_token_id
|
111 |
|
|
|
105 |
bnb_4bit_use_double_quant=True
|
106 |
)
|
107 |
|
108 |
+
tokenizer = AutoTokenizer.from_pretrained(MODEL_ID , trust_remote_code=True)
|
109 |
if tokenizer.pad_token_id is None:
|
110 |
tokenizer.pad_token_id = tokenizer.eos_token_id
|
111 |
|