Downloads · 30 days
26
23% of all-time downloads
sweatSmile/Phi3-Mini-FinSight-FinancialQA
Phi3-Mini-FinSight-FinancialQA is a text generation model from sweatSmile. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
This model is a fine-tuned version of microsoft/Phi-3-mini-4k-instruct specialized for financial question answering. It serves as the core reasoning engine for the FinSight 360 financial intelligence system.
Downloads · 30 days
26
23% of all-time downloads
All-time downloads
114
Public
Parameters
3.8B
15.3 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors15.3 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of microsoft/Phi-3-mini-4k-instruct specialized for financial question answering. It serves as the core reasoning engine for the FinSight 360 financial intelligence system.
A 3.8B parameter language model fine-tuned using LoRA (Low-Rank Adaptation) on financial Q&A data. The model is optimized to answer questions about investments, banking, personal finance, and corporate finance topics.
This model can be used directly for:
The model is designed as a component of the FinSight 360 system, which includes:
Users should:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "sweatSmile/Phi3-Mini-FinSight-FinancialQA"
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(model_name, trust_remote_code=True)
prompt = """<|system|>
You are FinSight, an expert financial advisor.<|end|>
<|user|>
What's the difference between a Roth IRA and a Traditional IRA?<|end|>
<|assistant|>
"""
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=256, temperature=0.7, do_sample=True)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
Fine-tuned on 500 samples from FinGPT/fingpt-fiqa_qa, which contains financial questions and expert answers covering:
Due to the small training set (500 samples), formal evaluation metrics were not computed. The model is intended as a proof-of-concept and component for the larger FinSight 360 system.
Question: "How do interest rates affect stock prices?"
Response: [Model provides explanation of inverse relationship between rates and equity valuations]
Question: "What is diversification in investing?"
Response: [Model explains portfolio risk management through asset allocation]
BibTeX:
@misc{phi3-finsight-2025,
author = {sweatSmile},
title = {Phi-3-Mini FinSight Financial Q&A Assistant},
year = {2025},
publisher = {HuggingFace},
journal = {HuggingFace Model Hub},
howpublished = {\url{https://huggingface.co/sweatSmile/Phi3-Mini-FinSight-FinancialQA}}
}
sweatSmile
Available via HuggingFace profile