Ashishkr commited on
Commit
02cddd1
1 Parent(s): 3697a24

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -28,7 +28,7 @@ model = transformers.AutoModelForCausalLM.from_pretrained(
28
  config=model_config,
29
  quantization_config=bnb_config,
30
  device_map='auto',
31
- use_auth_token=hf_auth
32
  )
33
 
34
  config = PeftConfig.from_pretrained("Ashishkr/llama-2-medical-consultation")
 
28
  config=model_config,
29
  quantization_config=bnb_config,
30
  device_map='auto',
31
+ use_auth_token=token
32
  )
33
 
34
  config = PeftConfig.from_pretrained("Ashishkr/llama-2-medical-consultation")