Instructions to use tensorblock/OpenMath2-Llama3.1-8B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/OpenMath2-Llama3.1-8B-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/OpenMath2-Llama3.1-8B-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/OpenMath2-Llama3.1-8B-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 tensorblock/OpenMath2-Llama3.1-8B-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/OpenMath2-Llama3.1-8B-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/OpenMath2-Llama3.1-8B-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/OpenMath2-Llama3.1-8B-GGUF:Q2_K
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 tensorblock/OpenMath2-Llama3.1-8B-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama cli -hf tensorblock/OpenMath2-Llama3.1-8B-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/OpenMath2-Llama3.1-8B-GGUF:Q2_K
- Llama new
- LM Studio
- Jan
- Ollama
How to use tensorblock/OpenMath2-Llama3.1-8B-GGUF with Ollama:
ollama run hf.co/tensorblock/OpenMath2-Llama3.1-8B-GGUF:Q2_K
- Unsloth Desktop
- Pi
How to use tensorblock/OpenMath2-Llama3.1-8B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tensorblock/OpenMath2-Llama3.1-8B-GGUF:Q2_K
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "tensorblock/OpenMath2-Llama3.1-8B-GGUF:Q2_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use tensorblock/OpenMath2-Llama3.1-8B-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/OpenMath2-Llama3.1-8B-GGUF:Q2_K
- Lemonade
How to use tensorblock/OpenMath2-Llama3.1-8B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/OpenMath2-Llama3.1-8B-GGUF:Q2_K
Run and chat with the model
lemonade run user.OpenMath2-Llama3.1-8B-GGUF-Q2_K
List all available models
lemonade list
- Hermes Agent
How to use tensorblock/OpenMath2-Llama3.1-8B-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tensorblock/OpenMath2-Llama3.1-8B-GGUF:Q2_K
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default tensorblock/OpenMath2-Llama3.1-8B-GGUF:Q2_K
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use tensorblock/OpenMath2-Llama3.1-8B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tensorblock/OpenMath2-Llama3.1-8B-GGUF:Q2_K
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "tensorblock/OpenMath2-Llama3.1-8B-GGUF:Q2_K" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Keep Q2_K/Q3_K_M gguf only
Browse filesFiles changed (10)
- OpenMath2-Llama3.1-8B-Q3_K_L.ggufDeleted-3
- OpenMath2-Llama3.1-8B-Q3_K_S.ggufDeleted-3
- OpenMath2-Llama3.1-8B-Q4_0.ggufDeleted-3
- OpenMath2-Llama3.1-8B-Q4_K_M.ggufDeleted-3
- OpenMath2-Llama3.1-8B-Q4_K_S.ggufDeleted-3
- OpenMath2-Llama3.1-8B-Q5_0.ggufDeleted-3
- OpenMath2-Llama3.1-8B-Q5_K_M.ggufDeleted-3
- OpenMath2-Llama3.1-8B-Q5_K_S.ggufDeleted-3
- OpenMath2-Llama3.1-8B-Q6_K.ggufDeleted-3
- OpenMath2-Llama3.1-8B-Q8_0.ggufDeleted-3
123version https://git-lfs.github.com/spec/v1oid sha256:0f12e7505b2e2115ef2d959bfe53edeb77f8d5be0fccb40c11373a35ab526519size 4321961376123version https://git-lfs.github.com/spec/v1oid sha256:aee83b72a36f00d4bd8e0762d1bba1c2d9ebe7c0d6c84ad12fc80824de05abc0size 3664504224123version https://git-lfs.github.com/spec/v1oid sha256:a9a2124bbc16aae54703c204b47fc1d3cb2e5972dcc0a29ed12e7a3a0d414f06size 4661216672123version https://git-lfs.github.com/spec/v1oid sha256:0431cc0eae0add3f33c347793442b8117a21b348ee75cc96a12b0ad2d74db23dsize 4920739232123version https://git-lfs.github.com/spec/v1oid sha256:d3cdc2121c5fa06ffe549d6cc2461caee576f967d06d66d008070231d2b8bfaesize 4692673952123version https://git-lfs.github.com/spec/v1oid sha256:e123625cbabea478652244689f5a262a5104d48674bc4f08faf8ca883da56a1esize 5599298976123version https://git-lfs.github.com/spec/v1oid sha256:768a1abbd0f42a20e22788da46d392bae5347607d7726c91d5ea14e7380b1dc8size 5732992416123version https://git-lfs.github.com/spec/v1oid sha256:81d9aab28a6125cc2d2803d085079b83c366639654b4713434dad388ac731fdfsize 5599298976123version https://git-lfs.github.com/spec/v1oid sha256:7376e398da4f918651349861a1c42abf78731ddd692428ffdbc9baa6fa3d1747size 6596011424123version https://git-lfs.github.com/spec/v1oid sha256:e17da94e769a5fd6f6a8ad45c44f6cd3fb9ca9c4038ab822d4edfa64b8e92c6csize 8540775840OpenMath2-Llama3.1-8B-Q3_K_L.ggufDeleted-3
OpenMath2-Llama3.1-8B-Q3_K_S.ggufDeleted-3
OpenMath2-Llama3.1-8B-Q4_0.ggufDeleted-3
OpenMath2-Llama3.1-8B-Q4_K_M.ggufDeleted-3
OpenMath2-Llama3.1-8B-Q4_K_S.ggufDeleted-3
OpenMath2-Llama3.1-8B-Q5_0.ggufDeleted-3
OpenMath2-Llama3.1-8B-Q5_K_M.ggufDeleted-3
OpenMath2-Llama3.1-8B-Q5_K_S.ggufDeleted-3
OpenMath2-Llama3.1-8B-Q6_K.ggufDeleted-3
OpenMath2-Llama3.1-8B-Q8_0.ggufDeleted-3