suayptalha
commited on
Commit
•
24051c2
1
Parent(s):
3bf2852
Update README.md
Browse files
README.md
CHANGED
@@ -21,6 +21,8 @@ model_name = "unsloth/Meta-Llama-3.1-8B"
|
|
21 |
model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto", torch_dtype=torch.float16)
|
22 |
model.gradient_checkpointing_enable()
|
23 |
|
|
|
|
|
24 |
adapter_path = "suayptalha/Llama-3.1-8b-Turkish-Finetuned"
|
25 |
model = PeftModel.from_pretrained(model, adapter_path)
|
26 |
|
|
|
21 |
model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto", torch_dtype=torch.float16)
|
22 |
model.gradient_checkpointing_enable()
|
23 |
|
24 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
25 |
+
|
26 |
adapter_path = "suayptalha/Llama-3.1-8b-Turkish-Finetuned"
|
27 |
model = PeftModel.from_pretrained(model, adapter_path)
|
28 |
|