No1r97 gmittalg commited on
Commit
b2fea6d
1 Parent(s): e9820bf

Update Readme.md to use correct peft library syntax. (#4)

Browse files

- Update Readme.md to use correct peft library syntax. (26249e8be7224c35f2cf1ea4dc309e6b3ef4d9eb)


Co-authored-by: Gaurav Mittal <gmittalg@users.noreply.huggingface.co>

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