Update README.md
Browse files
README.md
CHANGED
@@ -55,8 +55,8 @@ model = transformers.AutoModelForCausalLM.from_pretrained(
|
|
55 |
use_auth_token=hf_auth
|
56 |
)
|
57 |
|
58 |
-
config = PeftConfig.from_pretrained("Ashishkr/
|
59 |
-
model = PeftModel.from_pretrained(model, "Ashishkr/
|
60 |
|
61 |
model.eval()
|
62 |
print(f"Model loaded on {device}")
|
|
|
55 |
use_auth_token=hf_auth
|
56 |
)
|
57 |
|
58 |
+
config = PeftConfig.from_pretrained("Ashishkr/llama-2-medical-consultation")
|
59 |
+
model = PeftModel.from_pretrained(model, "Ashishkr/llama-2-medical-consultation").to(device)
|
60 |
|
61 |
model.eval()
|
62 |
print(f"Model loaded on {device}")
|