# FinGPT

**FinGPT** 是一个面向金融大语言模型（FinLLMs）的开源项目，由 AI4Finance 基金会开发和维护。它提供了一个以数据为中心的框架、指令微调数据集和微调模型，研究人员和从业者可以借助这些资源构建金融语言模型，而无需像 [BloombergGPT](https://www.edgepedia.org/zh/bloomberggpt) 这类专有系统那样享有特权数据访问。<sup>[1](https://arxiv.org/abs/2306.06031)</sup><sup> • </sup><sup>[2](https://github.com/ai4finance-foundation/fingpt)</sup> 该项目由 AI4Finance 基金会的杨宏阳（Hongyang Yang）、哥伦比亚大学的刘小阳（Xiao-Yang Liu）和上海纽约大学的王丹（Christina Dan Wang）在论文中提出，该论文于 2023 年 6 月 9 日提交至 arXiv，并被 IJCAI 2023 的 FinLLM 研讨会接收。<sup>[1](https://arxiv.org/abs/2306.06031)</sup><sup> • </sup><sup>[2](https://github.com/AI4Finance-Foundation/FinGPT)</sup>

| 关键事实 | 详情 |
|---|---|
| 来源 | 论文《FinGPT：开源金融大语言模型》（arXiv:2306.06031），2023 年 6 月 9 日提交；被 IJCAI 2023 FinLLM 研讨会接收<sup>[1](https://arxiv.org/abs/2306.06031)</sup><sup> • </sup><sup>[2](https://github.com/AI4Finance-Foundation/FinGPT)</sup> |
| 方法 | 以数据为中心：自动数据整理流水线加上轻量级低秩适配（LoRA），而非从头训练<sup>[1](https://arxiv.org/abs/2306.06031)</sup> |
| 主要结果 | FinGPT v3.3（LLaMA2-13B 基座）在 FPB 上加权 F1 达到 0.882，FiQA-SA 上 0.874，TFNS 上 0.903，NWGI 上 0.643，在单块 RTX 3090 上微调 17.25 小时，花费约 17.25 美元<sup>[3](https://github.com/AI4Finance-Foundation/FinGPT/blob/master/README.md?plain=1)</sup> |
| 成本对比 | BloombergGPT 的训练成本估计为 267 万美元（512 块 A100 GPU，53 天）；FinGPT 每次微调成本低于 300 美元<sup>[3](https://github.com/AI4Finance-Foundation/FinGPT/blob/master/README.md?plain=1)</sup> |
| 基准论文 | 《FinGPT：金融数据集中开源大语言模型的指令微调基准》（arXiv:2310.04793），NeurIPS 2023 指令研讨会<sup>[4](https://arxiv.org/abs/2310.04793)</sup> |
| RAG 变体 | 面向金融情感分析的检索增强框架，报告准确率和 F1 提升 15% 至 48%；被 ACM ICAIF 2023 接收<sup>[5](https://arxiv.org/abs/2310.04027)</sup> |
| 采用情况 | GitHub 仓库获 21.4k 星标，MIT 许可证；模型和数据集在 HuggingFace 上发布<sup>[2](https://github.com/ai4finance-foundation/fingpt)</sup> |

## 动机与设计

作者将 FinGPT 定位为对金融自然语言处理中数据问题的回应。金融领域与一般文本领域有三点不同：高度时间敏感性、持续动态变化、低信噪比，即有用信号相对于金融文本总量而言十分稀疏。BloombergGPT 等专有模型受益于积累的私有数据，因此该项目的既定目标是通过一个开放替代方案，让互联网规模的金融数据大众化。<sup>[1](https://arxiv.org/abs/2306.06031)</sup>

两个设计选择承载了论证的主要部分。第一，自动数据整理流水线保持训练数据时效性，因为仅在过时新闻上微调过一次的模型，在市场中的相关性会迅速丧失。第二，低秩适配（LoRA）——一种训练小型适配器权重而非更新整个模型的技术——使重复微调的成本低到足以随数据变化而运行。该项目估计，每月或每周重新训练一个 BloombergGPT 规模的模型并不现实，而一次 FinGPT 微调运行的成本不到 300 美元。<sup>[1](https://arxiv.org/abs/2306.06031)</sup><sup> • </sup><sup>[3](https://github.com/AI4Finance-Foundation/FinGPT/blob/master/README.md?plain=1)</sup>

该框架组织为一个五层全栈：数据源层用于实时市场覆盖，数据工程层用于实时 NLP 处理，LLMs 层涵盖 LoRA 等微调方法，任务层定义基准任务，应用层则包含机器人投顾、算法交易和低代码开发等演示。<sup>[1](https://arxiv.org/abs/2306.06031)</sup><sup> • </sup><sup>[2](https://github.com/ai4finance-foundation/fingpt)</sup>

## 模型与基准

v3 情感系列在新闻和推文情感数据上用 LoRA 微调开放基座模型。版本 3.3 使用 LLaMA2-13B 作为基座，v3.2 使用 LLaMA2-7B，v3.1 使用 ChatGLM2-6B。在四个情感基准（FPB、FiQA-SA、TFNS 和 NWGI）上，v3.3 的加权 F1 分别为 0.882、0.874、0.903 和 0.643，在多数数据集上超过 [FinBERT](https://www.edgepedia.org/zh/finbert)（0.880、0.596、0.733、0.538）和 GPT-4（0.833、0.630、0.808），训练成本为单块 RTX 3090 上的 17.25 美元。一个 QLoRA（4 比特）变体训练成本为 4.15 美元，分数较低（FPB 加权 F1 为 0.777）。<sup>[3](https://github.com/AI4Finance-Foundation/FinGPT/blob/master/README.md?plain=1)</sup>

指令微调基准论文由王能（Neng Wang）、杨宏阳和王丹撰写，为评估开放金融大语言模型定义了一条经济高效的进阶路径：在命名实体识别和情感分析等基础任务上进行任务特定微调，合并所有指令数据集进行多任务微调，以及在未见任务上进行零样本评估。已发布的指令数据集包括 fingpt-sentiment-train（76.8K 行）、fingpt-headline（82.2K）、fingpt-finred（27.6K）、fingpt-fiqa_qa（17.1K）、fingpt-ner（511）和 fingpt-fineval（1.06K 道中文选择题）。<sup>[4](https://arxiv.org/abs/2310.04793)</sup><sup> • </sup><sup>[6](https://github.com/AI4Finance-Foundation/FinGPT/blob/master/fingpt/FinGPT_Benchmark/readme.md)</sup>

## 检索增强情感分析

另一条工作路线针对将 LLMs 应用于金融情感时的一个具体弱点：金融新闻往往过于简短，无法携带足够上下文以给出可靠标签。FinGPT-RAG 框架将一个指令微调的 LLM 模块（使模型表现得像情感预测器）与一个检索增强模块（在分类前从外部来源提取上下文）相结合。作者报告，相对于传统模型和 ChatGPT、LLaMA 等通用 LLMs，准确率和 F1 提升 15% 至 48%；在 Financial PhraseBank 零样本评估中，其系统得分为准确率 0.76、F1 0.74，而 GPT-4 为 0.64 和 0.51。该论文被 ACM 金融人工智能国际会议（ICAIF）2023 接收。<sup>[5](https://arxiv.org/abs/2310.04027)</sup><sup> • </sup><sup>[7](https://github.com/AI4Finance-Foundation/FinGPT/blob/master/fingpt/FinGPT_RAG/README.md)</sup>

## 独立评估与局限

2025 年发表的一项评估在六项 NLP 任务上评估了 FinGPT：情感分析、文本分类、命名实体识别、金融问答、文本摘要和股价走势预测。它发现分类任务上表现强劲，通常与 GPT-4 相当，但在金融问答和摘要等推理与生成任务上表现显著较低，在数值准确性和复杂推理方面存在明显差距。<sup>[8](https://arxiv.org/abs/2507.08015)</sup>

CFA 协会对金融领域 LLMs 的综述在类别层面得出一致图景。FinMA 7B 和 FinGPT 7B 等领域微调的金融大语言模型在金融情感分析和标题分类上持续优于通用 LLMs，因为领域特定的指令微调能更好地捕捉金融情感和术语。反之则适用于复杂数值推理和问答，在广泛数学数据上训练的通用模型表现更好。股价走势预测对两类模型仍然困难，没有模型达到持续高准确率。<sup>[9](https://rpc.cfainstitute.org/research/the-automation-ahead-content-series/practical-guide-for-llms-in-the-financial-industry)</sup>

该项目自己的基准文档指出了一个相关局限：由于所用金融任务和数据集的多样性有限，模型可能无法正确响应范围外的指令。<sup>[6](https://github.com/AI4Finance-Foundation/FinGPT/blob/master/fingpt/FinGPT_Benchmark/readme.md)</sup>

## 生态与时间线

FinGPT 位于更广泛的 AI4Finance 开源生态中，该生态还包括用于量化金融深度强化学习的 FinRL 和 FinRobot——一个智能体平台，其多源 LLM 层可以同时调用 FinGPT 和其他模型。<sup>[10](https://fingpt.io/ecosystem)</sup><sup> • </sup><sup>[11](https://arxiv.org/abs/2405.14767)</sup> 发布紧随 2023 年的论文：2023 年 8 月发布金融情感分析模型，2023 年 10 月发布利用该基准构建的多任务金融 LLMs，2023 年 11 月发布带公开演示的 FinGPT-Forecaster。<sup>[2](https://github.com/AI4Finance-Foundation/FinGPT)</sup> 训练好的模型、微调数据集和基准数据托管在 HuggingFace 的 FinGPT 组织下，代码以 MIT 许可证发布。<sup>[2](https://github.com/ai4finance-foundation/fingpt)</sup>

## References

1. [Hongyang Yang, Xiao-Yang Liu, Christina Dan Wang (2023). FinGPT: Open-Source Financial Large Language Models. arXiv:2306.06031.](https://arxiv.org/abs/2306.06031)
2. [AI4Finance-Foundation/FinGPT, GitHub repository.](https://github.com/ai4finance-foundation/fingpt)
3. [FinGPT README, master branch: v3 benchmark results and cost estimates.](https://github.com/AI4Finance-Foundation/FinGPT/blob/master/README.md?plain=1)
4. [Neng Wang, Hongyang Yang, Christina Dan Wang (2023). FinGPT: Instruction Tuning Benchmark for Open-Source Large Language Models in Financial Datasets. arXiv:2310.04793.](https://arxiv.org/abs/2310.04793)
5. [Boyu Zhang, Hongyang Yang, Tianyu Zhou, Ali Babar, Xiao-Yang Liu (2023). Enhancing Financial Sentiment Analysis via Retrieval Augmented Large Language Models. arXiv:2310.04027.](https://arxiv.org/abs/2310.04027)
6. [FinGPT_Benchmark readme, AI4Finance-Foundation/FinGPT.](https://github.com/AI4Finance-Foundation/FinGPT/blob/master/fingpt/FinGPT_Benchmark/readme.md)
7. [FinGPT_RAG readme, AI4Finance-Foundation/FinGPT.](https://github.com/AI4Finance-Foundation/FinGPT/blob/master/fingpt/FinGPT_RAG/README.md)
8. [Assessing the Capabilities and Limitations of FinGPT Model in Financial NLP Applications. arXiv:2507.08015 (2025).](https://arxiv.org/abs/2507.08015)
9. [Practical Guide: LLMs in the Financial Industry, CFA Institute Research and Policy Center.](https://rpc.cfainstitute.org/research/the-automation-ahead-content-series/practical-guide-for-llms-in-the-financial-industry)
10. [Ecosystem, FinGPT documentation site.](https://fingpt.io/ecosystem)
11. [FinRobot: An Open-Source AI Agent Platform for Financial Applications using Large Language Models. arXiv:2405.14767.](https://arxiv.org/abs/2405.14767)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 现代人工智能：基础模型、生成式人工智能与人工智能产业 › Model families and named models › Large language model families › Open-weight model families

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/fingpt

English original: https://www.edgepedia.org/fingpt
