Update README.md
Browse files
README.md
CHANGED
@@ -18,7 +18,7 @@ base_model = AutoModelForCausalLM.from_pretrained(
|
|
18 |
device_map="auto",
|
19 |
torch_dtype=torch.float16, # optional if you have enough VRAM
|
20 |
)
|
21 |
-
tokenizer = AutoTokenizer.from_pretrained('
|
22 |
|
23 |
model = PeftModel.from_pretrained('FinGPT/fingpt-forecaster_dow30_llama2-7b_lora')
|
24 |
model = model.eval()
|
|
|
18 |
device_map="auto",
|
19 |
torch_dtype=torch.float16, # optional if you have enough VRAM
|
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()
|