Text-to-Image
Diffusers
Safetensors
GGUF
English
TeverationPipeline
teveration
image-to-image
depth-estimation
image-segmentation
ternary
quantized
jeveration
qwen3.5
bonsai
comfyui
custom_code
conversational
Run this model with HF Jobs
Run DmitrofNET/Teveration-1 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/DmitrofNET/Teveration-1. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/DmitrofNET/Teveration-1 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use DmitrofNET/Teveration-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use DmitrofNET/Teveration-1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("DmitrofNET/Teveration-1", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use DmitrofNET/Teveration-1 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 DmitrofNET/Teveration-1 # Run inference directly in the terminal: llama cli -hf DmitrofNET/Teveration-1
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf DmitrofNET/Teveration-1 # Run inference directly in the terminal: llama cli -hf DmitrofNET/Teveration-1
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 DmitrofNET/Teveration-1 # Run inference directly in the terminal: ./build/bin/llama cli -hf DmitrofNET/Teveration-1
Use Docker
docker model run hf.co/DmitrofNET/Teveration-1
- Llama new
- LM Studio
- Jan
- Draw Things
- DiffusionBee
- Ollama
How to use DmitrofNET/Teveration-1 with Ollama:
ollama run hf.co/DmitrofNET/Teveration-1
- Unsloth Desktop
- Pi
How to use DmitrofNET/Teveration-1 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf DmitrofNET/Teveration-1
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": "DmitrofNET/Teveration-1" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use DmitrofNET/Teveration-1 with Docker Model Runner:
docker model run hf.co/DmitrofNET/Teveration-1
- Lemonade
How to use DmitrofNET/Teveration-1 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull DmitrofNET/Teveration-1
Run and chat with the model
lemonade run user.Teveration-1-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use DmitrofNET/Teveration-1 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf DmitrofNET/Teveration-1
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 DmitrofNET/Teveration-1
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use DmitrofNET/Teveration-1 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf DmitrofNET/Teveration-1
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 "DmitrofNET/Teveration-1" \ --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 README.md from DmitrofNET/Teveration-1: direct link, hf CLI and curl.
- Browser
- Download file 14.9 kB
-
https://huggingface.co/DmitrofNET/Teveration-1/resolve/main/README.md
- Command line
-
hf download hf://DmitrofNET/Teveration-1/README.md
-
curl -L -o README.md https://huggingface.co/DmitrofNET/Teveration-1/resolve/main/README.md
14.9 kB
| license: cc-by-4.0 | |
| base_model: linlinlinlinsdada/Jeveration | |
| base_model_relation: quantized | |
| pipeline_tag: text-to-image | |
| library_name: diffusers | |
| language: | |
| - en | |
| tags: | |
| - text-to-image | |
| - image-to-image | |
| - depth-estimation | |
| - image-segmentation | |
| - gguf | |
| - ternary | |
| - quantized | |
| - jeveration | |
| - qwen3.5 | |
| - bonsai | |
| - comfyui | |
| # Teveration 1 | |
| **The Jeveration image model in 2.8 GB of GGUF instead of 19 GB, with its own engine.** A ternary-backbone | |
| quantization of [Jeveration](https://huggingface.co/linlinlinlinsdada/Jeveration) that keeps every feature of the | |
| original: text-to-image, image-to-image (edge map or depth map to image, colorization, anime / Ghibli / watercolor | |
| styles) and dense prediction (13-class segmentation, depth, surface normals). Built without any retraining. | |
| - Engine, bindings, ComfyUI nodes, build scripts, tests and benchmarks: https://github.com/DmitrofNETDev/Teveration-1 | |
| - Original model: [linlinlinlinsdada/Jeveration](https://huggingface.co/linlinlinlinsdada/Jeveration), paper https://arxiv.org/abs/2611.24738 | |
|  | |
| Left of each pair: the original Jeveration. Right: Teveration 1 balanced, same prompt, same random state, same sampling | |
| draw. These are the first 8 of the 32 benchmark pictures, not a selection. | |
| ## Files | |
| One file is the whole model, every feature included. Pick one; bigger is slightly closer to the original. | |
| | File | Download | GPU memory in use | | | |
| |---|---|---|---| | |
| | [Teveration-1-small.gguf](https://huggingface.co/DmitrofNET/Teveration-1/resolve/main/Teveration-1-small.gguf?download=true) | 2.59 GB | 3.6 GB | the low-rank path in 4 bits | | |
| | [**Teveration-1-balanced.gguf**](https://huggingface.co/DmitrofNET/Teveration-1/resolve/main/Teveration-1-balanced.gguf?download=true) | 2.79 GB | 3.7 GB | the default: the low-rank path in 8 and 4 bits | | |
| | [Teveration-1-high.gguf](https://huggingface.co/DmitrofNET/Teveration-1/resolve/main/Teveration-1-high.gguf?download=true) | 3.08 GB | 4.0 GB | the low-rank path in 8 bits | | |
| Quickest way to a picture (downloads the file and the engine for your machine; no PyTorch needed): | |
| ```bash | |
| pip install git+https://github.com/DmitrofNETDev/Teveration-1 | |
| python -m teveration t2i "A lighthouse on a rocky cliff under a stormy sky." # writes out/t2i_000.png | |
| python -m teveration webui # a web page for every task: http://127.0.0.1:7860 | |
| python -m teveration serve # keeps the model loaded: OpenAI images API on port 8188 | |
| ``` | |
| - The file is read straight into GPU memory once, in about 3 seconds, and the weights take the same space there as on | |
| disk. The rest of the GPU memory in the table is working memory. | |
| - It stays loaded for as long as the program runs (`serve`, a Python object, a ComfyUI session). A one-shot command | |
| loads, writes its pictures and frees the GPU again. | |
| - About 0.2 s per 512 px picture on an RTX 4070. Without a GPU: `--device cpu`, about 9 s per picture. | |
| The three differ only in the precision of the low-rank path. Each holds the ternary language model (1.75 bits per | |
| weight), the low-rank path, the image head, dense heads, decoder and CLIP text tower, and the vision tower. The original | |
| stack (Qwen3.5-4B, `jeveration.pt`, two decoders, CLIP, TA-TiTok) is 19.08 GB. | |
| You do not have to download by hand: every route below fetches the file it needs. Memory and load time above are for | |
| engine 1.0.1, which reads the file in place. (With the 1.0.0 engine archives the Python package first writes the | |
| file's four parts to `~/.cache/teveration/parts`, and GPU memory is about 1 GB higher.) | |
| These GGUF files need the **Teveration engine**. The backbone uses PrismML's ternary tensor type and the image part is | |
| an architecture of its own, so stock llama.cpp, Ollama and LM Studio cannot load them (and, being text-chat runtimes, | |
| could not return a picture from any model). For a chat front end, run `teveration serve` and use it as the image | |
| backend (OpenAI images API). | |
| ## Use | |
| The model runs in the Teveration engine, which keeps the weights packed in memory. No PyTorch is needed to run it. The | |
| engine build for your machine (Windows, Linux, macOS; CUDA, Vulkan, Metal or CPU) is downloaded on first use. | |
| ### diffusers | |
| ```python | |
| from diffusers import DiffusionPipeline | |
| pipe = DiffusionPipeline.from_pretrained("DmitrofNET/Teveration-1", custom_pipeline="DmitrofNET/Teveration-1", trust_remote_code=True) | |
| image = pipe("A lighthouse on a rocky cliff under a stormy sky.", seed=0).images[0] | |
| image = pipe(image=photo, task="ghibli").images[0] # hed, depth, colorize, anime, ghibli, watercolor | |
| maps = pipe.dense_predict(photo) # {"seg", "depth", "normal"} | |
| ``` | |
| ### transformers | |
| ```python | |
| from transformers import AutoModel | |
| model = AutoModel.from_pretrained("DmitrofNET/Teveration-1", trust_remote_code=True) | |
| images = model.text_to_image(["A lighthouse on a rocky cliff under a stormy sky."], seed=0) # uint8 [B, 512, 512, 3] | |
| images = model.image_to_image(photos, task="colorize") | |
| maps = model.dense_predict(photos) | |
| ``` | |
| ### Python, without either | |
| ```bash | |
| pip install git+https://github.com/DmitrofNETDev/Teveration-1 | |
| python -m teveration t2i "A lighthouse on a rocky cliff under a stormy sky." --seed 0 | |
| ``` | |
| ```python | |
| from teveration import Teveration | |
| tev = Teveration() # device="auto" | "cuda" | "vulkan" | "cpu", quality="small" | "balanced" | "high" | |
| images = tev.text_to_image(["An oil painting of sunflowers in a blue ceramic vase."], seed=0) | |
| ``` | |
| ### ComfyUI | |
| Four nodes (loader, text to image, image to image, dense prediction): | |
| [comfyui/](https://github.com/DmitrofNETDev/Teveration-1/tree/main/comfyui). | |
| ### Command line and server | |
| Engine archives are on the [GitHub release](https://github.com/DmitrofNETDev/Teveration-1/releases). | |
| ```bash | |
| hf download DmitrofNET/Teveration-1 Teveration-1-balanced.gguf --local-dir models | |
| python -m teveration --model models/Teveration-1-balanced.gguf t2i "A lighthouse on a rocky cliff under a stormy sky." | |
| python -m teveration --model models/Teveration-1-balanced.gguf serve --port 8188 # OpenAI images API and the AUTOMATIC1111 txt2img call | |
| ``` | |
| The engine's own executable (`teveration t2i --model models/Teveration-1-balanced.gguf --prompt "..."`) reads the one-file | |
| models from engine version 1.0.1 on. | |
| ## Where it runs | |
| | | Status | | |
| |---|---| | |
| | NVIDIA GPUs (CUDA 12), Windows and Linux | measured on an RTX 4070, every feature | | |
| | CPU only | measured on Windows; the Linux and macOS builds run a self-test in CI | | |
| | AMD and Intel GPUs (Vulkan) | built in CI and self-tested there on a software Vulkan driver. Not yet run on an AMD card | | |
| | Apple Silicon (Metal) | self-test passes in CI on a virtual Metal GPU; not yet run on a real Mac | | |
| ## Evaluation | |
| Measured from these files on an RTX 4070 with | |
| [benchmarks/run.py](https://github.com/DmitrofNETDev/Teveration-1/blob/main/benchmarks/run.py). Both models answer the | |
| same requests with the same random states and sampling draws; each number compares Teveration's output with the | |
| original's output for the same request. | |
| | | Jeveration (original) | small | **balanced** | high | | |
| |---|---|---|---|---| | |
| | Download and disk size | 19.08 GB | 2.59 GB | **2.79 GB** | 3.08 GB | | |
| | GPU memory in use, every feature loaded | 11.4 GB (generator alone) | 3.6 GB | **3.7 GB** | 4.0 GB | | |
| | Text-to-image, CLIP text score (32 pictures) | 0.321 | 0.316 | **0.323** | 0.322 | | |
| | Text-to-image, similarity to the original's picture (worst case) | 1 | 0.961 (0.892) | **0.965 (0.851)** | 0.969 (0.920) | | |
| | Image-to-image, similarity to the original's picture (worst case), 8 pictures | 1 | 0.973 (0.928) | **0.969 (0.934)** | 0.968 (0.943) | | |
| | Segmentation, pixels agreeing with the original (4 rooms) | 100% | 96.1% | **96.6%** | 97.1% | | |
| | Depth, difference from the original | 0% | 3.7% | **2.4%** | 2.0% | | |
| | Surface normals, difference from the original | 0° | 8.8° | **7.7°** | 6.5° | | |
| | One 512 px picture, RTX 4070 | | 0.18 s | **0.20 s** | 0.20 s | | |
| Balanced also: load 3 s, image-to-image 0.32 s, dense prediction 0.95 s, process RAM 1.0 GB; | |
| text-to-image only needs 2.9 GB of GPU memory (memory, load and speed: engine 1.0.1). On the CPU alone: 9 s per picture, 4.2 GB of RAM. | |
| The pictures match their prompts as well as the original's do, but they are not the same pictures: compositions and | |
| colours shift. This is a small-sample fidelity check against the original. The public benchmarks follow. | |
|  | |
|  | |
| More comparison sheets: `images/t2i_2.jpg` to `images/t2i_4.jpg`. | |
| ## Standard benchmarks | |
| <!-- standard-benchmarks:begin --> | |
| Measured on one RTX 4070 with [`benchmarks/standard.py`](https://github.com/DmitrofNETDev/Teveration-1/blob/main/benchmarks/standard.py). Teveration and the original | |
| answer every request with the same random state and sampling draw and are scored by the same harness; the paper's | |
| own numbers are shown as a check of the harness. | |
| **Text-to-image** (GenEval: 553 prompts, 4 pictures each; DPG-Bench: 1,065 prompts, 4 pictures each; HPSv2.1: 3,200 prompts) | |
| | | GenEval ↑ | DPG-Bench ↑ | HPSv2.1 ↑ | | |
| |---|---|---|---| | |
| | Jeveration, as published | 0.740 | 78.24 | 28.06 | | |
| | Jeveration (original), this harness | 0.733 | 77.76 | 28.05 | | |
| | Teveration 1 small | 0.706 | 77.08 | 27.68 | | |
| | **Teveration 1 balanced** | 0.715 | 77.71 | 27.91 | | |
| | Teveration 1 high | 0.721 | 77.85 | 27.97 | | |
| **Dense prediction**, the 654 NYUv2 test pictures against ground truth | |
| | | Segmentation mIoU ↑ | Depth abs. error (m) ↓ | Depth δ1 ↑ | Normals mean error (°) ↓ | | |
| |---|---|---|---|---| | |
| | Jeveration, as published | 67.7 | 0.267 | 0.898 | 24.2 | | |
| | Jeveration (original), this harness | 67.6 | 0.267 | 0.898 | 24.2 | | |
| | Teveration 1 small | 65.9 | 0.283 | 0.881 | 25.4 | | |
| | **Teveration 1 balanced** | 66.8 | 0.278 | 0.888 | 25.0 | | |
| | Teveration 1 high | 67.0 | 0.275 | 0.890 | 24.9 | | |
| **Image-to-image**, structure kept from the input, 341 COCO val2017 photos. The paper's own test set is not published, so | |
| its numbers (0.880, 0.802, 0.937) are from other pictures and are not comparable; compare the rows with each other. | |
| | | Edges to image, HED F1 ↑ | Depth to image, δ1 ↑ | Colorize, Canny F1 ↑ | | |
| |---|---|---|---| | |
| | Jeveration (original), this harness | 0.758 | 0.769 | 0.749 | | |
| | Teveration 1 small | 0.743 | 0.751 | 0.741 | | |
| | **Teveration 1 balanced** | 0.746 | 0.764 | 0.745 | | |
| | Teveration 1 high | 0.750 | 0.755 | 0.746 | | |
| What differs from the papers' protocols: the GenEval detector is the Mask2Former Swin-S COCO checkpoint of its authors | |
| (run through transformers) instead of mmdet's retraining of the same network, and the image-to-image set is described above. | |
| Full protocol, per-task scores and request-by-request differences: [STANDARD.md](https://github.com/DmitrofNETDev/Teveration-1/blob/main/benchmarks/results/standard/STANDARD.md). | |
|  | |
|  | |
| Rows from the top: original, small, balanced, high. Columns are requests spread evenly over the benchmark, not chosen. | |
| <!-- standard-benchmarks:end --> | |
| ## How it was made | |
| 1. Dead weight removed (4.3 GB): one of the two decoder files is a bit-identical subset of the other, CLIP's vision tower | |
| is never used, and only the codebook of the 1.6 GB tokenizer is used. | |
| 2. The frozen Qwen3.5-4B backbone (9.3 GB) is replaced by PrismML's ternary version of the same model (0.95 GB), with | |
| Qwen's own norm gains and linear-attention state tensors put back. | |
| 3. Jeveration's LoRA cannot be merged and rounded: its update is 2.5 to 4.8 times larger than the base weights. Each | |
| matrix instead keeps a separate low-rank path, `W = T + U A`, re-fitted in closed form so that it carries both the LoRA | |
| and what ternarization removed, weighted by the inputs the matrix sees on calibration prompts. No gradient step. It is | |
| stored as a standard llama.cpp LoRA adapter. | |
| 4. The head and the CLIP text tower are rounded to 4 bits, the vision tower and the decoder to 8 bits. Each choice is | |
| the lowest precision that component tolerated when rounded on its own. | |
| 5. A C++ engine on PrismML's llama.cpp fork runs the result without unpacking it to float weights. | |
| The full analysis and every measurement: | |
| [docs/analysis.md](https://github.com/DmitrofNETDev/Teveration-1/blob/main/docs/analysis.md). The files in detail: | |
| [docs/FORMAT.md](https://github.com/DmitrofNETDev/Teveration-1/blob/main/docs/FORMAT.md). | |
| ## Limits | |
| - GPU memory is the file plus about 1.1 GB of working memory (CUDA context and compute buffers): 3.7 GB for balanced | |
| with every feature, 2.9 GB for text-to-image alone. The weights are in GPU memory once, packed as in the file. | |
| - On CUDA a repeated request gave the same result in 200 of 200 runs; with requests of alternating lengths, 3 of 1,797 | |
| runs differed at rounding level (correlation 0.99999). The CPU path is bit-exact. | |
| - The benchmark scores were measured with engine 1.0.0. Engine 1.0.1 runs the same model on a different route through | |
| the GPU kernels, so its pictures for a given seed differ; NYUv2 measured again for balanced gave mIoU 66.76 (66.78 before). | |
| - Outputs drift from the original's; dense maps differ by a few percent. Public benchmark scores are under Standard benchmarks. | |
| - AMD, Intel and Apple GPUs are built and self-tested in CI but not measured on hardware. | |
| - No training was done. A distilled successor at about 1.5 GB is planned. | |
| - Inherits Jeveration's limits: 512 px output, English prompts, 13 indoor classes for segmentation. | |
| ## License and credit | |
| Model files and figures: CC BY 4.0. Code: Apache 2.0. **Credit is required** when you use, redistribute or build on | |
| this model: | |
| > Teveration 1 by DmitrofNET, https://github.com/DmitrofNETDev/Teveration-1 | |
| Teveration 1 is a derivative of [Jeveration](https://huggingface.co/linlinlinlinsdada/Jeveration) (The Jeveration | |
| Authors), [Qwen3.5-4B](https://huggingface.co/Qwen/Qwen3.5-4B) (Alibaba Cloud), | |
| [Ternary Bonsai 2 4B](https://huggingface.co/prism-ml/Ternary-Bonsai-2-4B-gguf) (created using Bonsai by Prism ML), | |
| [TA-TiTok](https://huggingface.co/turkeyju/tokenizer_tatitok_bl128_vq) (Bytedance) and CLIP ViT-L/14-336 (OpenAI), all | |
| under Apache 2.0. Their notices are in `NOTICE` and `THIRD_PARTY_NOTICES.md`; what was changed is listed in | |
| `LICENSE-WEIGHTS.md`. | |
| ```bibtex | |
| @software{teveration1, | |
| title = {Teveration 1: a ternary-backbone GGUF build of the Jeveration image model}, | |
| author = {DmitrofNET}, | |
| year = {2026}, | |
| url = {https://github.com/DmitrofNETDev/Teveration-1} | |
| } | |
| ``` | |