How to use from the
Use from the
Transformers library
# Gated model: Login with a HF token with gated access permission
hf auth login
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="TheFinAI/Fin-o1-14B")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("TheFinAI/Fin-o1-14B")
model = AutoModelForCausalLM.from_pretrained("TheFinAI/Fin-o1-14B", device_map="auto")
messages = [
    {"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

Request access to Fin-o1-14B

Fin-o1-14B is released by The Fin AI for research. Access is granted automatically after you complete this short form.

This model is released for research purposes. It must not be used to provide personalized investment advice or to make automated financial decisions without human oversight. Use is also subject to the license of the base model (Qwen3, Apache 2.0).

Log in or Sign Up to review the conditions and access this model content.

Fin-o1-14B

πŸ“„ Paper Β· πŸ€— Collection Β· πŸ’» Code Β· πŸ† Leaderboard Β· 🌐 The Fin AI

Fin-o1-14B is a financial reasoning model fine-tuned from Qwen3-14B with supervised fine-tuning on financial chain-of-thought data followed by GRPO reinforcement learning. It was introduced in Fino1: On the Transferability of Reasoning-Enhanced LLMs and Reinforcement Learning to Finance (arXiv:2502.08127).

Fin-o1 vs. Fino1. The two families come from the same paper but are different generations:

Fino1 (2025-02/03) Fin-o1 (2025-05)
8B Fino1-8B β€” Llama-3.1-8B-Instruct Fin-o1-8B β€” Qwen3-8B
14B Fino1-14B β€” Qwen2.5-14B-Instruct Fin-o1-14B β€” Qwen3-14B
Training SFT + RL on GPT-4o reasoning paths SFT + GRPO

For new work we recommend the Fin-o1 models.

Model Details

Base model Qwen/Qwen3-14B
Architecture Qwen3ForCausalLM, 40 layers, hidden size 5120
Precision bfloat16
Context length 40,960 tokens (max_position_embeddings)
Training data TheFinAI/FinCoT
Training method SFT, then GRPO
Language English
License Qwen3, Apache 2.0 (inherited from the base model)

Quick Start

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "TheFinAI/Fin-o1-14B"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype="auto", device_map="auto")

messages = [{
    "role": "user",
    "content": "A company's revenue grew from $120M to $150M while operating costs rose from $90M to $105M. "
               "By how many percentage points did the operating margin change?",
}]
inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt", return_dict=True).to(model.device)
output = model.generate(**inputs, max_new_tokens=1024)
print(tokenizer.decode(output[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))

Evaluation

Fino1 and Fin-o1 are evaluated on FinQA, DocMath-Eval (simple / complex long), XBRL-Math and related financial reasoning tasks. See the paper and the Open FinLLM Reasoning Leaderboard for results.

Intended Use & Limitations

  • Intended use: research on financial numerical reasoning, question answering over financial text and tables, and as a baseline for financial reasoning models.
  • Not intended for: investment advice, trading decisions, or any automated financial decision without human review.
  • The model can produce incorrect calculations or hallucinated figures, especially on long documents with multiple tables.
  • Trained and evaluated on English data only.

Citation

@misc{qian2025fino1transferabilityreasoningenhancedllms,
      title={Fino1: On the Transferability of Reasoning-Enhanced LLMs and Reinforcement Learning to Finance},
      author={Lingfei Qian and Weipeng Zhou and Yan Wang and Xueqing Peng and Han Yi and Yilun Zhao and Jimin Huang and Qianqian Xie and Jian-yun Nie},
      year={2025},
      eprint={2502.08127},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2502.08127},
}

Contact

Questions and issues: open a discussion on this repository or on GitHub.

Downloads last month
54
Safetensors
Model size
15B params
Tensor type
BF16
Β·
Inference Providers NEW
Input a message to start chatting with TheFinAI/Fin-o1-14B.

Model tree for TheFinAI/Fin-o1-14B

Finetuned
Qwen/Qwen3-14B
Finetuned
(380)
this model
Quantizations
2 models

Dataset used to train TheFinAI/Fin-o1-14B

Space using TheFinAI/Fin-o1-14B 1

Collection including TheFinAI/Fin-o1-14B

Paper for TheFinAI/Fin-o1-14B