Downloads · 30 days
24
21% of all-time downloads
Starfish55/fingpt-complete
fingpt-complete is a text generation model from Starfish55. Use it when you need the model to write or continue text. The card lists the license as mit.
<div align="center" <img src="https://github.com/AI4Finance-Foundation/FinGPT/assets/31713746/e0371951-1ce1-488e-aa25-0992dafcc139" width="30%" </div
Downloads · 30 days
24
21% of all-time downloads
All-time downloads
117
Public
Repo size
4.9 MB
Likes
2
Public
Click a slice to open those files.
.ipynb6.1 MB · 37%
From the Hugging Face model README
FinGPT is an open-source financial large language model that revolutionizes the financial industry by providing accessible, lightweight, and cost-effective solutions for financial tasks. Unlike proprietary models like BloombergGPT, FinGPT democratizes financial AI by offering:
| Model | FPB | FiQA-SA | TFNS | NWGI | Device | Time | Cost |
|---|---|---|---|---|---|---|---|
| FinGPT v3.3 | 0.882 | 0.874 | 0.903 | 0.643 | RTX 3090 | 17.25h | $17.25 |
| GPT-4 | 0.833 | 0.630 | 0.808 | - | - | - | - |
| BloombergGPT | 0.511 | 0.751 | - | - | 512×A100 | 53 days | $2.67M |
FinGPT embraces a full-stack framework with five layers:
fingpt-mt_llama2-7b_lora: Fine-tuned Llama2-7b with LoRAfingpt-mt_falcon-7b_lora: Fine-tuned Falcon-7b with LoRAfingpt-mt_chatglm2-6b_lora: Fine-tuned ChatGLM2-6b with LoRAfingpt-sentiment_llama2-13b_lora: Financial sentiment analysisfingpt-forecaster_dow30_llama2-7b_lora: Stock price forecastingpip install fingpt
from fingpt import FinGPT
# Initialize model
model = FinGPT.from_pretrained("FinGPT/fingpt-sentiment_llama2-13b_lora")
# Financial sentiment analysis
text = "Apple Inc. reported strong quarterly earnings, beating analyst expectations."
result = model.analyze_sentiment(text)
print(result) # Output: positive
@article{yang2023fingpt,
title={FinGPT: Open-Source Financial Large Language Models},
author={Yang, Hongyang and Liu, Xiao-Yang and Wang, Christina Dan},
journal={FinLLM Symposium at IJCAI 2023},
year={2023}
}
MIT License
This model is for academic and research purposes only. Nothing herein is financial advice, and NOT a recommendation to trade real money. Please use common sense and always consult a professional before trading or investing.