Instructions to use MaziyarPanahi/MathCoder2-Mistral-7B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use MaziyarPanahi/MathCoder2-Mistral-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 MaziyarPanahi/MathCoder2-Mistral-7B-GGUF:Q5_K_M # Run inference directly in the terminal: llama cli -hf MaziyarPanahi/MathCoder2-Mistral-7B-GGUF:Q5_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf MaziyarPanahi/MathCoder2-Mistral-7B-GGUF:Q5_K_M # Run inference directly in the terminal: llama cli -hf MaziyarPanahi/MathCoder2-Mistral-7B-GGUF:Q5_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 MaziyarPanahi/MathCoder2-Mistral-7B-GGUF:Q5_K_M # Run inference directly in the terminal: ./llama-cli -hf MaziyarPanahi/MathCoder2-Mistral-7B-GGUF:Q5_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 MaziyarPanahi/MathCoder2-Mistral-7B-GGUF:Q5_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf MaziyarPanahi/MathCoder2-Mistral-7B-GGUF:Q5_K_M
Use Docker
docker model run hf.co/MaziyarPanahi/MathCoder2-Mistral-7B-GGUF:Q5_K_M
- LM Studio
- Jan
- vLLM
How to use MaziyarPanahi/MathCoder2-Mistral-7B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MaziyarPanahi/MathCoder2-Mistral-7B-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MaziyarPanahi/MathCoder2-Mistral-7B-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/MaziyarPanahi/MathCoder2-Mistral-7B-GGUF:Q5_K_M
- Ollama
How to use MaziyarPanahi/MathCoder2-Mistral-7B-GGUF with Ollama:
ollama run hf.co/MaziyarPanahi/MathCoder2-Mistral-7B-GGUF:Q5_K_M
- Unsloth Desktop
- Docker Model Runner
How to use MaziyarPanahi/MathCoder2-Mistral-7B-GGUF with Docker Model Runner:
docker model run hf.co/MaziyarPanahi/MathCoder2-Mistral-7B-GGUF:Q5_K_M
- Lemonade
How to use MaziyarPanahi/MathCoder2-Mistral-7B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull MaziyarPanahi/MathCoder2-Mistral-7B-GGUF:Q5_K_M
Run and chat with the model
lemonade run user.MathCoder2-Mistral-7B-GGUF-Q5_K_M
List all available models
lemonade list
- Atomic Chat
Commit History
-
Upload folder using huggingface_hub
Verified signaturece0793e -
Upload folder using huggingface_hub (#1)
Verified signature- efea41c07cf9d0c7e8f66fba6a28bfc0972e017f5907f336ff8a2e7d49a0c298 (506049601b6bcc12079b4fa32059a2935fbd4f1c) - 9404ecdbf03e4acc6e87e3716b13f73fb7e2571b7b7339db1753d712bda4dce1 (a248aa0a8e932044cecff9fabef7572b1d1671e4) - 8a9cc704035980b3be818b272ec4be38829d5dc3232651c8c654451a595de1c3 (e00cb4c77c3744b71349c35ec707fe1d73d5245f) - 4c249691cb652cfb0ceb1fc3772a5ea9156a6ab895b5307bcbc75e1bd6f30e26 (8515de73092fa9f6d1e810eb82787ac150e9966a) - 50ae8ca571efa52b9debb7d47bd6794195c98e1ff3b5695397d86cd5020ed0df (ac68e35faa8fe248cbcac50821338d22817f4b74) - 78cb9122395a6b5b24e75de1d46e18e7c3862c83e5b3e1e05fc27004076e7783 (842a3be0b68f67f486d8b3939f5485d16d6db7a0)34b8ec3 -
initial commit
Verified signaturedfc38f8