DDiaa commited on
Commit
337985e
·
verified ·
1 Parent(s): 9cba13f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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-7B-Instruct")
32
- tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-2-7B-Instruct")
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")