Instructions to use mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/MathCoder2-CodeLlama-7B-i1-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-CodeLlama-7B-i1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/MathCoder2-CodeLlama-7B-i1-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-CodeLlama-7B-i1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/MathCoder2-CodeLlama-7B-i1-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-CodeLlama-7B-i1-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/MathCoder2-CodeLlama-7B-i1-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-CodeLlama-7B-i1-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF with Ollama:
ollama run hf.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.MathCoder2-CodeLlama-7B-i1-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Commit History
-
auto-patch README.md
Verified signature52eee21 -
uploaded from kaos
Verified signature4c2f103 -
uploaded from kaos
Verified signaturec45aeb8 -
uploaded from kaos
Verified signaturede50225 -
uploaded from kaos
Verified signaturee40b525 -
uploaded from kaos
Verified signature1b6f51e -
uploaded from kaos
Verified signaturefd41d38 -
uploaded from kaos
Verified signature2fab05d -
uploaded from kaos
Verified signatureaef1ee1 -
uploaded from kaos
Verified signaturee3c7f76 -
uploaded from kaos
Verified signatured286f1f -
uploaded from kaos
Verified signatured37373f -
uploaded from kaos
Verified signature29e251f -
uploaded from kaos
Verified signaturea938b0b -
uploaded from kaos
Verified signatureac1acbb -
uploaded from kaos
Verified signaturefef3450 -
uploaded from kaos
Verified signature099148d -
auto-patch README.md
Verified signature8610868 -
uploaded from kaos
Verified signature488db5c -
uploaded from kaos
Verified signatured432c36 -
uploaded from kaos
Verified signatureb58eb2e -
uploaded from kaos
Verified signature68c7ed9 -
uploaded from kaos
Verified signature05b52fc -
uploaded from kaos
Verified signature6e27ea7 -
uploaded from kaos
Verified signature6c45a5c -
uploaded from kaos
Verified signature1b63501 -
uploaded from kaos
Verified signaturec879784 -
uploaded from kaos
Verified signature2442953 -
uploaded from kaos
Verified signature07ddb5b -
initial commit
Verified signature4f3c2e4