File size: 2,962 Bytes
f63ac44
f0623ea
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f63ac44
 
f0623ea
3de0a0d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f63ac44
f0623ea
 
f63ac44
f0623ea
 
f63ac44
f0623ea
 
f63ac44
 
 
f0623ea
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f63ac44
 
 
f0623ea
f63ac44
 
f0623ea
f63ac44
 
 
 
 
 
 
f0623ea
f63ac44
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
---
license: mit
tags:
- finance
- financial-qa
- finetuned-llm
- phi3
- phi-3-mini
- fintech
- accounting
- banking
- investment
- risk-analysis
- lora
- merged-model
language:
- en
pipeline_tag: text-generation
base_model: microsoft/phi-3-mini-4k-instruct
model_name: finance_llm_full
model_creator: devAnurag
pretty_name: Finance LLM Full
---

# πŸ’Ž Finance LLM Full β€” Next-Gen Financial Intelligence Model
<p align="center">
  <img src="finanace_llm.png" alt="Finance LLM Logo" width="180" style="border-radius:12px;"/>
</p>

<h1 align="center">πŸ’Ό Finance LLM Full</h1>

<p align="center">
  <b>A next-generation Financial Intelligence Model<br>
  Fine-Tuned, Merged & Optimized for Real-World Finance</b>
</p>

<p align="center">
  <a href="https://huggingface.co/devAnurag/finance_llm_full">
    <img src="https://img.shields.io/badge/HuggingFace-Model-yellow?logo=huggingface" />
  </a>
  <img src="https://img.shields.io/badge/Model%20Type-Merged%20LoRA-blue" />
  <img src="https://img.shields.io/badge/Base%20Model-Phi3%20Mini%204K-green" />
  <img src="https://img.shields.io/badge/Domain-Finance%20%26%20Business-purple" />
</p>

---




**Finance LLM Full** is a high-performance, fully merged financial Large Language Model (LLM)  
designed to deliver **crystal-clear, accurate, and structured financial reasoning**.

It is trained using **LoRA fine-tuning** on top of **Phi-3 Mini 4K Instruct**, and later  
**merged into a single standalone model** for seamless deployment.

This model specializes in **Finance, Accounting, Banking, Investment, Stock Markets, and Business Analysis** β€”  
making it ideal for **FinTech products, AI advisors, investment copilots, and enterprise bots**.

---

# ⚑ Why Finance LLM Full is Special

### πŸ”Ή 1. Purpose-Built For Finance  
Unlike general LLMs, this model deeply understands:
- Balance Sheet Interpretation  
- Profit & Loss Breakdown  
- Cashflow Logic  
- EBITDA / EPS / ROE / DCF  
- Risk & Return Analysis  
- Banking, Loans, Limits, Credit Rules  
- Valuation Basics  
- Investment & Portfolio Concepts  

### πŸ”Ή 2. Merged Model β†’ One File, Zero Hassle  
βœ” No LoRA needed  
βœ” No adapter loading  
βœ” Direct plug-and-play  
βœ” Works on CPU / GPU / Colab / Docker  

### πŸ”Ή 3. Small Model β†’ Big Capability  
Powered by **Phi-3 Mini**, optimized for:
- Low latency  
- Low VRAM/RAM usage  
- Clean, structured answers  
- High domain accuracy  

---

# πŸ§ͺ Quick Start (Copy & Run)

```python
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch

model_id = "devAnurag/finance_llm_full"

tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16)

prompt = "Explain the difference between EBITDA and Net Profit."
inputs = tokenizer(prompt, return_tensors="pt")

outputs = model.generate(**inputs, max_new_tokens=150)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))