How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "calcuis/openmath2"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "calcuis/openmath2",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker
docker model run hf.co/calcuis/openmath2:
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
5
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