AI4Finance-Foundation / FinGPT

FinGPT: Open-Source Financial Large Language Models! Revolutionize 🔥 We release the trained model on HuggingFace.
https://ai4finance.org
MIT License
13.48k stars 1.88k forks source link

model load error #122

Closed HackerHuangZY closed 6 months ago

HackerHuangZY commented 9 months ago

When I running LORA,ipynb. I have downloaded the chatglm2_6b in local disks, however it raise the error DatasetGenerationError: An error occurred while generating the dataset

wangwxr commented 9 months ago

您好 怎么下载chatglm2_6b

Weiyao-Li commented 6 months ago

If it is dataset generation error, please take a look at the "dataset" related script and firstly test if this dataset is generated or not. If it has errors like null pointer exception, or NoneType in python. You should start from there.

Weiyao-Li commented 6 months ago

您好 怎么下载chatglm2_6b

There are 2 ways: remote fetch from hugging face or local download and use.