Update README.md
Browse files
README.md
CHANGED
@@ -62,7 +62,7 @@ login(token="")
|
|
62 |
tokenizer = AutoTokenizer.from_pretrained("unsloth/Qwen2.5-1.5B-Instruct",)
|
63 |
base_model = AutoModelForCausalLM.from_pretrained(
|
64 |
"unsloth/Qwen2.5-1.5B-Instruct",
|
65 |
-
device_map="
|
66 |
)
|
67 |
|
68 |
model = PeftModel.from_pretrained(base_model,"Rustamshry/Qwen2.5-1.5B-Medical-Az")
|
|
|
62 |
tokenizer = AutoTokenizer.from_pretrained("unsloth/Qwen2.5-1.5B-Instruct",)
|
63 |
base_model = AutoModelForCausalLM.from_pretrained(
|
64 |
"unsloth/Qwen2.5-1.5B-Instruct",
|
65 |
+
device_map={"": 0}, token=""
|
66 |
)
|
67 |
|
68 |
model = PeftModel.from_pretrained(base_model,"Rustamshry/Qwen2.5-1.5B-Medical-Az")
|