Update README.md
Browse files
README.md
CHANGED
@@ -28,8 +28,8 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
28 |
from peft import PeftModel, PeftConfig
|
29 |
|
30 |
# Load the base model
|
31 |
-
model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-
|
32 |
-
tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-2-
|
33 |
|
34 |
# Load the LoRA adapter
|
35 |
model = PeftModel.from_pretrained(model, "DDiaa/EXP-Llama-2-7B")
|
|
|
28 |
from peft import PeftModel, PeftConfig
|
29 |
|
30 |
# Load the base model
|
31 |
+
model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-chat-hf")
|
32 |
+
tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-2-7b-chat-hf")
|
33 |
|
34 |
# Load the LoRA adapter
|
35 |
model = PeftModel.from_pretrained(model, "DDiaa/EXP-Llama-2-7B")
|