Instructions to use tensorblock/MathLLMs_MathCoder-L-13B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tensorblock/MathLLMs_MathCoder-L-13B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/MathLLMs_MathCoder-L-13B-GGUF", filename="MathCoder-L-13B-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/MathLLMs_MathCoder-L-13B-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/MathLLMs_MathCoder-L-13B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/MathLLMs_MathCoder-L-13B-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/MathLLMs_MathCoder-L-13B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/MathLLMs_MathCoder-L-13B-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/MathLLMs_MathCoder-L-13B-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/MathLLMs_MathCoder-L-13B-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/MathLLMs_MathCoder-L-13B-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/MathLLMs_MathCoder-L-13B-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/MathLLMs_MathCoder-L-13B-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/MathLLMs_MathCoder-L-13B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/MathLLMs_MathCoder-L-13B-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/MathLLMs_MathCoder-L-13B-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/tensorblock/MathLLMs_MathCoder-L-13B-GGUF:Q2_K
- Ollama
How to use tensorblock/MathLLMs_MathCoder-L-13B-GGUF with Ollama:
ollama run hf.co/tensorblock/MathLLMs_MathCoder-L-13B-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/MathLLMs_MathCoder-L-13B-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/MathLLMs_MathCoder-L-13B-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/MathLLMs_MathCoder-L-13B-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/MathLLMs_MathCoder-L-13B-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/MathLLMs_MathCoder-L-13B-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/MathLLMs_MathCoder-L-13B-GGUF:Q2_K
- Lemonade
How to use tensorblock/MathLLMs_MathCoder-L-13B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/MathLLMs_MathCoder-L-13B-GGUF:Q2_K
Run and chat with the model
lemonade run user.MathLLMs_MathCoder-L-13B-GGUF-Q2_K
List all available models
lemonade list
Keep Q2_K/Q3_K_M gguf only
Browse files- MathCoder-L-13B-Q3_K_L.gguf +0 -3
- MathCoder-L-13B-Q3_K_S.gguf +0 -3
- MathCoder-L-13B-Q4_0.gguf +0 -3
- MathCoder-L-13B-Q4_K_M.gguf +0 -3
- MathCoder-L-13B-Q4_K_S.gguf +0 -3
- MathCoder-L-13B-Q5_0.gguf +0 -3
- MathCoder-L-13B-Q5_K_M.gguf +0 -3
- MathCoder-L-13B-Q5_K_S.gguf +0 -3
- MathCoder-L-13B-Q6_K.gguf +0 -3
- MathCoder-L-13B-Q8_0.gguf +0 -3
MathCoder-L-13B-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b4c7994f70d414ce4cd1e1d8d25f1034f7ec4c6557ce2f15adcb0c0406c30bbe
|
| 3 |
-
size 6929611328
|
|
|
|
|
|
|
|
|
|
|
|
MathCoder-L-13B-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:99d86e96b87f7fcae34c461905945ab2d7d893d7e0d743808e7bd521aa7f1232
|
| 3 |
-
size 5659032128
|
|
|
|
|
|
|
|
|
|
|
|
MathCoder-L-13B-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:19d05e44f813c87888a911dfc85482b0cbeec86cd8d7a9b151dce2cce688a2c5
|
| 3 |
-
size 7365891968
|
|
|
|
|
|
|
|
|
|
|
|
MathCoder-L-13B-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7fd2ecfb4475f3aaa5f97e9f6c8f90d1ec0507cfd4a3deceb64055150ed144d6
|
| 3 |
-
size 7866013568
|
|
|
|
|
|
|
|
|
|
|
|
MathCoder-L-13B-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:3b89af595f7a7a6859330a56054dc041c204653d83af2f5d17a307fb8fb17663
|
| 3 |
-
size 7423235968
|
|
|
|
|
|
|
|
|
|
|
|
MathCoder-L-13B-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:1ef8dcccc0efb7cd72b9d679b8278b333d58773fab51c69b0643a86f0c1ea860
|
| 3 |
-
size 8972348288
|
|
|
|
|
|
|
|
|
|
|
|
MathCoder-L-13B-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:489c302e587fdaa5fa17fbf034d6634c01f60f7340104cc4def0b4cd2c293f99
|
| 3 |
-
size 9229986688
|
|
|
|
|
|
|
|
|
|
|
|
MathCoder-L-13B-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f1094e31c148b189f449f31aabae22c641544fbe5f4c45e21170ac5d33d6175d
|
| 3 |
-
size 8972348288
|
|
|
|
|
|
|
|
|
|
|
|
MathCoder-L-13B-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5a9275acc9bb6bdbe523e697741031849385c3c05bcdfb92224e51c05f7d2039
|
| 3 |
-
size 10679208128
|
|
|
|
|
|
|
|
|
|
|
|
MathCoder-L-13B-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:2bf8a9c6f9f17240e1f3b8f06f386b7f4df979a805af990385a68a71b5607602
|
| 3 |
-
size 13831407168
|
|
|
|
|
|
|
|
|
|
|
|