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 modeling_teveration.py from DmitrofNET/Teveration-1: direct link, hf CLI and curl.
- Browser
- Download file 2.96 kB
-
https://huggingface.co/DmitrofNET/Teveration-1/resolve/main/modeling_teveration.py
- Command line
-
hf download hf://DmitrofNET/Teveration-1/modeling_teveration.py
-
curl -L -o modeling_teveration.py https://huggingface.co/DmitrofNET/Teveration-1/resolve/main/modeling_teveration.py
2.96 kB
| """Teveration 1 as a transformers model. | |
| 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="ghibli") | |
| maps = model.dense_predict(photos) # {"seg", "depth", "normal"} | |
| The class is a thin PreTrainedModel around the Teveration engine (GGUF, weights packed in memory); it holds no trainable | |
| PyTorch weights. The engine for this machine and the GGUF files are downloaded on first use. | |
| """ | |
| import torch | |
| from transformers import PretrainedConfig, PreTrainedModel | |
| try: | |
| from .teveration_engine import Teveration, local_model | |
| except ImportError: | |
| from teveration.engine import Teveration, local_model | |
| class TeverationConfig(PretrainedConfig): | |
| model_type = "teveration" | |
| def __init__(self, engine_device="auto", quality="balanced", vision=True, image_size=512, num_codes=128, codebook_size=8192, **kwargs): | |
| super().__init__(**kwargs) | |
| self.engine_device, self.quality, self.vision = engine_device, quality, vision | |
| self.image_size, self.num_codes, self.codebook_size = image_size, num_codes, codebook_size | |
| class TeverationModel(PreTrainedModel): | |
| config_class = TeverationConfig | |
| main_input_name = "prompts" | |
| def __init__(self, config): | |
| super().__init__(config) | |
| self.anchor = torch.nn.Parameter(torch.zeros(1), requires_grad=False) # so that the checkpoint machinery has a tensor | |
| self._engine = None | |
| self.post_init() | |
| def _init_weights(self, module): | |
| pass | |
| def engine(self): | |
| if self._engine is None: | |
| self._engine = Teveration(model=local_model(self.config._name_or_path), device=self.config.engine_device, | |
| vision=self.config.vision, quality=self.config.quality) | |
| return self._engine | |
| def text_to_image(self, prompts, seed=0): | |
| """prompt or list of prompts -> numpy uint8 [B, 512, 512, 3]""" | |
| return self.engine.text_to_image(prompts, seed=seed) | |
| def image_to_image(self, images, task, captions=None, seed=0): | |
| """pictures (numpy, PIL or tensors) + task (hed, depth, colorize, anime, ghibli, watercolor) -> numpy uint8 [B, 512, 512, 3]""" | |
| return self.engine.image_to_image(images, task, captions=captions, seed=seed) | |
| def dense_predict(self, images): | |
| """-> {"seg": class indices, "depth": meters, "normal": unit vectors}""" | |
| return self.engine.dense_predict(images) | |
| def forward(self, prompts, seed=0): | |
| """text-to-image as a tensor: float [B, 3, 512, 512] in [0, 1]""" | |
| return torch.from_numpy(self.text_to_image(prompts, seed=seed)).permute(0, 3, 1, 2).float().div(255) | |
| generate = text_to_image | |