Instructions to use tensorblock/raspberry-3B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/raspberry-3B-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/raspberry-3B-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/raspberry-3B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/raspberry-3B-GGUF", filename="raspberry-3B-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/raspberry-3B-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/raspberry-3B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/raspberry-3B-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/raspberry-3B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/raspberry-3B-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/raspberry-3B-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/raspberry-3B-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/raspberry-3B-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/raspberry-3B-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/raspberry-3B-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/raspberry-3B-GGUF with Ollama:
ollama run hf.co/tensorblock/raspberry-3B-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/raspberry-3B-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/raspberry-3B-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/raspberry-3B-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/raspberry-3B-GGUF to start chatting
- Pi
How to use tensorblock/raspberry-3B-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/raspberry-3B-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/raspberry-3B-GGUF:Q2_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use tensorblock/raspberry-3B-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/raspberry-3B-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/raspberry-3B-GGUF:Q2_K
Run Hermes
hermes
- Docker Model Runner
How to use tensorblock/raspberry-3B-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/raspberry-3B-GGUF:Q2_K
- Lemonade
How to use tensorblock/raspberry-3B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/raspberry-3B-GGUF:Q2_K
Run and chat with the model
lemonade run user.raspberry-3B-GGUF-Q2_K
List all available models
lemonade list
Keep Q2_K/Q3_K_M gguf only
Browse files- raspberry-3B-Q3_K_L.gguf +0 -3
- raspberry-3B-Q3_K_S.gguf +0 -3
- raspberry-3B-Q4_0.gguf +0 -3
- raspberry-3B-Q4_K_M.gguf +0 -3
- raspberry-3B-Q4_K_S.gguf +0 -3
- raspberry-3B-Q5_0.gguf +0 -3
- raspberry-3B-Q5_K_M.gguf +0 -3
- raspberry-3B-Q5_K_S.gguf +0 -3
- raspberry-3B-Q6_K.gguf +0 -3
- raspberry-3B-Q8_0.gguf +0 -3
raspberry-3B-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:dce685497397fe32d733adc879959a7b7c64e0bd76a3061531b22edefcf9b475
|
| 3 |
-
size 1707391744
|
|
|
|
|
|
|
|
|
|
|
|
raspberry-3B-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:8d67503403e6c7eca1d6655451e3c84f3a2172359c834a5dbc69dd9275302d0d
|
| 3 |
-
size 1454357248
|
|
|
|
|
|
|
|
|
|
|
|
raspberry-3B-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:1457c388377775143a6991966c876a015db35a39446e6face64c3dbf4af8f2eb
|
| 3 |
-
size 1822849792
|
|
|
|
|
|
|
|
|
|
|
|
raspberry-3B-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:38e248e934f56cb783db9747367820d1335d8e80683f8f1779c4d6b75c4b386b
|
| 3 |
-
size 1929902848
|
|
|
|
|
|
|
|
|
|
|
|
raspberry-3B-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:623368e507530e7c2066199710d9fbf05dcd2ef92a204ad8af36cfb2ebb76ab7
|
| 3 |
-
size 1834384128
|
|
|
|
|
|
|
|
|
|
|
|
raspberry-3B-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:06f4a4f0a64a3e0c5a910a23861f3342a08098b2dfa37837bdd245486856d508
|
| 3 |
-
size 2169666304
|
|
|
|
|
|
|
|
|
|
|
|
raspberry-3B-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5b1b37ea16fd078aecee12ea02c0c19097adfb381db133768bfa60d7e557fd30
|
| 3 |
-
size 2224814848
|
|
|
|
|
|
|
|
|
|
|
|
raspberry-3B-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:77773dd75276d6b84b5e9fe7a73103a3848f0eaebe76e4d83c22a5550f6b6624
|
| 3 |
-
size 2169666304
|
|
|
|
|
|
|
|
|
|
|
|
raspberry-3B-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9610e725876014bc4af0630b61b625e61a1410352030debc2717ef7db756d022
|
| 3 |
-
size 2538158848
|
|
|
|
|
|
|
|
|
|
|
|
raspberry-3B-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5229e4fbcc834cea4ee33b1a7cca29e009326171639529675666178d803bcf67
|
| 3 |
-
size 3285476096
|
|
|
|
|
|
|
|
|
|
|
|