Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Noir97 authored Nov 22, 2023
1 parent e0a8e8f commit e4f3e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fingpt/FinGPT_Forecaster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ base_model = AutoModelForCausalLM.from_pretrained(
device_map="auto",
torch_dtype=torch.float16, # optional if you have enough VRAM
)
tokenizer = AutoTokenizer.from_pretrained('FinGPT/fingpt-forecaster_dow30_llama2-7b_lora')
tokenizer = AutoTokenizer.from_pretrained('meta-llama/Llama-2-7b-chat-hf')
model = PeftModel.from_pretrained('FinGPT/fingpt-forecaster_dow30_llama2-7b_lora')
model = model.eval()
Expand Down

0 comments on commit e4f3e6a

Please sign in to comment.