Mubit-Qwen2.5-7B-FinQA: A Model for Financial Analysis and Calculations
2 min read
This model is built on Qwen/Qwen2.5-7B-Instruct and trained to solve complex financial and legal tasks: multi-step financial ratio calculations, financial statement analysis, and mixed contract processing. It achieves high accuracy in financial QA (question and answering) tasks and outperforms alternatives on several general benchmarks. The model targets financial analysts, researchers, and developers building automated document analysis tools.
Key features
- 90.0% accuracy in solving FinQA tasks, comparable to the Fin-R1 model at a smaller size.
- Improved F1 scores in CUAD contract evaluation and on the IFEval and LongHealth benchmarks.
- Low off-topic KL deviation and stable behavior through careful safety tuning.
- Distributed under the Apache 2.0 license for open use.
What you can do
- Integrate the model into enterprise chatbots for rapid analysis of financial reports and balance sheets.
- Use it for automated margin calculation, ratio computation, and multi-step math problems based on document text.
- Apply it for comprehensive contract reviews and legal agreement audits for financial risks.
- Deploy it locally or on a server using vLLM to process large document collections.
Examples
Launching the service via vLLM:
vllm serve MubitLabs/Mubit-Qwen2.5-7B-FinQA --dtype bfloat16 --max-model-len 32768Usage in Python:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "MubitLabs/Mubit-Qwen2.5-7B-FinQA"
tok = AutoTokenizer.from_pretrained(model_id, trust_remote_code=False)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16, device_map="auto", trust_remote_code=False)Read more
DetailsBenchmarks: FinQA — 90.0%, CUAD F1 — 0.942, IFEval — 0.875, LongHealth — 1.000, HarmBench Refuse — 1.000.
Requirements: a GPU with bfloat16 support and enough memory for 7.62B parameters.
Limitations: not intended for unverified investment advice and automated trading.
Base model: Qwen/Qwen2.5-7B-Instruct.










Comments