Instructions to use evalengine/unbound-e4b-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use evalengine/unbound-e4b-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="evalengine/unbound-e4b-gguf", filename="mmproj-unbound-e4b.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use evalengine/unbound-e4b-gguf with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf evalengine/unbound-e4b-gguf:Q4_K_M # Run inference directly in the terminal: llama-cli -hf evalengine/unbound-e4b-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf evalengine/unbound-e4b-gguf:Q4_K_M # Run inference directly in the terminal: llama-cli -hf evalengine/unbound-e4b-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 evalengine/unbound-e4b-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf evalengine/unbound-e4b-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 evalengine/unbound-e4b-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf evalengine/unbound-e4b-gguf:Q4_K_M
Use Docker
docker model run hf.co/evalengine/unbound-e4b-gguf:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use evalengine/unbound-e4b-gguf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "evalengine/unbound-e4b-gguf" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "evalengine/unbound-e4b-gguf", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/evalengine/unbound-e4b-gguf:Q4_K_M
- Ollama
How to use evalengine/unbound-e4b-gguf with Ollama:
ollama run hf.co/evalengine/unbound-e4b-gguf:Q4_K_M
- Unsloth Studio new
How to use evalengine/unbound-e4b-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 evalengine/unbound-e4b-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 evalengine/unbound-e4b-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for evalengine/unbound-e4b-gguf to start chatting
- Pi new
How to use evalengine/unbound-e4b-gguf with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf evalengine/unbound-e4b-gguf:Q4_K_M
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": "evalengine/unbound-e4b-gguf:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use evalengine/unbound-e4b-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 evalengine/unbound-e4b-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 evalengine/unbound-e4b-gguf:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use evalengine/unbound-e4b-gguf with Docker Model Runner:
docker model run hf.co/evalengine/unbound-e4b-gguf:Q4_K_M
- Lemonade
How to use evalengine/unbound-e4b-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull evalengine/unbound-e4b-gguf:Q4_K_M
Run and chat with the model
lemonade run user.unbound-e4b-gguf-Q4_K_M
List all available models
lemonade list
README: add wllama-safe Q4_K_M + Q2_K variants (embed @ q5_K)
Browse files
README.md
CHANGED
|
@@ -24,8 +24,9 @@ pipeline_tag: text-generation
|
|
| 24 |
> use it and for complying with all applicable laws.
|
| 25 |
|
| 26 |
GGUF quantizations of [`evalengine/unbound-e4b`](https://huggingface.co/evalengine/unbound-e4b)
|
| 27 |
-
for on-device deployment via Ollama, llama.cpp, LM Studio,
|
| 28 |
-
|
|
|
|
| 29 |
|
| 30 |
Built by [Chromia](https://x.com/Chromia) and [Eval Engine](https://x.com/eval_engine).
|
| 31 |
|
|
@@ -35,20 +36,35 @@ All quants ship as **split multi-part GGUFs** (`*-00001-of-0000N.gguf` ...)
|
|
| 35 |
so desktop runtimes can parallel-download chunks. Ollama, llama.cpp, and LM
|
| 36 |
Studio auto-stitch on the first part β same UX as a single file.
|
| 37 |
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
|
| 53 |
## Recommended sampling
|
| 54 |
|
|
@@ -76,6 +92,21 @@ ollama run hf.co/evalengine/unbound-e4b-GGUF
|
|
| 76 |
./llama-cli -m unbound-e4b-Q4_K_M-00001-of-00004.gguf -p "your prompt"
|
| 77 |
```
|
| 78 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
## About the base
|
| 80 |
|
| 81 |
See [`evalengine/unbound-e4b`](https://huggingface.co/evalengine/unbound-e4b)
|
|
|
|
| 24 |
> use it and for complying with all applicable laws.
|
| 25 |
|
| 26 |
GGUF quantizations of [`evalengine/unbound-e4b`](https://huggingface.co/evalengine/unbound-e4b)
|
| 27 |
+
for on-device deployment via Ollama, llama.cpp, LM Studio,
|
| 28 |
+
[wllama](https://github.com/ngxson/wllama) (in-browser β see the wllama
|
| 29 |
+
section below), and similar runtimes.
|
| 30 |
|
| 31 |
Built by [Chromia](https://x.com/Chromia) and [Eval Engine](https://x.com/eval_engine).
|
| 32 |
|
|
|
|
| 36 |
so desktop runtimes can parallel-download chunks. Ollama, llama.cpp, and LM
|
| 37 |
Studio auto-stitch on the first part β same UX as a single file.
|
| 38 |
|
| 39 |
+
### Desktop builds (Ollama / llama.cpp / LM Studio)
|
| 40 |
+
|
| 41 |
+
These keep `per_layer_token_embd` at the llama.cpp default of Q6_K, which
|
| 42 |
+
maximizes quality but pushes the largest split part above 2 GB β fine for
|
| 43 |
+
desktop, won't load in browser.
|
| 44 |
+
|
| 45 |
+
| Quant | Parts | Total | Largest part | Notes |
|
| 46 |
+
|---------|-------|---------|--------------|-------|
|
| 47 |
+
| Q2_K | 4 | 4.08 GB | ~2.15 GB | Smallest disk footprint; biggest quality drop |
|
| 48 |
+
| Q3_K_M | 4 | 4.49 GB | ~2.15 GB | Modest size win over Q4 (embedding precision dominates total size) |
|
| 49 |
+
| Q4_K_M | 4 | 4.94 GB | ~2.15 GB | **Recommended desktop default β best size/quality** |
|
| 50 |
+
| Q6_K | 5 | 5.75 GB | ~2.2 GB | Higher fidelity |
|
| 51 |
+
| Q8_0 | 6 | 7.43 GB | ~2.7 GB | Highest fidelity |
|
| 52 |
+
|
| 53 |
+
### Browser builds (wllama)
|
| 54 |
+
|
| 55 |
+
E4B's `per_layer_token_embd` is a single 2.82-billion-value tensor; at the
|
| 56 |
+
default Q6_K precision it lands at ~2.2 GB, just over the browser
|
| 57 |
+
ArrayBuffer cap. These variants force the embedding tensors to `q5_K`,
|
| 58 |
+
which shrinks the largest part below 2 GB at near-zero quality cost.
|
| 59 |
+
|
| 60 |
+
| Quant variant | Parts | Total | Largest part | wllama | Notes |
|
| 61 |
+
|---------------------|-------|---------|--------------|--------|-------|
|
| 62 |
+
| **Q4_K_M-wllama** | 4 | 4.51 GB | **1848 MB** | β
| **Recommended browser default** β layers @ Q4_K_M, embed @ q5_K |
|
| 63 |
+
| **Q2_K-wllama** | 4 | 3.69 GB | **1848 MB** | β
| Smallest browser-loadable build β layers @ Q2_K, embed @ q5_K |
|
| 64 |
+
|
| 65 |
+
The wllama files use the same split-multi-part naming, so Ollama / llama.cpp
|
| 66 |
+
will auto-stitch them too if you prefer the smaller embed quant for any
|
| 67 |
+
reason.
|
| 68 |
|
| 69 |
## Recommended sampling
|
| 70 |
|
|
|
|
| 92 |
./llama-cli -m unbound-e4b-Q4_K_M-00001-of-00004.gguf -p "your prompt"
|
| 93 |
```
|
| 94 |
|
| 95 |
+
## Run in the browser (wllama)
|
| 96 |
+
|
| 97 |
+
[wllama](https://github.com/ngxson/wllama) is a WebAssembly port of llama.cpp
|
| 98 |
+
that runs entirely in the browser. Use one of the wllama-safe variants
|
| 99 |
+
above:
|
| 100 |
+
|
| 101 |
+
```js
|
| 102 |
+
import { Wllama } from '@wllama/wllama';
|
| 103 |
+
const wllama = new Wllama(/* β¦ */);
|
| 104 |
+
await wllama.loadModelFromHF(
|
| 105 |
+
'evalengine/unbound-e4b-GGUF',
|
| 106 |
+
'unbound-e4b-Q4_K_M-wllama-00001-of-00004.gguf' // wllama follows the chain
|
| 107 |
+
);
|
| 108 |
+
```
|
| 109 |
+
|
| 110 |
## About the base
|
| 111 |
|
| 112 |
See [`evalengine/unbound-e4b`](https://huggingface.co/evalengine/unbound-e4b)
|