AI4Finance-Foundation / FinGPT

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

How to make dataset_title_test.json file? #19

Closed asmcos closed 1 year ago

asmcos commented 1 year ago

I try FinGPT-v1/data_preparations. I have use add_labels.py make results_with_content/*.csv

How to make dataset_title_test.json?

I find example: instructions = json.load(open("/root/FinGPT-ChatGLM-Fineturning/data/title/dataset_title_test.json")) The file is alpaca format ?

oliverwang15 commented 1 year ago

Hi, asmcos.

We have updated the code and you may find the code for generating the dataset in alpaca format here.

asmcos commented 1 year ago

Thank you.