Instructions to use MrinalKumar/finance-analyzer-V2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MrinalKumar/finance-analyzer-V2 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("MrinalKumar/finance-analyzer-V2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use MrinalKumar/finance-analyzer-V2 with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf MrinalKumar/finance-analyzer-V2:Q4_K_M # Run inference directly in the terminal: llama cli -hf MrinalKumar/finance-analyzer-V2:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf MrinalKumar/finance-analyzer-V2:Q4_K_M # Run inference directly in the terminal: llama cli -hf MrinalKumar/finance-analyzer-V2:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf MrinalKumar/finance-analyzer-V2:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf MrinalKumar/finance-analyzer-V2:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf MrinalKumar/finance-analyzer-V2:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf MrinalKumar/finance-analyzer-V2:Q4_K_M
Use Docker
docker model run hf.co/MrinalKumar/finance-analyzer-V2:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use MrinalKumar/finance-analyzer-V2 with Ollama:
ollama run hf.co/MrinalKumar/finance-analyzer-V2:Q4_K_M
- Unsloth Studio
How to use MrinalKumar/finance-analyzer-V2 with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for MrinalKumar/finance-analyzer-V2 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for MrinalKumar/finance-analyzer-V2 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for MrinalKumar/finance-analyzer-V2 to start chatting
- Docker Model Runner
How to use MrinalKumar/finance-analyzer-V2 with Docker Model Runner:
docker model run hf.co/MrinalKumar/finance-analyzer-V2:Q4_K_M
- Lemonade
How to use MrinalKumar/finance-analyzer-V2 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull MrinalKumar/finance-analyzer-V2:Q4_K_M
Run and chat with the model
lemonade run user.finance-analyzer-V2-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Update README.md
#1
by 09Catho - opened
README.md
CHANGED
|
@@ -11,12 +11,67 @@ language:
|
|
| 11 |
- en
|
| 12 |
---
|
| 13 |
|
| 14 |
-
#
|
| 15 |
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
-
This qwen2 model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
|
| 21 |
|
| 22 |
-
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|
|
|
|
| 11 |
- en
|
| 12 |
---
|
| 13 |
|
| 14 |
+
# Finance Earnings Call Q&A Bot
|
| 15 |
|
| 16 |
+
**Fine-tuned LLM for financial question-answering and earnings call simulation**
|
| 17 |
+
By Mrinal Kumar
|
| 18 |
+
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
## π Model Overview
|
| 22 |
+
|
| 23 |
+
This model is a quantized [Qwen-2.5B / your base model] transformer fine-tuned on real earnings call transcripts and Q&A pairs from S&P 500 companies and global markets. It is designed to:
|
| 24 |
+
|
| 25 |
+
- Summarize complex financial calls into key insights
|
| 26 |
+
- Simulate Q&A between analysts and CFOs/CEOs
|
| 27 |
+
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
## π Example Use Cases
|
| 31 |
+
|
| 32 |
+
- **Students:** Learn how real-world analysts and CFOs communicate
|
| 33 |
+
- **Investors:** Get concise summaries or simulate earnings call Q&A
|
| 34 |
+
- **Researchers:** Build finance chatbots or extract structured knowledge from transcripts
|
| 35 |
+
|
| 36 |
+
---
|
| 37 |
+
|
| 38 |
+
## ποΈ Training Data
|
| 39 |
+
|
| 40 |
+
- **Dataset:** Manually curated Q&A pairs extracted from publicly available earnings calls ([Kaggle Earnings Call Datasets](https://www.kaggle.com/))
|
| 41 |
+
- **Format:** Each example consists of an analyst question (`input`) and a CFO/CEO response (`output`)
|
| 42 |
+
- **Size:** 1,000+ Q&A pairs for diverse scenarios
|
| 43 |
+
|
| 44 |
+
---
|
| 45 |
+
|
| 46 |
+
## π‘ Example Questions
|
| 47 |
+
|
| 48 |
+
| Analyst Question | Model Response |
|
| 49 |
+
| ---------------------------------------------------- | ------------------------------------------------------------------ |
|
| 50 |
+
| What drove the 20% YoY revenue growth? | Revenue growth was driven by new subscriptions and higher pricing. |
|
| 51 |
+
| Can you explain margin contraction in the EU market? | Margins contracted due to logistics costs and currency headwinds. |
|
| 52 |
+
| What are your key risks for next quarter? | Potential supply-chain delays and FX volatility. |
|
| 53 |
+
|
| 54 |
+
---
|
| 55 |
+
|
| 56 |
+
## π¬ Training Details
|
| 57 |
+
|
| 58 |
+
* **Base model:** Qwen-2.5B quantized GGUF
|
| 59 |
+
* **Environment:** Google Colab, 4-bit quantization for memory efficiency
|
| 60 |
+
* **Optimization:** Fine-tuned using Unsloth/PEFT on curated JSONL dataset
|
| 61 |
+
|
| 62 |
+
---
|
| 63 |
+
|
| 64 |
+
## π€ Acknowledgements
|
| 65 |
+
|
| 66 |
+
* **Hugging Face & Kaggle** for model hosting and data
|
| 67 |
+
* **Open source communities** for technical guidance
|
| 68 |
+
|
| 69 |
+
---
|
| 70 |
+
|
| 71 |
+
## π License
|
| 72 |
+
|
| 73 |
+
Apache 2.0
|
| 74 |
+
|
| 75 |
+
---
|
| 76 |
|
|
|
|
| 77 |
|
|
|