Downloads · 30 days
20
9% of all-time downloads
Situus/STARK-WEB-12B-v1.7
STARK-WEB-12B-v1.7 is a text generation model from Situus. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
<div style="background: linear-gradient(135deg, 1e3a8a 0%, 3b82f6 100%); padding: 32px 20px; border-radius: 12px; margin-bottom: 24px; text-align: center; color: white; box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);…
Downloads · 30 days
20
9% of all-time downloads
All-time downloads
215
Public
Parameters
12B
24 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors23.9 GB · 100%
From the Hugging Face model README
⚡ Looking for local execution? The repository you are currently viewing contains the unquantized raw Safetensors weights. If you are looking to run this model locally via LM Studio, llama.cpp, or Ollama, Click here to visit the quantized GGUF repository (STARK-WEB-12B-v1.7-gguf).
STARK-WEB-12B v1.7 is an advanced, highly specialized model fine-tuned on the Gemma 4 12B architecture. Engineered to act as a premium UI/UX designer and frontend developer, this model bridges the gap between raw code generation and artistic web design.
The training methodology behind STARK-WEB focuses on high-quality, synthetic web generation tasks derived from state-of-the-art models. The current iteration was fine-tuned on a heavily curated dataset comprising approximately 16 million tokens. This vast expansion from previous versions has drastically reduced overfitting and improved logical coherence in complex tasks.
Unlike standard coding assistants that output plain layouts, STARK-WEB-12B relies on a custom 9-step Chain-of-Thought (CoT) reasoning process. This explicit thinking phase allows the model to conceptualize physics, map custom color variables, and plan grid architectures before writing any code. The result is visually breathtaking interfaces featuring fluid transitions, advanced HSL color dynamics, glassmorphism, and highly robust logic.
To resolve logical hallucinations and infinite loops, STARK-WEB-12B v1.7 is constrained to reason through a strict 9-step algorithmic roadmap. This enforces cognitive staging, pushing the model to outline logic before generating syntax.
<div style="border: 1px solid #e5e7eb; border-left: 4px solid #3b82f6; padding: 16px; border-radius: 8px; margin: 20px 0; background-color: rgba(59, 130, 246, 0.02);"> <h3 style="margin-top: 0; color: #1e3a8a; display: flex; align-items: center; gap: 8px;"> <span>⚙️</span> The 9 Reasoning Stages </h3> <ol style="line-height: 1.6; padding-left: 20px; margin-bottom: 0;"> <li><b>Understand the Goal:</b> Analyze request scope, interface goals, and overall user flow.</li> <li><b>Inputs:</b> Map variables, event triggers, user inputs, and storage needs.</li> <li><b>Output:</b> Establish DOM results, target screens, and state resets.</li> <li><b>Identify Key Constraints & Technologies:</b> Lock down browser APIs, grid constraints, and physics bounds.</li> <li><b>Design the HTML Structure:</b> Plan semantic tag hierarchies and container distributions.</li> <li><b>Design the CSS:</b> Map custom color variables (HSL), responsive layouts, transitions, and glow shadows.</li> <li><b>Design the JavaScript:</b> Lay out event handlers, physics intervals, and rendering cycles.</li> <li><b>Refinement & Implementation:</b> Synthesize code cleanups, performance tweaks, and responsiveness.</li> <li><b>Final Review:</b> Final validation checklist (errors, edge-case safety, formatting).</li> </ol> </div>The thinking process executes exactly between the <|channel>thought and <channel|> tags.
The model is published in the secure safetensors format. It uses the standard Gemma format (<|turn|>) and is designed to run with an empty system prompt.
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("Situus/STARK-WEB-12B-v1.7")
model = AutoModelForCausalLM.from_pretrained("Situus/STARK-WEB-12B-v1.7", device_map="auto", torch_dtype="auto")
messages = [
{"role": "user", "content": "Write a fully functional Canvas snake game in a single HTML file."}
]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
outputs = model.generate(**inputs, max_new_tokens=4096, temperature=0.7)
print(tokenizer.decode(outputs[0], skip_special_tokens=False))
</details>
While v1.7 sets a strong foundation for single-file web prototyping, we are already hard at work on STARK-WEB v2-agentic.
The upcoming generation will feature:
Stay tuned!
This model is open-sourced under the Apache 2.0 license.
@misc{situus2026starkweb,
author = {Situus},
title = {STARK-WEB-12B v1.7: Optimizing Open Source Large Language Models for Structured Web Application Synthesis},
year = {2026},
publisher = {Hugging Face},
journal = {Hugging Face Model Hub}
}