Instructions to use mradermacher/OpenMath-CodeLlama-7b-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-7b-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-7b-Python-hf-i1-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/OpenMath-CodeLlama-7b-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-7b-Python-hf-i1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/OpenMath-CodeLlama-7b-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-7b-Python-hf-i1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/OpenMath-CodeLlama-7b-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-7b-Python-hf-i1-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf mradermacher/OpenMath-CodeLlama-7b-Python-hf-i1-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/OpenMath-CodeLlama-7b-Python-hf-i1-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use mradermacher/OpenMath-CodeLlama-7b-Python-hf-i1-GGUF with Ollama:
ollama run hf.co/mradermacher/OpenMath-CodeLlama-7b-Python-hf-i1-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use mradermacher/OpenMath-CodeLlama-7b-Python-hf-i1-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/OpenMath-CodeLlama-7b-Python-hf-i1-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/OpenMath-CodeLlama-7b-Python-hf-i1-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/OpenMath-CodeLlama-7b-Python-hf-i1-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.OpenMath-CodeLlama-7b-Python-hf-i1-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Commit History
-
uploaded from rain
Verified signature5180171 -
uploaded from rain
Verified signatureb20d81d -
uploaded from rain
Verified signatureb1b9448 -
uploaded from rain
Verified signature18d5c91 -
uploaded from rain
Verified signature322fce8 -
uploaded from rain
Verified signatured944482 -
uploaded from rain
Verified signature46ffca8 -
uploaded from rain
Verified signature286b5c3 -
uploaded from rain
Verified signature0884251 -
uploaded from rain
Verified signaturea742817 -
uploaded from rain
Verified signature8ddd6c3
-
uploaded from rain
Verified signature50e25a6 -
uploaded from rain
Verified signatureadcc5d1 -
uploaded from rain
Verified signature23e9fe9 -
uploaded from rain
Verified signature20466d2 -
uploaded from rain
Verified signature629c7fc -
uploaded from rain
Verified signature68603a4 -
uploaded from rain
Verified signature6533747 -
uploaded from rain
Verified signature3ef9601 -
uploaded from rain
Verified signature2219979 -
uploaded from rain
Verified signature522e70d -
uploaded from rain
Verified signature3732706 -
uploaded from rain
Verified signature18a7fb5 -
uploaded from rain
Verified signature69e6969 -
uploaded from rain
Verified signature2173dcc -
initial commit
Verified signature8bc71c6