Run this model with HF Jobs
Run mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -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
- Llama new
- 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
auto-patch README.md
Browse files32 unmodified lines3334353637383940414243444532 unmodified lines| Link | Type | Size/GB | Notes ||:-----|:-----|--------:|:------|| [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-IQ2_M.gguf) | i1-IQ2_M | 2.5 | || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-Q2_K.gguf) | i1-Q2_K | 2.6 | IQ3_XXS probably better || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-IQ3_XXS.gguf) | i1-IQ3_XXS | 2.7 | lower quality || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-IQ3_M.gguf) | i1-IQ3_M | 3.2 | || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-Q3_K_M.gguf) | i1-Q3_K_M | 3.4 | IQ3_S probably better || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-Q4_K_S.gguf) | i1-Q4_K_S | 4.0 | optimal size/speed/quality || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-Q4_K_M.gguf) | i1-Q4_K_M | 4.2 | fast, recommended || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-Q6_K.gguf) | i1-Q6_K | 5.6 | practically like static Q6_K |Here is a handy graph by ikawrakow comparing some lower-quality quant32 unmodified lines333435363738394041424344454647484950515253545556575859606132 unmodified lines| Link | Type | Size/GB | Notes ||:-----|:-----|--------:|:------|| [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-IQ1_S.gguf) | i1-IQ1_S | 1.6 | for the desperate || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-IQ1_M.gguf) | i1-IQ1_M | 1.8 | mostly desperate || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-IQ2_XXS.gguf) | i1-IQ2_XXS | 2.0 | || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-IQ2_XS.gguf) | i1-IQ2_XS | 2.1 | || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-IQ2_S.gguf) | i1-IQ2_S | 2.3 | || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-IQ2_M.gguf) | i1-IQ2_M | 2.5 | || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-Q2_K.gguf) | i1-Q2_K | 2.6 | IQ3_XXS probably better || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-IQ3_XXS.gguf) | i1-IQ3_XXS | 2.7 | lower quality || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-IQ3_XS.gguf) | i1-IQ3_XS | 2.9 | || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-IQ3_S.gguf) | i1-IQ3_S | 3.0 | beats Q3_K* || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-Q3_K_S.gguf) | i1-Q3_K_S | 3.0 | IQ3_XS probably better || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-IQ3_M.gguf) | i1-IQ3_M | 3.2 | || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-Q3_K_M.gguf) | i1-Q3_K_M | 3.4 | IQ3_S probably better || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-Q3_K_L.gguf) | i1-Q3_K_L | 3.7 | IQ3_M probably better || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-IQ4_XS.gguf) | i1-IQ4_XS | 3.7 | || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-Q4_0_4_4.gguf) | i1-Q4_0_4_4 | 3.9 | fast on arm, low quality || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-Q4_0_4_8.gguf) | i1-Q4_0_4_8 | 3.9 | fast on arm+i8mm, low quality || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-Q4_0_8_8.gguf) | i1-Q4_0_8_8 | 3.9 | fast on arm+sve, low quality || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-Q4_0.gguf) | i1-Q4_0 | 3.9 | fast, low quality || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-Q4_K_S.gguf) | i1-Q4_K_S | 4.0 | optimal size/speed/quality || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-Q4_K_M.gguf) | i1-Q4_K_M | 4.2 | fast, recommended || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-Q5_K_S.gguf) | i1-Q5_K_S | 4.8 | || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-Q5_K_M.gguf) | i1-Q5_K_M | 4.9 | || [GGUF](https://huggingface.co/mradermacher/MathCoder2-CodeLlama-7B-i1-GGUF/resolve/main/MathCoder2-CodeLlama-7B.i1-Q6_K.gguf) | i1-Q6_K | 5.6 | practically like static Q6_K |Here is a handy graph by ikawrakow comparing some lower-quality quant
README.md+16