Text-to-Image
GGUF
English
jeveration
llama.cpp
quantized
image-generation
depth-estimation
image-segmentation
surface-normal-estimation
qwen3.5
qwen3_5
cpu
conversational
Instructions to use Meshwa/Jeveration-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Meshwa/Jeveration-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 Meshwa/Jeveration-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Meshwa/Jeveration-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 Meshwa/Jeveration-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Meshwa/Jeveration-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Meshwa/Jeveration-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf Meshwa/Jeveration-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Meshwa/Jeveration-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use Meshwa/Jeveration-GGUF with Ollama:
ollama run hf.co/Meshwa/Jeveration-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use Meshwa/Jeveration-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Meshwa/Jeveration-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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Meshwa/Jeveration-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Meshwa/Jeveration-GGUF with Docker Model Runner:
docker model run hf.co/Meshwa/Jeveration-GGUF:Q4_K_M
- Lemonade
How to use Meshwa/Jeveration-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Meshwa/Jeveration-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Jeveration-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use Meshwa/Jeveration-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 Meshwa/Jeveration-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:9931/v1 hermes config set model.default Meshwa/Jeveration-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Meshwa/Jeveration-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Meshwa/Jeveration-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:9931/v1 \ --custom-model-id "Meshwa/Jeveration-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"
Download scripts/nyu_eval.py from Meshwa/Jeveration-GGUF: direct link, hf CLI and curl.
- Browser
- Download file 6.11 kB
-
https://huggingface.co/Meshwa/Jeveration-GGUF/resolve/main/scripts/nyu_eval.py
- Command line
-
hf download hf://Meshwa/Jeveration-GGUF/scripts/nyu_eval.py
-
curl -L -o nyu_eval.py https://huggingface.co/Meshwa/Jeveration-GGUF/resolve/main/scripts/nyu_eval.py
6.11 kB
| """Evaluate the GGUF backbone's dense predictions on the NYUv2 test split (tanganke/nyuv2 'val' = the standard 654 images, | |
| 288 x 384, depth in meters, 13 classes in jeveration.config.NYU13 order, -1 = ignore). | |
| python scripts/nyu_eval.py --n 20 # 20 images evenly spread over the downloaded shard(s) | |
| python scripts/nyu_eval.py --n 20 --tasks depth # depth only (~50 s / image on a 4-thread CPU) | |
| Writes per-image rows to <out>/results.jsonl (resumable: images already there are skipped) and prints the running mean. | |
| """ | |
| import argparse | |
| import glob | |
| import json | |
| import time | |
| from pathlib import Path | |
| import numpy as np | |
| import pyarrow.parquet as pq | |
| import torch | |
| import torch.nn.functional as F | |
| from dense_gguf import DenseSide, dense_hidden, depth_metrics, load_vision_tower | |
| from jev_gguf import WORK, Backbone, default_gguf | |
| from jeveration import config | |
| from jeveration.dense import resize_for_vision, to_predictions | |
| from jeveration.prompts import SourcePromptTokenizer, vision_tokens | |
| def seg_confusion(pred, gt, k=13): | |
| m = gt >= 0 | |
| return np.bincount(k * gt[m].astype(int) + pred[m].astype(int), minlength=k * k).reshape(k, k) | |
| def normal_metrics(pred, gt): | |
| m = np.linalg.norm(gt, axis=-1) > 0.5 | |
| cos = np.clip((pred[m] * gt[m]).sum(-1), -1, 1) | |
| ang = np.degrees(np.arccos(cos)) | |
| return {"mean_deg": float(ang.mean()), "median_deg": float(np.median(ang)), "within_11.25": float((ang < 11.25).mean()), | |
| "within_22.5": float((ang < 22.5).mean()), "within_30": float((ang < 30).mean())} | |
| def rows(files, n): | |
| """n samples evenly spread over the parquet files -> (global index, image uint8 [H, W, 3], depth, seg, normal)""" | |
| tables = [pq.read_table(f) for f in files] | |
| total = sum(t.num_rows for t in tables) | |
| want = sorted(set(np.linspace(0, total - 1, min(n, total)).round().astype(int))) | |
| offs = np.cumsum([0] + [t.num_rows for t in tables]) | |
| for g in want: | |
| ti = int(np.searchsorted(offs, g, side="right") - 1) | |
| r = tables[ti].slice(g - offs[ti], 1).to_pylist()[0] | |
| img = (np.array(r["image"], np.float32).transpose(1, 2, 0) * 255).round().clip(0, 255).astype(np.uint8) | |
| yield (g, img, np.array(r["depth"], np.float32)[0], np.array(r["segmentation"], np.int64), | |
| np.array(r["normal"], np.float32).transpose(1, 2, 0)) | |
| def main(): | |
| ap = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) | |
| ap.add_argument("--data", default=str(WORK / "nyuv2" / "val-*.parquet")) | |
| ap.add_argument("--n", type=int, default=20) | |
| ap.add_argument("--tasks", default="depth,seg,normal") | |
| ap.add_argument("--gguf", default=default_gguf("Q4_K_M")) | |
| ap.add_argument("--threads", type=int, default=4) | |
| ap.add_argument("--out", default=str(WORK / "nyu_eval")) | |
| a = ap.parse_args() | |
| tasks = [t for t in a.tasks.split(",") if t] | |
| torch.set_num_threads(a.threads) | |
| out = Path(a.out) / Path(a.gguf).stem | |
| out.mkdir(parents=True, exist_ok=True) | |
| res_path = out / "results.jsonl" | |
| done = {json.loads(l)["index"]: json.loads(l) for l in open(res_path)} if res_path.exists() else {} | |
| backbone = Backbone(a.gguf, a.threads, n_ubatch=512) | |
| side = DenseSide(backbone.n_embd).eval() | |
| side.load(WORK / "jeveration-weights" / "jeveration.pt") | |
| visual = load_vision_tower(WORK / "qwen3.5-4b") | |
| from transformers import AutoTokenizer | |
| sptok = SourcePromptTokenizer(AutoTokenizer.from_pretrained(str(WORK / "qwen3.5-4b"))) | |
| results, conf = list(done.values()), np.zeros((13, 13), np.int64) | |
| for r in results: | |
| if "seg_conf" in r: | |
| conf += np.array(r["seg_conf"]) | |
| for g, img, d_gt, s_gt, n_gt in rows(sorted(glob.glob(a.data)), a.n): | |
| if g in done: | |
| continue | |
| t0 = time.time() | |
| with torch.no_grad(): | |
| vis, _ = vision_tokens(visual, resize_for_vision(torch.from_numpy(img.copy())[None])) | |
| row = {"index": int(g)} | |
| for t in tasks: | |
| hq = dense_hidden(backbone, side, sptok, vis.float(), t) | |
| raw = F.interpolate(side.readout(t, hq).float(), size=img.shape[:2], mode="bilinear", align_corners=False) | |
| p = to_predictions(t, raw)[0].numpy() | |
| if t == "depth": | |
| row["depth"] = depth_metrics(p, d_gt, crop=False) | |
| elif t == "seg": | |
| c = seg_confusion(p, s_gt) | |
| row["seg_conf"] = c.tolist() | |
| row["seg_pixacc"] = float(np.trace(c) / max(c.sum(), 1)) | |
| conf += c | |
| else: | |
| row["normal"] = normal_metrics(p, n_gt) | |
| row["sec"] = round(time.time() - t0, 1) | |
| results.append(row) | |
| with open(res_path, "a") as f: | |
| f.write(json.dumps(row) + "\n") | |
| msg = [f"[{len(results)}/{a.n}] #{g} {row['sec']}s"] | |
| if "depth" in row: | |
| msg.append("depth " + " ".join(f"{k} {np.mean([r['depth'][k] for r in results if 'depth' in r]):.3f}" | |
| for k in ("AbsRel", "RMSE", "d1"))) | |
| if "seg_conf" in row: | |
| iou = np.diag(conf) / np.maximum(conf.sum(0) + conf.sum(1) - np.diag(conf), 1) | |
| present = conf.sum(1) > 0 | |
| msg.append(f"seg mIoU {iou[present].mean():.3f} pixacc {np.trace(conf) / conf.sum():.3f}") | |
| if "normal" in row: | |
| msg.append("normal " + " ".join(f"{k} {np.mean([r['normal'][k] for r in results if 'normal' in r]):.3f}" | |
| for k in ("mean_deg", "within_11.25", "within_30"))) | |
| print(" | ".join(msg), flush=True) | |
| if conf.sum(): | |
| iou = np.diag(conf) / np.maximum(conf.sum(0) + conf.sum(1) - np.diag(conf), 1) | |
| print("per-class IoU: " + ", ".join(f"{c} {v:.2f}" for c, v, ok in zip(config.NYU13, iou, conf.sum(1) > 0) if ok)) | |
| if any("depth" in r for r in results): | |
| print("FINAL depth (mean over images): " + " ".join( | |
| f"{k} {np.mean([r['depth'][k] for r in results if 'depth' in r]):.3f}" for k in results[0]["depth"])) | |
| if __name__ == "__main__": | |
| main() | |