Downloads · 30 days
124
7% of all-time downloads
Josephgflowers/Phinance-Phi-4-mini-instruct-finance-v0.4-with-reasoning-gguf
Phinance-Phi-4-mini-instruct-finance-v0.4-with-reasoning-gguf is a machine learning model from Josephgflowers. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Downloads · 30 days
124
7% of all-time downloads
All-time downloads
1.7K
Public
Repo size
14.3 GB
Likes
0
Public
Click a slice to open those files.
.gguf14.3 GB · 100%
From the Hugging Face model README

Phinance-Phi-4-mini-instruct-finance-v0.4-with-reasoning is a compact, fine-tuned model built on top of microsoft/Phi-4-mini-instruct with a strong emphasis on structured financial reasoning and instruction-following. This release blends financial QA, reasoning chains, and RAG-ready formatting into a lightweight agent optimized for advanced finance applications.
This model is particularly good at producing structured outputs like JSON, following instruction patterns, and chaining logical steps when prompted with tags like <thinking> or <think>.
This model also outperforms the base models on multi language capabilities.
After v0.4, the model was further fine-tuned on newly released multilingual finance reasoning datasets, explicitly targeting real-world coverage gaps in non-English finance QA:
This training phase addressed:
Phi-4-mini-instructPhi-4-mini-instruct to retain broad instruction capability.Finance-Instruct-500k using reasoning system promptsPhi-4-mini-reasoning to strengthen chain-of-thought behaviorFinance-Instruct-500k using reasoning system prompts<thinking> tags to guide reasoning chains
You are a financial assistant that explains your reasoning step by step. Use <thinking>...</thinking> to wrap your reasoning.
Expect JSON-style outputs for tasks like:
Entity extraction
Address parsing
XBRL tagging
{
"system": "You are a financial reasoning assistant. Use <thinking> to show your steps.",
"user": "<context>ABC Inc reported a quarterly revenue increase of 12% while cutting debt by 8%</context>\nWhat does this indicate about the company’s short-term stability?",
"assistant": "<thinking>This revenue increase suggests improved sales or pricing power. Debt reduction enhances cash flow and reduces risk. Together, they signal improved short-term financial health.</thinking> It indicates strong short-term stability."
}
@model{josephgflowers2025phinancephi4,
title={Phinance-Phi-4-mini-instruct-finance-v0.4-with-reasoning},
author={Joseph G. Flowers},
year={2025},
url={https://huggingface.co/Josephgflowers/Phinance-Phi-4-mini-instruct-finance-v0.4-with-reasoning}
}