Instructions to use mradermacher/MathCoder2-DeepSeekMath-7B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/MathCoder2-DeepSeekMath-7B-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/MathCoder2-DeepSeekMath-7B-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/MathCoder2-DeepSeekMath-7B-GGUF 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 mradermacher/MathCoder2-DeepSeekMath-7B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/MathCoder2-DeepSeekMath-7B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf mradermacher/MathCoder2-DeepSeekMath-7B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/MathCoder2-DeepSeekMath-7B-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 mradermacher/MathCoder2-DeepSeekMath-7B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/MathCoder2-DeepSeekMath-7B-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 mradermacher/MathCoder2-DeepSeekMath-7B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/MathCoder2-DeepSeekMath-7B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/MathCoder2-DeepSeekMath-7B-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/MathCoder2-DeepSeekMath-7B-GGUF with Ollama:
ollama run hf.co/mradermacher/MathCoder2-DeepSeekMath-7B-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use mradermacher/MathCoder2-DeepSeekMath-7B-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/MathCoder2-DeepSeekMath-7B-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/MathCoder2-DeepSeekMath-7B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/MathCoder2-DeepSeekMath-7B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.MathCoder2-DeepSeekMath-7B-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Commit History
-
auto-patch README.md
Verified signature1f3fd93 -
uploaded from db3
Verified signature9a2e044 -
uploaded from db3
Verified signature418022a -
uploaded from db3
Verified signatureb2d51e9 -
uploaded from db3
Verified signaturec25626f -
uploaded from db3
Verified signature6f8c2ef -
uploaded from db3
Verified signature69fd50f -
uploaded from db3
Verified signature5f81da5 -
uploaded from db3
Verified signature7375afe -
uploaded from db3
Verified signature704a680 -
uploaded from db3
Verified signatureb972a2a -
uploaded from db3
Verified signature7c42d91 -
uploaded from db3
Verified signatureddb5f69 -
uploaded from db3
Verified signaturef8b41b2 -
uploaded from db3
Verified signaturebda258e -
uploaded from db3
Verified signature526fc70 -
initial commit
Verified signaturefc2f289