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:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/OpenMath2-Llama3.1-8B-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/OpenMath2-Llama3.1-8B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/OpenMath2-Llama3.1-8B-GGUF", filename="OpenMath2-Llama3.1-8B-Q2_K.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tensorblock/OpenMath2-Llama3.1-8B-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -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-server -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
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -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/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -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
- 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 Studio new
How to use tensorblock/OpenMath2-Llama3.1-8B-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/OpenMath2-Llama3.1-8B-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/OpenMath2-Llama3.1-8B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/OpenMath2-Llama3.1-8B-GGUF to start chatting
- Pi new
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-server -hf tensorblock/OpenMath2-Llama3.1-8B-GGUF:Q2_K
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/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
- Hermes Agent new
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-server -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:8080/v1 hermes config set model.default tensorblock/OpenMath2-Llama3.1-8B-GGUF:Q2_K
Run Hermes
hermes
- 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
Keep Q2_K/Q3_K_M gguf only
Browse files- OpenMath2-Llama3.1-8B-Q3_K_L.gguf +0 -3
- OpenMath2-Llama3.1-8B-Q3_K_S.gguf +0 -3
- OpenMath2-Llama3.1-8B-Q4_0.gguf +0 -3
- OpenMath2-Llama3.1-8B-Q4_K_M.gguf +0 -3
- OpenMath2-Llama3.1-8B-Q4_K_S.gguf +0 -3
- OpenMath2-Llama3.1-8B-Q5_0.gguf +0 -3
- OpenMath2-Llama3.1-8B-Q5_K_M.gguf +0 -3
- OpenMath2-Llama3.1-8B-Q5_K_S.gguf +0 -3
- OpenMath2-Llama3.1-8B-Q6_K.gguf +0 -3
- OpenMath2-Llama3.1-8B-Q8_0.gguf +0 -3
OpenMath2-Llama3.1-8B-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:0f12e7505b2e2115ef2d959bfe53edeb77f8d5be0fccb40c11373a35ab526519
|
| 3 |
-
size 4321961376
|
|
|
|
|
|
|
|
|
|
|
|
OpenMath2-Llama3.1-8B-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:aee83b72a36f00d4bd8e0762d1bba1c2d9ebe7c0d6c84ad12fc80824de05abc0
|
| 3 |
-
size 3664504224
|
|
|
|
|
|
|
|
|
|
|
|
OpenMath2-Llama3.1-8B-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a9a2124bbc16aae54703c204b47fc1d3cb2e5972dcc0a29ed12e7a3a0d414f06
|
| 3 |
-
size 4661216672
|
|
|
|
|
|
|
|
|
|
|
|
OpenMath2-Llama3.1-8B-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:0431cc0eae0add3f33c347793442b8117a21b348ee75cc96a12b0ad2d74db23d
|
| 3 |
-
size 4920739232
|
|
|
|
|
|
|
|
|
|
|
|
OpenMath2-Llama3.1-8B-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d3cdc2121c5fa06ffe549d6cc2461caee576f967d06d66d008070231d2b8bfae
|
| 3 |
-
size 4692673952
|
|
|
|
|
|
|
|
|
|
|
|
OpenMath2-Llama3.1-8B-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e123625cbabea478652244689f5a262a5104d48674bc4f08faf8ca883da56a1e
|
| 3 |
-
size 5599298976
|
|
|
|
|
|
|
|
|
|
|
|
OpenMath2-Llama3.1-8B-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:768a1abbd0f42a20e22788da46d392bae5347607d7726c91d5ea14e7380b1dc8
|
| 3 |
-
size 5732992416
|
|
|
|
|
|
|
|
|
|
|
|
OpenMath2-Llama3.1-8B-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:81d9aab28a6125cc2d2803d085079b83c366639654b4713434dad388ac731fdf
|
| 3 |
-
size 5599298976
|
|
|
|
|
|
|
|
|
|
|
|
OpenMath2-Llama3.1-8B-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7376e398da4f918651349861a1c42abf78731ddd692428ffdbc9baa6fa3d1747
|
| 3 |
-
size 6596011424
|
|
|
|
|
|
|
|
|
|
|
|
OpenMath2-Llama3.1-8B-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e17da94e769a5fd6f6a8ad45c44f6cd3fb9ca9c4038ab822d4edfa64b8e92c6c
|
| 3 |
-
size 8540775840
|
|
|
|
|
|
|
|
|
|
|
|