CFGPT: Chinese Financial Assistant with Large Language Model

Jiangtong Li, Yuxuan Bian, Guoxuan Wang, Yang Lei, Dawei Cheng +2 more
9/19/2023
cs.CLcs.AIcs.CE

Official code: TongjiFinLab/CFGPT (94 stars, Apache-2.0, last commit 2024-09-04).

Abstract

Large language models (LLMs) have demonstrated great potential in natural language processing tasks within the financial domain. In this work, we present a Chinese Financial Generative Pre-trained Transformer framework, named CFGPT, which includes a dataset~(CFData) for pre-training and supervised fine-tuning, a financial LLM~(CFLLM) to adeptly manage financial texts, and a deployment framework~(CFAPP) designed to navigate real-world financial applications. The CFData comprising both a pre-training dataset and a supervised fine-tuning dataset, where the pre-training dataset collates Chinese financial data and analytics, alongside a smaller subset of general-purpose text with 584M documents and 141B tokens in total, and the supervised fine-tuning dataset is tailored for six distinct financial tasks, embodying various facets of financial analysis and decision-making with 1.5M instruction pairs and 1.5B tokens in total. The CFLLM, which is based on InternLM-7B to balance the model capability and size, is trained on CFData in two stage, continued pre-training and supervised fine-tuning. The CFAPP is centered on large language models (LLMs) and augmented with additional modules to ensure multifaceted functionality in real-world application. Our codes are released at https://github.com/TongjiFinLab/CFGPT.

View on arXivView PDF

Code Implementations(1)

TongjiFinLab/CFGPTOfficial100%
Apache-2.0

Chinese Financial Assistant with Large Language Model

949Shell, PythonSep 1, 20232 years agoApache-2.0

Similar Papers

Cite this paper

@article{li2023cfgpt,
  title  = {CFGPT: Chinese Financial Assistant with Large Language Model},
  author = {Jiangtong Li and Yuxuan Bian and Guoxuan Wang and Yang Lei and Dawei Cheng and Zhijun Ding and Changjun Jiang},
  year   = {2023},
  eprint = {2309.10654},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.10654v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.10654.svg)](https://codeofpaper.com/paper/2309.10654)

Discussion