FinGPT: Open-source financial LLMs for sentiment analysis and forecasting
F

FinGPT: Open-source financial LLMs for sentiment analysis and forecasting

FinGPT: Open-source financial LLMs for sentiment analysis and forecasting

20,756 stars
N/A forks
N/A contributors

README

Project documentation from GitHub

FinGPT: Open-Source Financial LLMs Ready for Sentiment Analysis and Forecasting

If you've ever tried to build a financial sentiment model from scratch, you know it's painful. You need domain-specific data, expensive APIs, and a lot of patience to fine-tune a model. Then there's the cost. Training a decent LLM on financial text? That can hit six figures fast.

But what if you could take the latest open-source LLM, fine-tune it on financial data in a few hours, and do it all for a fraction of the cost? That's exactly what FinGPT is aiming for.

It's an open-source framework designed to help developers build financial LLMs without the overhead. Think sentiment analysis, forecasting, and even custom trading signals — all from a project that's free to use and modifiable.

What It Does

FinGPT is not a single model. It's a modular framework that wraps around existing open-source LLMs (like Llama, GPT-2, or BLOOM) and provides tools specifically for financial data.

The core idea is simple: take a pre-trained LLM, fine-tune it on financial texts (news, earnings calls, social media), and get a model that understands finance.

It covers three main areas:

  • Sentiment Analysis: Classify financial news as bullish, bearish, or neutral.
  • Forecasting: Predict stock price movements based on text signals.
  • Custom Data Pipelines: Load financial data from APIs like Yahoo Finance or Alpha Vantage.

The key innovation is the "LoRA" (Low-Rank Adaptation) fine-tuning method baked into the framework. Instead of retraining the entire model, LoRA updates only a small set of parameters, making it fast and cheap.

Why It's Cool

1. Affordable fine-tuning.
The authors claim you can fine-tune a model on a single consumer GPU (like an RTX 3090) in under an hour. Compare that to training from scratch on a cluster.

2. Modular and hackable.
Want to swap the base model? Change the data source? Add a custom prediction head? The code is structured as a pipeline where each part is replaceable. As a dev, you can plug in your own LLM or data loader without rewriting everything.

3. Ready-to-use data loaders.
They provide scrapers and loaders for financial news from sources like Reuters, Bloomberg, and even Reddit's WallStreetBets. No more writing custom parsers.

4. Real-time potential.
Because the models are small and fine-tuned quickly, you can retrain them daily or hourly with fresh data. This makes them useful for trading bots or live dashboards.

Did you like this issue?

Join our weekly newsletter

Love discovering amazing projects?

Help us continue bringing you the best open-source discoveries every week.

Back to Projects
Last updated: Jun 18, 2026