Instructions to use Orionfold/finance-chat-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use Orionfold/finance-chat-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Orionfold/finance-chat-GGUF", filename="model-F16.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use Orionfold/finance-chat-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Orionfold/finance-chat-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf Orionfold/finance-chat-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Orionfold/finance-chat-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf Orionfold/finance-chat-GGUF: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 Orionfold/finance-chat-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Orionfold/finance-chat-GGUF: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 Orionfold/finance-chat-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Orionfold/finance-chat-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Orionfold/finance-chat-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use Orionfold/finance-chat-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Orionfold/finance-chat-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Orionfold/finance-chat-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Orionfold/finance-chat-GGUF:Q4_K_M
- Ollama
How to use Orionfold/finance-chat-GGUF with Ollama:
ollama run hf.co/Orionfold/finance-chat-GGUF:Q4_K_M
- Unsloth Studio new
How to use Orionfold/finance-chat-GGUF 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 Orionfold/finance-chat-GGUF 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 Orionfold/finance-chat-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Orionfold/finance-chat-GGUF to start chatting
- Docker Model Runner
How to use Orionfold/finance-chat-GGUF with Docker Model Runner:
docker model run hf.co/Orionfold/finance-chat-GGUF:Q4_K_M
- Lemonade
How to use Orionfold/finance-chat-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Orionfold/finance-chat-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.finance-chat-GGUF-Q4_K_M
List all available models
lemonade list
finance chat GGUF
GGUF quantizations of AdaptLLM/finance-chat, verified end-to-end on the NVIDIA DGX Spark (GB10, 128 GB unified memory).
Spark-tested
Every Orionfold quant ships with a measurement quad on the NVIDIA DGX Spark (GB10, 128 GB unified memory): perplexity, sustained tok/s, thermal envelope, and FinanceBench (n=50, numeric_match) accuracy. The numbers below are the actual run, not a wishlist.
| Variant | Size | Perplexity (wikitext-2) | tok/s on Spark | FinanceBench (n=50, numeric_match) |
|---|---|---|---|---|
| Q4_K_M | 3.8 GB | 6.221 | 31.1 | 14.0% |
| Q5_K_M | 4.5 GB | 6.164 | 26.9 | 16.0% |
| Q6_K | 5.1 GB | 6.147 | 23.9 | 16.0% |
| Q8_0 | 6.7 GB | 6.137 | 8.9 | 18.0% |
| F16 | 12.6 GB | 6.137 | 11.5 | 18.0% |
Thermal envelope: sustained-load minutes before thermal throttle on a single GB10 = 2 min. Beyond this, expect tok/s degradation; the duty-cycle disclosure is per Orionfold's quant-card standard.
Variants
| Variant | Recommended use |
|---|---|
| Q4_K_M | Best balance — fits comfortably in Spark unified memory at 70B; default pick. |
| Q5_K_M | Higher quality than Q4_K_M with modest size bump. |
| Q6_K | Near-lossless; recommended if memory headroom allows. |
| Q8_0 | Effectively lossless; reach for this when quality matters more than throughput. |
| F16 | Reference — no quantization. Use only for measurement / baseline. |
How to run
Pull a variant:
huggingface-cli download Orionfold/finance-chat-GGUF model-Q5_K_M.gguf \
--local-dir ./models/finance-chat
Serve it via llama-server (OpenAI-compatible API):
llama-server -m ./models/finance-chat/model-Q5_K_M.gguf \
-c 4096 -ngl 99 -t 8 \
--host 0.0.0.0 --port 8080
Or run in-process via llama-cpp-python:
from llama_cpp import Llama
llm = Llama(
model_path="./models/finance-chat/model-Q5_K_M.gguf",
n_ctx=4096, n_gpu_layers=99, chat_format="llama-2",
)
out = llm.create_chat_completion(
messages=[{"role": "user", "content": "Explain working capital."}],
temperature=0.0,
)
print(out["choices"][0]["message"]["content"])
LM Studio and Ollama (via a Modelfile) load the GGUF directly with no additional setup.
Methods
Full methodology and Spark-side measurement protocol: Vertical-curator quants on Spark — finance-chat-GGUF + FinanceBench mini-eval.
Published by Orionfold LLC · orionfold.com · Methods documented at ainative.business/field-notes.
- Downloads last month
- 188
4-bit
5-bit
6-bit
8-bit
16-bit
Model tree for Orionfold/finance-chat-GGUF
Base model
AdaptLLM/finance-chat