Daemontatox commited on
Commit
08c0f9d
·
verified ·
1 Parent(s): 1cf8305

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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