/ Модель

Характеристики

Лицензия
Apache 2.0
Базовая модель
OUI-1
Опубликована
11 сен 2026

OUI-1-GGUF

Генерация текстаТекст → текст3 профессии

Abiray/OUI-1-GGUF — набор общественных GGUF-квантизаций модели OUI-1, разработанной Thesys.

2 096скачиваний за 30 дней14лайковвеса обновлены13 сен 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

OUI-1 представляет собой дообученную версию Google DiffusionGemma 26B-A4B-it и предназначена для генерации полноценных пользовательских интерфейсов на декларативном языке openui-lang, используемом OpenUI. Модель ориентирована на сценарии Generative UI: по схеме компонентов и текстовому описанию экрана она формирует иерархическую структуру интерфейса, которую можно валидировать и отображать средствами OpenUI для React, Vue или Svelte.

Архитектура основана на diffusion-language model с 26 млрд общих параметров и 4 млрд активных параметров. Поддерживается контекст до 16 384 токенов, а генерация выполняется блоками по 256 токенов с использованием специализированного diffusion sampler. Модель предназначена не для свободного диалога, а для преобразования описаний и схем компонентов в синтаксис openui-lang. В Generative UI Benchmark она получила 71,7% и решила 132 из 184 экранов, тогда как базовая DiffusionGemma показала 13,0%.

Репозиторий содержит варианты Q3_K_M, Q4_K_S, Q4_K_M, Q5_K_M, Q6_K и Q8_0 размером примерно от 13,3 до 26,9 ГБ. Рекомендуется Q4_K_M как компромисс между качеством и размером; разные варианты рассчитаны на системы примерно с 16–24 ГБ памяти или больше, в зависимости от квантизации. Для запуска требуется версия llama.cpp с поддержкой архитектуры diffusion-gemma и специальный llama-diffusion-cli; возможна работа на CPU и GPU. README указывает лицензию Apache-2.0.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

OUI-1 GGUF

This repository hosts community GGUF quantizations of thesysdev/OUI-1, the first diffusion model built specifically for Generative UI.

OUI-1 is a fine-tune of Google's DiffusionGemma 26B-A4B-it (26B total parameters, 4B active) designed to write complete user interface screens in openui-lang, the declarative UI language behind OpenUI. It achieves 71.7% on the Generative UI Benchmark (a 5.5x improvement over the base model's 13.0%).

These GGUF binaries are built for inference using llama.cpp PR #24423 by Daniel Han (Unsloth), which implements native tensor graphs for the diffusion-gemma architecture and provides the specialized llama-diffusion-cli block-diffusion sampler.


Quantization Matrix & Files

FilenameFile SizeQuant MethodMemory Profile & Target Use Case
OUI-1-Q3_K_M.gguf13.3 GBQ3_K_MMemory-constrained systems; runs on ~16 GB unified RAM.
OUI-1-Q4_K_S.gguf15.5 GBQ4_K_SFast 4-bit quant; lower compute overhead for CPU inference.
OUI-1-Q4_K_M.gguf16.8 GBQ4_K_MRecommended. Best quality/size tradeoff; fits comfortably on 24 GB VRAM GPUs or ~20 GB system RAM.
OUI-1-Q5_K_M.gguf19.1 GBQ5_K_MHigh precision; minimal perplexity loss over unquantized weights.
OUI-1-Q6_K.gguf22.7 GBQ6_KNear-lossless representation of original BF16 parameters.
OUI-1-Q8_0.gguf26.9 GBQ8_0Full 8-bit quantization; maximum fidelity.

Benchmark & Architecture

  • Base Model: google/diffusiongemma-26B-A4B-it (26B total, 4B active)
  • Method: Tied LoRA fine-tuning merged into base weights
  • Context Length: Up to 16,384 tokens
  • Canvas Size: 256-token block diffusion canvas
  • Sampling: Entropy-bound sampler (default 48 denoising steps, entropy bound 0.1)
ModelGenerative UI Benchmark ScoreSolved Screens (out of 184)Active Parameters
Base DiffusionGemma13.0%24 / 1844B
OUI-171.7%132 / 1844B

How Generative UI Prompting Works

OUI-1 is not a conversational assistant. It operates strictly by mapping component schemas to declarative layouts:

  1. System Prompt: Provides the TypeScript signatures and properties of your target component library.
  2. User Prompt: A structured natural language brief detailing layout sections and data points.
  3. Model Generation: Emits declarative openui-lang syntax, one component per line, wired into a hierarchical tree.

1. Generating the Component System Prompt

Generate a prompt compatible with your custom UI component library using @openuidev/cli:

npx @openuidev/cli generate <path-to-library.ts> --out system-prompt.txt

(You can also use the reference prompt from protocols/openui/prompt.ts in the benchmark repository).

2. Validating & Rendering Outputs

Outputs generated by OUI-1 can be directly parsed, validated, and rendered:

  • Validation: @openuidev/lang-core
  • Renderers: @openuidev/react-lang, @openuidev/vue-lang, or @openuidev/svelte-lang

Running Inference with llama.cpp

Because text diffusion operates across 256-token canvas blocks iteratively rather than causal autoregressive next-token decoding, use the dedicated llama-diffusion-cli runner.

1. Build llama.cpp with Diffusion Support

git clone [https://github.com/ggml-org/llama.cpp.git](https://github.com/ggml-org/llama.cpp.git)
cd llama.cpp

# Checkout the diffusion-gemma PR branch
git fetch origin pull/24423/head:diffusion-gemma
git checkout diffusion-gemma

# Build binaries (CPU or CUDA)
cmake -B build -DGGML_NATIVE=ON
# For Nvidia GPUs, use: cmake -B build -DGGML_CUDA=ON
cmake --build build -j$(nproc) --target llama-diffusion-cli

2. Execution Example (CPU)

SYSTEM_PROMPT="You are an expert UI generator. Output screens strictly using openui-lang declarative syntax.
Available components:
- Page(title: string)
- Card(title: string)
- Metric(label: string, value: string, status?: 'good' | 'warning' | 'error')
- Text(content: string)
- Stack(direction: 'row' | 'column')"

USER_BRIEF="Status page for the platform team. Single screen with current uptime percentage (99.98%) and the most recent incident details."

./build/bin/llama-diffusion-cli \
  -m ./OUI-1-Q4_K_M.gguf \
  -t 16 \
  -c 4096 \
  -n 512 \
  -p "<start_of_turn>system
${SYSTEM_PROMPT}<end_of_turn>
<start_of_turn>user
${USER_BRIEF}<end_of_turn>
<start_of_turn>model
"

3. GPU Acceleration

Add -ngl 99 to offload all diffusion layers to GPU VRAM:

./build/bin/llama-diffusion-cli \
  -m ./OUI-1-Q4_K_M.gguf \
  -ngl 99 \
  -c 4096 \
  -n 512 \
  -p "<start_of_turn>system
...
<start_of_turn>user
...
<start_of_turn>model
"

(Tip: In a local interactive terminal/TTY, you can supply --diffusion-visual to watch the 256-token canvas denoise in real-time).


Python Download Helper

Download individual quant binaries directly via huggingface_hub:

from huggingface_hub import hf_hub_download

model_path = hf_hub_download(
    repo_id="Abiray/OUI-1-GGUF",
    filename="OUI-1-Q4_K_M.gguf",
    local_dir="./models"
)
print(f"Downloaded model to: {model_path}")

Credits & Licensing

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

llama.cpp

Нельзя запустить

GGUF-модель ждёт проверки: нужно выбрать файл кванта под доступные GPU.

Ревизия весов
976ff70

0 моделей