How to use from
OpenClaw
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf calcuis/openmath2:
Configure OpenClaw
# Install OpenClaw:
npm install -g openclaw@latest
# Register the local server and set it as the default model:
openclaw onboard --non-interactive --mode local \
  --auth-choice custom-api-key \
  --custom-base-url http://127.0.0.1:8080/v1 \
  --custom-model-id "calcuis/openmath2:" \
  --custom-provider-id llama-cpp \
  --custom-compatibility openai \
  --custom-text-input \
  --accept-risk \
  --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Quick Links

GGUF quantized version of OpenMath2-Llama3.1-8B

project original source (finetuned model)

Q_2_K (not nice)

Q_3_K_S (acceptable)

Q_3_K_M is acceptable (good for running with CPU)

Q_3_K_L (acceptable)

Q_4_K_S (okay)

Q_4_K_M is recommanded (balance)

Q_5_K_S (good)

Q_5_K_M (good in general)

Q_6_K is good also; if you want a better result; take this one instead of Q_5_K_M

Q_8_0 which is very good; need a reasonable size of RAM otherwise you might expect a long wait

f16 is similar to the original hf model; opt this one or hf also fine; make sure you have a good machine

*the latest update includes Q_4_0, Q_4_1 (belong to Q4 family) and Q_5_0, Q_5_1 (Q5 family)

how to run it

use any connector for interacting with gguf; i.e., gguf-connector

the chart and figure above are from finetuned model (nvidia side); those are used for comparing between the finetuned model and the base model; and the base model is from meta

Downloads last month
193
GGUF
Model size
8B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for calcuis/openmath2

Quantized
(10)
this model