Instructions to use DhruvBajaji/finance-analyzer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DhruvBajaji/finance-analyzer with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("DhruvBajaji/finance-analyzer", dtype="auto") - llama-cpp-python
How to use DhruvBajaji/finance-analyzer with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="DhruvBajaji/finance-analyzer", filename="unsloth.Q4_K_M.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use DhruvBajaji/finance-analyzer 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 DhruvBajaji/finance-analyzer:Q4_K_M # Run inference directly in the terminal: llama cli -hf DhruvBajaji/finance-analyzer:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf DhruvBajaji/finance-analyzer:Q4_K_M # Run inference directly in the terminal: llama cli -hf DhruvBajaji/finance-analyzer: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 DhruvBajaji/finance-analyzer:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf DhruvBajaji/finance-analyzer: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 DhruvBajaji/finance-analyzer:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf DhruvBajaji/finance-analyzer:Q4_K_M
Use Docker
docker model run hf.co/DhruvBajaji/finance-analyzer:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use DhruvBajaji/finance-analyzer with Ollama:
ollama run hf.co/DhruvBajaji/finance-analyzer:Q4_K_M
- Unsloth Studio
How to use DhruvBajaji/finance-analyzer 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 DhruvBajaji/finance-analyzer 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 DhruvBajaji/finance-analyzer to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for DhruvBajaji/finance-analyzer to start chatting
- Atomic Chat new
- Docker Model Runner
How to use DhruvBajaji/finance-analyzer with Docker Model Runner:
docker model run hf.co/DhruvBajaji/finance-analyzer:Q4_K_M
- Lemonade
How to use DhruvBajaji/finance-analyzer with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull DhruvBajaji/finance-analyzer:Q4_K_M
Run and chat with the model
lemonade run user.finance-analyzer-Q4_K_M
List all available models
lemonade list
output = llm(
"Once upon a time,",
max_tokens=512,
echo=True
)
print(output)Finance Earnings-Call Q&A Assistant
A purpose-built LLM fine-tuned for answering finance questions and recreating earnings-call dialogues
Created by Dhruv Bajaji
π Model Snapshot
This release is a quantized version of the Qwen-2.5 B model, refined on authentic earnings-call transcripts and analyst exchanges from S&P 500 firms and other major markets. It excels at:
- Distilling lengthy calls into clear, actionable takeaways
- Emulating the back-and-forth between analysts and corporate leadership
π Ideal Applications
- Students β Observe the language and framing used by real analysts and executives
- Investors β Request quick call summaries or run mock Q&A sessions
- Researchers & Builders β Integrate a finance-savvy chatbot or mine structured insights from transcripts
π Training Corpus
- Source β Hand-selected Q&A snippets from publicly available earnings-call datasets (e.g., Kaggle)
- Structure β JSONL where each record pairs an analystβs query with a CFO/CEO reply
- Scale β 1 000 + Q&A examples covering a wide range of scenarios
π‘ Sample Prompts
| Analyst Query | Model Reply (sample) |
|---|---|
| βWhat fueled the 20 % year-over-year revenue jump?β | βGrowth stemmed mainly from new subscription tiers and price lifts.β |
| βWhy did EU margins narrow this quarter?β | βLogistics inflation and unfavorable FX rates pressured margins.β |
| βTop risks you foresee for next quarter?β | βWe see supply-chain uncertainty and currency swings as key threats.β |
π¬ Training Setup
- Base β Qwen-2.5 B (GGUF, 4-bit)
- Environment β Google Colab; low-memory 4-bit quantization
- Method β Fine-tuned with Unsloth + PEFT on the curated dataset
π€ Credits
- Hugging Face and Kaggle for infrastructure and datasets
- The broader open-source community for continual inspiration
π License
Released under the Apache 2.0 license.
- Downloads last month
- 33
4-bit
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="DhruvBajaji/finance-analyzer", filename="unsloth.Q4_K_M.gguf", )