Run this model with HF Jobs
Run mradermacher/OpenMath-CodeLlama-34b-Python-hf-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-34b-Python-hf-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-34b-Python-hf-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-34b-Python-hf-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/OpenMath-CodeLlama-34b-Python-hf-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/OpenMath-CodeLlama-34b-Python-hf-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/OpenMath-CodeLlama-34b-Python-hf-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-34b-Python-hf-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/OpenMath-CodeLlama-34b-Python-hf-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-34b-Python-hf-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/OpenMath-CodeLlama-34b-Python-hf-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-34b-Python-hf-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf mradermacher/OpenMath-CodeLlama-34b-Python-hf-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/OpenMath-CodeLlama-34b-Python-hf-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use mradermacher/OpenMath-CodeLlama-34b-Python-hf-GGUF with Ollama:
ollama run hf.co/mradermacher/OpenMath-CodeLlama-34b-Python-hf-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use mradermacher/OpenMath-CodeLlama-34b-Python-hf-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/OpenMath-CodeLlama-34b-Python-hf-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/OpenMath-CodeLlama-34b-Python-hf-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/OpenMath-CodeLlama-34b-Python-hf-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.OpenMath-CodeLlama-34b-Python-hf-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: -->static quants of https://huggingface.co/nvidia/OpenMath-CodeLlama-34b-Python-hf123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566---base_model: nvidia/OpenMath-CodeLlama-34b-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: -->static quants of https://huggingface.co/nvidia/OpenMath-CodeLlama-34b-Python-hf<!-- provided-files -->weighted/imatrix quants seem not to be available (by me) at this time. If they do not show up a week or so after the static ones, I have probably not planned for them. Feel free to request them by opening a Community Discussion.## 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-34b-Python-hf-GGUF/resolve/main/OpenMath-CodeLlama-34b-Python-hf.Q2_K.gguf) | Q2_K | 12.6 | || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-34b-Python-hf-GGUF/resolve/main/OpenMath-CodeLlama-34b-Python-hf.Q3_K_S.gguf) | Q3_K_S | 14.7 | || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-34b-Python-hf-GGUF/resolve/main/OpenMath-CodeLlama-34b-Python-hf.Q3_K_M.gguf) | Q3_K_M | 16.4 | lower quality || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-34b-Python-hf-GGUF/resolve/main/OpenMath-CodeLlama-34b-Python-hf.Q3_K_L.gguf) | Q3_K_L | 17.9 | || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-34b-Python-hf-GGUF/resolve/main/OpenMath-CodeLlama-34b-Python-hf.Q4_K_S.gguf) | Q4_K_S | 19.3 | fast, recommended || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-34b-Python-hf-GGUF/resolve/main/OpenMath-CodeLlama-34b-Python-hf.Q4_K_M.gguf) | Q4_K_M | 20.3 | fast, recommended || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-34b-Python-hf-GGUF/resolve/main/OpenMath-CodeLlama-34b-Python-hf.Q6_K.gguf) | Q6_K | 27.8 | very good quality || [GGUF](https://huggingface.co/mradermacher/OpenMath-CodeLlama-34b-Python-hf-GGUF/resolve/main/OpenMath-CodeLlama-34b-Python-hf.Q8_0.gguf) | Q8_0 | 36.0 | fast, best quality |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+60