Run this model with HF Jobs
Run mradermacher/OpenMath-CodeLlama-13b-Python-hf-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/OpenMath-CodeLlama-13b-Python-hf-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/OpenMath-CodeLlama-13b-Python-hf-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/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/OpenMath-CodeLlama-13b-Python-hf-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/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/OpenMath-CodeLlama-13b-Python-hf-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/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/OpenMath-CodeLlama-13b-Python-hf-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/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF with Ollama:
ollama run hf.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.OpenMath-CodeLlama-13b-Python-hf-i1-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
auto-patch README.md
Browse files123456<!-- ### quantize_version: 2 --><!-- ### output_tensor_quantised: 1 --><!-- ### convert_type: hf --><!-- ### vocab_type: --><!-- ### tags: nicoboss -->weighted/imatrix quants of https://huggingface.co/nvidia/OpenMath-CodeLlama-13b-Python-hf12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182---base_model: nvidia/OpenMath-CodeLlama-13b-Python-hfdatasets:- nvidia/OpenMathInstruct-1language:- enlibrary_name: transformerslicense: llama2quantized_by: mradermachertags:- nvidia- code- math---## About<!-- ### quantize_version: 2 --><!-- ### output_tensor_quantised: 1 --><!-- ### convert_type: hf --><!-- ### vocab_type: --><!-- ### tags: nicoboss -->weighted/imatrix quants of https://huggingface.co/nvidia/OpenMath-CodeLlama-13b-Python-hf<!-- provided-files -->static quants are available at https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-GGUF## UsageIf you are unsure how to use GGUF files, refer to one of [TheBloke'sREADMEs](https://huggingface.co/TheBloke/KafkaLM-70B-German-V0.1-GGUF) formore details, including on how to concatenate multi-part files.## Provided Quants(sorted by size, not necessarily quality. IQ-quants are often preferable over similar sized non-IQ quants)| Link | Type | Size/GB | Notes ||:-----|:-----|--------:|:------|| [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-IQ1_S.gguf) | i1-IQ1_S | 3.0 | for the desperate || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-IQ1_M.gguf) | i1-IQ1_M | 3.2 | mostly desperate || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-IQ2_XXS.gguf) | i1-IQ2_XXS | 3.6 | || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-IQ2_XS.gguf) | i1-IQ2_XS | 4.0 | || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-IQ2_S.gguf) | i1-IQ2_S | 4.3 | || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-Q2_K_S.gguf) | i1-Q2_K_S | 4.5 | very low quality || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-IQ2_M.gguf) | i1-IQ2_M | 4.6 | || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-Q2_K.gguf) | i1-Q2_K | 5.0 | IQ3_XXS probably better || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-IQ3_XXS.gguf) | i1-IQ3_XXS | 5.1 | lower quality || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-IQ3_XS.gguf) | i1-IQ3_XS | 5.5 | || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-IQ3_S.gguf) | i1-IQ3_S | 5.8 | beats Q3_K* || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-Q3_K_S.gguf) | i1-Q3_K_S | 5.8 | IQ3_XS probably better || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-IQ3_M.gguf) | i1-IQ3_M | 6.1 | || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-Q3_K_M.gguf) | i1-Q3_K_M | 6.4 | IQ3_S probably better || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-Q3_K_L.gguf) | i1-Q3_K_L | 7.0 | IQ3_M probably better || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-IQ4_XS.gguf) | i1-IQ4_XS | 7.1 | || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-IQ4_NL.gguf) | i1-IQ4_NL | 7.5 | prefer IQ4_XS || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-Q4_0.gguf) | i1-Q4_0 | 7.5 | fast, low quality || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-Q4_K_S.gguf) | i1-Q4_K_S | 7.5 | optimal size/speed/quality || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-Q4_K_M.gguf) | i1-Q4_K_M | 8.0 | fast, recommended || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-Q4_1.gguf) | i1-Q4_1 | 8.3 | || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-Q5_K_S.gguf) | i1-Q5_K_S | 9.1 | || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-Q5_K_M.gguf) | i1-Q5_K_M | 9.3 | || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-13b-Python-hf-i1-GGUF/resolve/main/OpenMath-CodeLlama-13b-Python-hf.i1-Q6_K.gguf) | i1-Q6_K | 10.8 | practically like static Q6_K |Here is a handy graph by ikawrakow comparing some lower-quality quanttypes (lower is better):And here are Artefact2's thoughts on the matter:https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9## FAQ / Model RequestSee https://huggingface.co/mradermacher/model_requests for some answers toquestions you might have and/or if you want some other model quantized.## ThanksI thank my company, [nethype GmbH](https://www.nethype.de/), for lettingme use its servers and providing upgrades to my workstation to enablethis work in my free time. Additional thanks to [@nicoboss](https://huggingface.co/nicoboss) for giving me access to his private supercomputer, enabling me to provide many more imatrix quants, at much higher quality, than I would otherwise be able to.<!-- end -->
README.md+76