FinGPT as a large FinLLM language model

Large language models (LLMs) are revolutionizing natural language processing in many areas and are attracting particular interest in finance. Access to high-quality financial data is the first challenge for financial LLMs (FinLLMs). Proprietary models such as BloombergGPT benefit from exclusive access to data, but there is an urgent need for an open source alternative to democratize financial data at Internet scale.

In this article we present FinGPT from Yang et al. (2023) an open source large-scale language model for the financial sector. Unlike proprietary models such as BloombergGPT, FinGPT takes a data-centric approach and provides researchers and practitioners with accessible and transparent resources to develop their FinLLMs.

We particularly highlight the automatic data curation pipelines and lightweight low-rank adaptation techniques that characterize FinGPT. We also showcase several potential applications that serve as precursors for users, including robo-advisory, algorithmic trading and low-code development. With the support of Konfuzio, we offer valuable insights into how FinLLMs are unlocking new opportunities in finance.

Only high-quality, relevant and up-to-date data is effective and efficient

The continued expansion and evolution of artificial intelligence is acting as a fertile field for the proliferation of large language models that are bringing about a transformational change in the landscape of natural language processing. This sweeping change is taking finance by storm and is generating a lot of interest in the application of these models. But how will artificial intelligence shape the future of finance? Acquiring high-quality, relevant and up-to-date data is at the heart of developing an effective and efficient open source financial language model.

Language models in the financial sector are facing huge challenges. We collect data, we process information, we transform the financial world. These challenges range from sourcing to managing data in different formats and types. The flow of data is like the blood in the veins of an efficient financial model - essential and continuous. Managing inconsistencies in data quality and the need for up-to-date information are essential requirements. The extraction of historical or specialized financial data is particularly complex, as it must be obtained from different data media such as web platforms, APIs, PDF documents and images.

While proprietary models like BloombergGPT are exclusive, FinGPT strives for openness and transparency. Artificial intelligence mines financial data like gold, and FinGPT is the gold digger that unearths the treasures. These new synergies create exciting opportunities and revolutionize the financial world.

Comparison FinGPT to BloombergGPT

In the proprietary space, models such as BloombergGPT leverage their exclusive access to specialized data to train financial language models. However, this limited accessibility and the lack of transparency of their data collections and training protocols emphasize the urgent demand for an open and inclusive alternative. In response to this demand, we observe a clear trend towards the democratization of financial data at Internet scale within the open source domain.

In this article, we focus on the challenges of handling financial data and present FinGPT, a comprehensive open source framework for financial language models (FinLLMs). With a data-centric approach, FinGPT emphasizes the essential role of data collection, cleansing and preparation in the development of open source FinLLMs.

Challenges in the use of LLMs in the financial sector

Financial data is not only diverse, but also dynamic and highly time-sensitive. It includes a wide range of sources, including financial news, corporate reports, social media and market indicators. Data quality and relevance can vary widely, which further increases the challenge of using LLMs in finance.

Financial institutions face a number of challenges when it comes to data processing:

  • Heterogeneity of data sources - Financial data comes from various sources with different formats and structures.
  • Time sensitivity - Financial data is extremely time-critical and delayed information can have a significant impact on decision-making.
  • Signal-to-noise ratio - Due to the variety of data sources and the flood of information, the signal-to-noise ratio in financial data can be low, highlighting the importance of noise suppression and filtering.

These challenges underline the importance of a data-centric approach to the development of FinLLMs. Thorough data preparation and cleansing are crucial to ensure high-quality data inputs for LLMs and improve their financial performance.

Open source approach for financial LLMs

The increasing importance of LLMs in finance has sparked interest in open source alternatives that provide broader access to financial data and models. In contrast to proprietary solutions, open source LLMs provide a transparent, accessible and customizable platform for the development of financial applications and solutions.

The open source approach offers several advantages:

  • Transparency - Open source LLMs provide insight into their source code and training data, which increases confidence in the models and allows their performance to be verified.
  • Adaptability - By accessing the source code, developers can adapt open source LLMs to specific requirements and use cases, which increases the flexibility and versatility of the models.
  • Community contribution - Open source projects promote collaboration and knowledge sharing within the community, which can lead to faster innovation and progress.

These benefits have helped make open source LLMs an attractive option for financial institutions and developers looking for scalable and customizable solutions.

Architecture of FinGPT

FinGPT is an end-to-end open source framework for the development of FinLLMs. It comprises several components that work together to create high-quality financial language models:

  1. Data resource layer - This layer is responsible for collecting and processing financial data from a variety of sources. This includes financial news, company reports, social media and market data. The data is continuously updated and cleansed to ensure high-quality inputs for the model.
  2. Data engineering layer - This layer focuses on the processing and preparation of financial data for use in the model. This includes the cleansing of data, the extraction of relevant information and the preparation of training data for the FinGPT model.
  3. LLMs layer - In this layer, the FinGPT model is trained and refined to effectively understand and generate financial texts. This includes fine-tuning techniques such as transfer learning and fine-tuning on financial data to optimize the performance of the model.
  4. Application layer - The application layer comprises various applications and use cases for FinGPT in the financial sector. These include sentiment analysis, information extraction, document search and more. These applications demonstrate the versatility and performance of FinGPT in the financial sector.

