Instructions to use FinGPT/fingpt-forecaster_dow30_llama2-7b_lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use FinGPT/fingpt-forecaster_dow30_llama2-7b_lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("base_models/Llama-2-7b-chat-hf") model = PeftModel.from_pretrained(base_model, "FinGPT/fingpt-forecaster_dow30_llama2-7b_lora") - Notebooks
- Google Colab
- Kaggle
Where is the data used in the demo?
#1
by Patrick-DS - opened
I'm specifically trying to run the FinGPT demo from the Jupyter notebook
https://github.com/AI4Finance-Foundation/FinGPT/blob/master/fingpt/FinGPT_Forecaster/demo.ipynb
on my machine. In that notebook, the 6th cell reads
test_dataset = load_from_disk('data/fingpt-forecaster-dow30v3-20221231-20230531-llama/')['test']
and it will of course not work since I don't have that data on my machine. Where can I find it? I'm just trying to have something running on my machine so I can start playing with the model.
Thank you for any help you can provide!
This comment has been hidden
Same here, although several other datasets were shared, this one wasnt!