Transformers
GGUF
English
deepbrainz
reasoning
mathematics
code
enterprise
4b
long-context
32k
conversational
Instructions to use mradermacher/DeepBrainz-R1-4B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/DeepBrainz-R1-4B-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/DeepBrainz-R1-4B-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/DeepBrainz-R1-4B-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf mradermacher/DeepBrainz-R1-4B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/DeepBrainz-R1-4B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf mradermacher/DeepBrainz-R1-4B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/DeepBrainz-R1-4B-GGUF:Q4_K_M
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 mradermacher/DeepBrainz-R1-4B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/DeepBrainz-R1-4B-GGUF:Q4_K_M
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 mradermacher/DeepBrainz-R1-4B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/DeepBrainz-R1-4B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/DeepBrainz-R1-4B-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/DeepBrainz-R1-4B-GGUF with Ollama:
ollama run hf.co/mradermacher/DeepBrainz-R1-4B-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use mradermacher/DeepBrainz-R1-4B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mradermacher/DeepBrainz-R1-4B-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "mradermacher/DeepBrainz-R1-4B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use mradermacher/DeepBrainz-R1-4B-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/DeepBrainz-R1-4B-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/DeepBrainz-R1-4B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/DeepBrainz-R1-4B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.DeepBrainz-R1-4B-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use mradermacher/DeepBrainz-R1-4B-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mradermacher/DeepBrainz-R1-4B-GGUF:Q4_K_M
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 mradermacher/DeepBrainz-R1-4B-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use mradermacher/DeepBrainz-R1-4B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mradermacher/DeepBrainz-R1-4B-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "mradermacher/DeepBrainz-R1-4B-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
uploaded from marco
Browse files- .gitattributes +12 -0
- DeepBrainz-R1-4B.IQ4_XS.gguf +3 -0
- DeepBrainz-R1-4B.Q2_K.gguf +3 -0
- DeepBrainz-R1-4B.Q3_K_L.gguf +3 -0
- DeepBrainz-R1-4B.Q3_K_M.gguf +3 -0
- DeepBrainz-R1-4B.Q3_K_S.gguf +3 -0
- DeepBrainz-R1-4B.Q4_K_M.gguf +3 -0
- DeepBrainz-R1-4B.Q4_K_S.gguf +3 -0
- DeepBrainz-R1-4B.Q5_K_M.gguf +3 -0
- DeepBrainz-R1-4B.Q5_K_S.gguf +3 -0
- DeepBrainz-R1-4B.Q6_K.gguf +3 -0
- DeepBrainz-R1-4B.Q8_0.gguf +3 -0
- DeepBrainz-R1-4B.f16.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
DeepBrainz-R1-4B.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
DeepBrainz-R1-4B.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
DeepBrainz-R1-4B.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
DeepBrainz-R1-4B.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
DeepBrainz-R1-4B.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
DeepBrainz-R1-4B.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
DeepBrainz-R1-4B.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
DeepBrainz-R1-4B.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
DeepBrainz-R1-4B.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
DeepBrainz-R1-4B.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
DeepBrainz-R1-4B.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
DeepBrainz-R1-4B.f16.gguf filter=lfs diff=lfs merge=lfs -text
|
DeepBrainz-R1-4B.IQ4_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d4f1d0e6caf1b7de51c4a7bae233df719c9dff44bcae4f4ed5983b630c1bfa15
|
| 3 |
+
size 2492949536
|
DeepBrainz-R1-4B.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:731de7620b61ae5dd2fc1f10a1bd6c49ff04b5d01b4ba0814d960ea03977d194
|
| 3 |
+
size 1797126176
|
DeepBrainz-R1-4B.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:013a9550d2001641016c8044122942ba06934a7507a65c14cedd47555e667641
|
| 3 |
+
size 2406915616
|
DeepBrainz-R1-4B.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c781c5d8f59e525d936acb39425720ed94ccbe6e9fd823d564b50261d88905ac
|
| 3 |
+
size 2242747936
|
DeepBrainz-R1-4B.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:98a56240b94685497df57312d8fd83b02fd05ad94c5612cf9b9bd8f4f0341de5
|
| 3 |
+
size 2054127136
|
DeepBrainz-R1-4B.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:452a9ff9a0ea4efebdbb69ce80df6d5bb0cbaad3eb012939d27e6a4da551f9bc
|
| 3 |
+
size 2716068896
|
DeepBrainz-R1-4B.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f895f31e868ff8bb9d33d18f3f6cf29503644917a5db7c32b0da30ef4b207bf5
|
| 3 |
+
size 2602097696
|
DeepBrainz-R1-4B.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d518340c4810f27e4772769d29af7adba539a9373e9cba493a18f41b0fc53501
|
| 3 |
+
size 3156921376
|
DeepBrainz-R1-4B.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:da43c1147d0ddd8972764253d8866df3b8ccfd96b7757b07915a5ab3b5edd191
|
| 3 |
+
size 3091119136
|
DeepBrainz-R1-4B.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d196607464b89f788e45c38a57c4ad55ddb01a6984c599ca5965b0fb39cf405a
|
| 3 |
+
size 3625327136
|
DeepBrainz-R1-4B.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:002bf2e88ea3082736f629b9a90afdcc01d976e3016e3c75444670b1b46f9f68
|
| 3 |
+
size 4693671456
|
DeepBrainz-R1-4B.f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:04d1e43e563eb52cda5161d104bc59eb8c19b8c2a5f2a0e04f6f89348682b61e
|
| 3 |
+
size 8829197856
|