AI4Finance-Foundation / AI4Finance-Foundation/FinGPT

Fine-tuning error.

Offen
#160 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Jupyter Notebook
Sterne
21.3k
Forks
3k
Ø Merge
8 Std. 42 Min.
Gemergte PRs (30 T.)
7

Beschreibung

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!!

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.