gmittalg commited on
Commit
26249e8
1 Parent(s): e9820bf

Update Readme.md to use correct peft library syntax.

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -20,7 +20,7 @@ base_model = AutoModelForCausalLM.from_pretrained(
20
  )
21
  tokenizer = AutoTokenizer.from_pretrained('meta-llama/Llama-2-7b-chat-hf')
22
 
23
- model = PeftModel.from_pretrained('FinGPT/fingpt-forecaster_dow30_llama2-7b_lora')
24
  model = model.eval()
25
  ```
26
 
 
20
  )
21
  tokenizer = AutoTokenizer.from_pretrained('meta-llama/Llama-2-7b-chat-hf')
22
 
23
+ model = PeftModel.from_pretrained(base_model, 'FinGPT/fingpt-forecaster_dow30_llama2-7b_lora')
24
  model = model.eval()
25
  ```
26