Instructions to use tensorblock/test-pb-v0-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/test-pb-v0-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tensorblock/test-pb-v0-GGUF")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/test-pb-v0-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/test-pb-v0-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/test-pb-v0-GGUF", filename="test-pb-v0-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/test-pb-v0-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/test-pb-v0-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/test-pb-v0-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/test-pb-v0-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/test-pb-v0-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/test-pb-v0-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/test-pb-v0-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/test-pb-v0-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/test-pb-v0-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/test-pb-v0-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/test-pb-v0-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/test-pb-v0-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/test-pb-v0-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/tensorblock/test-pb-v0-GGUF:Q2_K
- SGLang
How to use tensorblock/test-pb-v0-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/test-pb-v0-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/test-pb-v0-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/test-pb-v0-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/test-pb-v0-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use tensorblock/test-pb-v0-GGUF with Ollama:
ollama run hf.co/tensorblock/test-pb-v0-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/test-pb-v0-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/test-pb-v0-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/test-pb-v0-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/test-pb-v0-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/test-pb-v0-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/test-pb-v0-GGUF:Q2_K
- Lemonade
How to use tensorblock/test-pb-v0-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/test-pb-v0-GGUF:Q2_K
Run and chat with the model
lemonade run user.test-pb-v0-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- test-pb-v0-Q3_K_L.gguf +0 -3
- test-pb-v0-Q3_K_M.gguf +0 -3
- test-pb-v0-Q3_K_S.gguf +0 -3
- test-pb-v0-Q4_0.gguf +0 -3
- test-pb-v0-Q4_K_M.gguf +0 -3
- test-pb-v0-Q4_K_S.gguf +0 -3
- test-pb-v0-Q5_0.gguf +0 -3
- test-pb-v0-Q5_K_M.gguf +0 -3
- test-pb-v0-Q5_K_S.gguf +0 -3
- test-pb-v0-Q6_K.gguf +0 -3
- test-pb-v0-Q8_0.gguf +0 -3
test-pb-v0-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:752d352c3d3959aaa23e5b6cbf90ba60077ca233fbb2e86d13d05f002a2d9674
|
| 3 |
-
size 1465591424
|
|
|
|
|
|
|
|
|
|
|
|
test-pb-v0-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b57d4c0f08f5deac8b93157135b720e5ab58bc76f979c6027bfa0b471830667e
|
| 3 |
-
size 1383802496
|
|
|
|
|
|
|
|
|
|
|
|
test-pb-v0-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7e6fb250fadfa434ec4b33a0fd5fce98311fdc7dcb8a1bef879fa7e024ee7144
|
| 3 |
-
size 1287980672
|
|
|
|
|
|
|
|
|
|
|
|
test-pb-v0-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f7b2655112284209ef0523af30b1b7da847c15aa507524658b420e7b20e7eef7
|
| 3 |
-
size 1551189632
|
|
|
|
|
|
|
|
|
|
|
|
test-pb-v0-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:1854a45ace442ee819b8c615638a12ed1674093ec4a46fc0ac4efb6fb4d814a1
|
| 3 |
-
size 1630262912
|
|
|
|
|
|
|
|
|
|
|
|
test-pb-v0-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:bd6272528e84e13dedb2059498bfc43748fa31c0c354a00cde912f0c1092d48a
|
| 3 |
-
size 1559840384
|
|
|
|
|
|
|
|
|
|
|
|
test-pb-v0-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:83d2f0205fc9187a56e528394ab0c097c64d84dadea7e247e46c8874638ffb5b
|
| 3 |
-
size 1798915712
|
|
|
|
|
|
|
|
|
|
|
|
test-pb-v0-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:0bde98026f764d8ffc85137f22fca0ea6954bae53f2765e0160aa61fa786b639
|
| 3 |
-
size 1839650432
|
|
|
|
|
|
|
|
|
|
|
|
test-pb-v0-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:1e3b283017182545cd0037a768e9dfc0ea9f7a24eb1eaa307bb24516051c18d8
|
| 3 |
-
size 1798915712
|
|
|
|
|
|
|
|
|
|
|
|
test-pb-v0-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:454b90d7a3e5b33897b9c55a472f24f521c6123bca5e207e1ab03026d3ab81b9
|
| 3 |
-
size 2062124672
|
|
|
|
|
|
|
|
|
|
|
|
test-pb-v0-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:97d52021e5d72cc434ffe9d082ba8e2b51519219a1f34b21f3149990184de9c8
|
| 3 |
-
size 2669069952
|
|
|
|
|
|
|
|
|
|
|
|