Update model.py
Browse files
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=
|
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")
|