Main structure of the FinGPT framework

The FinGPT Framework is divided into different layers and components, which together form the FinGPT Framework. Each layer and component has specific functions that contribute to the development and use of FinLLMs (financial language models).


At the top level, the application layer shows various applications of the FinGPT model in the financial sector:

  • Robo-Advisor - Personalized financial advice.
  • Quantitative Trading - Generation of trading signals for well-founded trading decisions.
  • Portfolio Optimization - Optimization of investment portfolios based on numerous economic indicators and investor profiles.
  • Financial Sentiment Analysis - Assessment of sentiment on various financial platforms for insightful investment advice.
  • Risk Management - Formulation of effective risk strategies by analyzing various risk factors.
  • Financial Fraud Detection - Identification of potentially fraudulent transaction patterns to improve financial security.
  • Credit scoring - Prediction of creditworthiness based on financial data to support credit decisions.
  • Insolvency Prediction - Prediction of possible insolvencies or company failures based on financial and market data.
  • M&A Forecasting - Predicting potential mergers and acquisitions by analyzing financial data and company profiles.
  • ESG Scoring - Evaluation of ESG criteria (environmental, social, governance) of companies by analyzing public reports and news articles.
  • Low-Code Development - Support software development through user-friendly interfaces, reducing dependence on traditional programming. Read more at: How low-code and no-code revolutionize business processes.
  • Financial EducationServes as an AI tutor that simplifies complex financial concepts to improve financial literacy.

LLMs (Large Language Models)

Below this is the layer for large language models, which is divided into two main areas:

Data Processing (Data Engineering)

The next layer focuses on the data processingwhich comprises the following steps:

  • Data Cleaning - Cleansing of data to ensure its quality.
  • Tokenization - Division of the text into smaller units or tokens.
  • Steamming/Lemmatization - Reduction of words to their basic forms.
  • Feature Extraction - Extraction of relevant characteristics from the data.
  • Prompt Engineering - Create effective prompts that guide the language model generation process in the desired direction.

Data storage and integration (Data Warehouse and Integration)

One of the lowest layers is the layer for data storage and integration:

  • Data Warehouse (Storage) - Storage of data in a data warehouse.
  • Real-time Data Pipeline APIs - APIs for real-time data pipelines and streaming data.
  • FinNLP - Tools and libraries for processing financial texts.
  • Data Integration - Integration of data from different sources.

Data sources (Data Source)

The lowest layer is represented by the various data sources used by the FinGPT framework:

  • News - Financial news from websites such as Finnhub, Yahoo Finance, CNBC, etc.
  • Social media - Social media platforms such as Twitter, Weibo, Reddit, etc.
  • Filings - Company reports and regulatory filings from platforms such as SEC, NYSE, NASDAQ, etc.
  • Trends - Market trends from websites such as Google Trends, Seeking Alpha, etc.
  • Datasets - Various datasets such as AShare, stocknet-dataset etc.

Overall, the framework provides a detailed framework that supports the development and application of large-scale language models in the financial sector by integrating comprehensive data sources and advanced data processing techniques.

Benefits from FinGPT

FinGPT offers a number of key features that make it an attractive option for the development of FinLLMs:

  • Open Source - FinGPT is an open source project that is available free of charge and is actively developed by the community. This enables broad participation and collaboration in the development of FinLLMs.
  • Modularity - FinGPT has a modular structure, which enables developers to adapt and expand individual components as required. This facilitates the integration of FinGPT into existing systems and applications.
  • Scalability - FinGPT is designed for use in large-scale environments and can be easily scaled to any number of data sets and applications. This enables efficient processing of large amounts of data and the provision of high-quality FinLLMs for various applications.
  • Powerful - FinGPT uses state-of-the-art technologies and methods to create high-quality FinLLMs that can understand and generate a variety of financial texts. This enables precise analysis and processing of financial data for a variety of applications.

Applications and case studies

Sentiment analysis

One of the main applications of FinGPT is sentiment analysis, where the model is used to analyze and evaluate sentiment and emotions in financial texts. This can be used to identify trends and patterns in financial markets and make predictions about future developments.

Information extraction

Another important application of FinGPT is information extraction, where the model is used to extract and structure relevant information from financial texts. This can be used to identify and analyze important events and announcements in the financial markets.

Document search

FinGPT can also be used for document retrieval, where the model is used to search financial texts and identify relevant documents. This can be used to find research materials, perform market analysis and make investment decisions.


In this post, we introduced FinGPT, an open source framework for the development of FinLLMs. We have presented the architecture of FinGPT, its key features and applications as well as case studies. We believe that FinGPT is a powerful tool for the development of FinLLMs and can support a wide range of applications and use cases in finance. By combining state-of-the-art technologies and methodologies with an open-source approach, FinGPT enables efficient processing of financial data and the development of high-quality FinLLMs for various applications and industries.

We are confident that FinGPT will make a significant contribution to the further development of natural language processing in the financial sector and open up new possibilities for the analysis, processing and use of financial data.

Maximilian Schneider Avatar

Latest articles