AI4Finance-Foundation / AI4Finance-Foundation/FinGPT

Fine-tuning error.

未关闭
#160 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Jupyter Notebook
星标
21.3k
派生
3k
平均合并
8 小时 42 分钟
30 天内合并 PR
7

描述

Hey guys,

I'm trying to do finetunning using finGPT.
According to the website https://medium.datadriveninvestor.com/introducing-fingpt-forecaster-the-future-of-robo-advisory-services-50add34e3d3c

it takes 2 steps such as:
1- Prepare Data (prepare_data.ipynb)
2- The Training Process (train_lora.py)

Executing the first step (prepare_data.ipynb) generates two folders, one containing the .csv files and the other containing the .json files, as in the image below

![Screenshot from 2024-02-08 16-38-10](https://github.com/AI4Finance-Foundation/FinGPT/assets/10437996/9fa76b3f-949d-47ea-a54f-914ab8f8891f)

The problem is in the second step:
When executing the train_lora.py file I have the following error AttributeError: 'NoneType' object has no attribute 'strip' , as in the image below

![Screenshot from 2024-02-08 16-42-37](https://github.com/AI4Finance-Foundation/FinGPT/assets/10437996/f91e1bde-2406-45d6-a839-b9a2e0b0ca3a)

I don't know what else to do... please, could someone help me?
Many thanks!!

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。