Instructions to use tensorblock/Mistral-7B-ProXMath-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/Mistral-7B-ProXMath-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tensorblock/Mistral-7B-ProXMath-GGUF")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/Mistral-7B-ProXMath-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/Mistral-7B-ProXMath-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/Mistral-7B-ProXMath-GGUF", filename="Mistral-7B-ProXMath-Q2_K.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/Mistral-7B-ProXMath-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/Mistral-7B-ProXMath-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/Mistral-7B-ProXMath-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/Mistral-7B-ProXMath-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/Mistral-7B-ProXMath-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/Mistral-7B-ProXMath-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/Mistral-7B-ProXMath-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/Mistral-7B-ProXMath-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/Mistral-7B-ProXMath-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/Mistral-7B-ProXMath-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/Mistral-7B-ProXMath-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/Mistral-7B-ProXMath-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/Mistral-7B-ProXMath-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/tensorblock/Mistral-7B-ProXMath-GGUF:Q2_K
- SGLang
How to use tensorblock/Mistral-7B-ProXMath-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "tensorblock/Mistral-7B-ProXMath-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/Mistral-7B-ProXMath-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "tensorblock/Mistral-7B-ProXMath-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/Mistral-7B-ProXMath-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use tensorblock/Mistral-7B-ProXMath-GGUF with Ollama:
ollama run hf.co/tensorblock/Mistral-7B-ProXMath-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/Mistral-7B-ProXMath-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/Mistral-7B-ProXMath-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/Mistral-7B-ProXMath-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/Mistral-7B-ProXMath-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/Mistral-7B-ProXMath-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/Mistral-7B-ProXMath-GGUF:Q2_K
- Lemonade
How to use tensorblock/Mistral-7B-ProXMath-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/Mistral-7B-ProXMath-GGUF:Q2_K
Run and chat with the model
lemonade run user.Mistral-7B-ProXMath-GGUF-Q2_K
List all available models
lemonade list
Keep Q2_K/Q3_K_M gguf only
Browse files- Mistral-7B-ProXMath-Q3_K_L.gguf +0 -3
- Mistral-7B-ProXMath-Q3_K_S.gguf +0 -3
- Mistral-7B-ProXMath-Q4_0.gguf +0 -3
- Mistral-7B-ProXMath-Q4_K_M.gguf +0 -3
- Mistral-7B-ProXMath-Q4_K_S.gguf +0 -3
- Mistral-7B-ProXMath-Q5_0.gguf +0 -3
- Mistral-7B-ProXMath-Q5_K_M.gguf +0 -3
- Mistral-7B-ProXMath-Q5_K_S.gguf +0 -3
- Mistral-7B-ProXMath-Q6_K.gguf +0 -3
- Mistral-7B-ProXMath-Q8_0.gguf +0 -3
Mistral-7B-ProXMath-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:535fc9bf776f6b7f2de794294549cb78a812b875417ae84958aa549ea9490e27
|
| 3 |
-
size 3822025376
|
|
|
|
|
|
|
|
|
|
|
|
Mistral-7B-ProXMath-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:027633ee52bfd3e72be96f26601d58b9a213645e5063e0a8bdec266f201123cb
|
| 3 |
-
size 3164568224
|
|
|
|
|
|
|
|
|
|
|
|
Mistral-7B-ProXMath-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:961bf00ecf04073cf4cea454f42f369f7f946b4ff03110abb5b8e40e740cbed7
|
| 3 |
-
size 4108917408
|
|
|
|
|
|
|
|
|
|
|
|
Mistral-7B-ProXMath-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:6e40370924223d36c69a5c9bcdb36e9d6da9d009654856deeb981e8dee3f1e7b
|
| 3 |
-
size 4368439968
|
|
|
|
|
|
|
|
|
|
|
|
Mistral-7B-ProXMath-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:db5348128cc4c73109f6d6ed4ff52f8a44f8852333e9636147c6034af2915606
|
| 3 |
-
size 4140374688
|
|
|
|
|
|
|
|
|
|
|
|
Mistral-7B-ProXMath-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:de4d7879be87d7bfcbe1d24afa46990be8bd5c35063af4cc7a3ef80a1118bcd8
|
| 3 |
-
size 4997716640
|
|
|
|
|
|
|
|
|
|
|
|
Mistral-7B-ProXMath-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4b012b124fd1421b7fb5d2c1aa5f65da1aee7aa986c752b5272bf03199746dd6
|
| 3 |
-
size 5131410080
|
|
|
|
|
|
|
|
|
|
|
|
Mistral-7B-ProXMath-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:bd2a969828ac4d902f9fee46c92cbfbb5bde20d6282340792d874accec17dc0f
|
| 3 |
-
size 4997716640
|
|
|
|
|
|
|
|
|
|
|
|
Mistral-7B-ProXMath-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:acd45ac1b700d3b70c94ad01bdbe68e8fd1b183f3026a659101a8616201272b9
|
| 3 |
-
size 5942065824
|
|
|
|
|
|
|
|
|
|
|
|
Mistral-7B-ProXMath-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d8a22e21af80d5ff5fc651450550ee27c674af15ca04fdfff549436127aa168a
|
| 3 |
-
size 7695858336
|
|
|
|
|
|
|
|
|
|
|
|