asusevski commited on
Commit
135e4fe
·
1 Parent(s): 50f4a03

remove hf token requirement

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -29,8 +29,7 @@ base_model = AutoModelForCausalLM.from_pretrained(
29
  base_model_id,
30
  quantization_config=bnb_config,
31
  device_map="auto",
32
- trust_remote_code=True,
33
- token=True
34
  )
35
 
36
  model = PeftModel.from_pretrained(base_model, ft_model_id).to(device)
 
29
  base_model_id,
30
  quantization_config=bnb_config,
31
  device_map="auto",
32
+ trust_remote_code=True
 
33
  )
34
 
35
  model = PeftModel.from_pretrained(base_model, ft_model_id).to(device)