Spaces:
Running
Running
File size: 10,654 Bytes
923a9eb 74cbaf8 923a9eb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Improving Supra Text-To-Image models. Better data. Better algorithms. | SupraLabs Blog</title>
<style>
:root {
--bg: #0f0f0f;
--surface: #1a1a1a;
--border: #333;
--text: #e0e0e0;
--accent: #536bfe;
--muted: #888;
--font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
background-color: var(--bg);
color: var(--text);
font-family: 'Inter', -apple-system, sans-serif;
line-height: 1.6;
padding: 2rem;
}
code, pre, .mono { font-family: var(--font-mono); }
.container { max-width: 900px; margin: 0 auto; }
header {
border-bottom: 2px solid var(--border);
padding-bottom: 2rem;
margin-bottom: 3rem;
display: flex;
justify-content: space-between;
align-items: flex-end;
}
.logo-area h1 {
font-size: 1.2rem;
text-transform: uppercase;
letter-spacing: 2px;
color: var(--accent);
line-height: 1;
display: flex;
align-items: center;
gap: 10px;
}
.logo-area a { text-decoration: none; color: inherit; }
.logo-area { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 1.2rem; }
nav a {
color: var(--text);
text-decoration: none;
margin-left: 1.5rem;
font-size: 0.9rem;
border-bottom: 1px solid transparent;
}
nav a:hover { border-bottom: 1px solid var(--accent); }
.post-header { margin-bottom: 3rem; }
.post-header h2 { font-size: 3rem; line-height: 1.1; margin-bottom: 1rem; font-weight: 800; }
.post-meta { font-family: var(--font-mono); color: var(--accent); font-size: 0.9rem; margin-bottom: 2rem; }
.post-content {
background: var(--surface);
border: 1px solid var(--border);
padding: 3rem;
margin-bottom: 4rem;
}
.post-content h2 { font-size: 1.8rem; margin: 2.5rem 0 1rem 0; color: var(--accent); }
.post-content h2:first-child { margin-top: 0; }
.post-content p { margin-bottom: 1.5rem; font-size: 1.1rem; color: var(--text); }
.post-content ul { margin-bottom: 1.5rem; padding-left: 1.5rem; }
.post-content li { margin-bottom: 0.5rem; font-size: 1.1rem; }
.post-content strong { color: #fff; }
.post-content code {
background: #111;
border: 1px solid var(--border);
padding: 2px 6px;
border-radius: 3px;
font-size: 0.95em;
color: var(--accent);
}
.callout {
border-left: 3px solid var(--accent);
background: #111;
padding: 1rem 1.5rem;
margin: 2rem 0;
font-family: var(--font-mono);
font-size: 0.95rem;
color: #ccc;
}
.callout span { display: block; color: var(--muted); font-size: 0.8rem; margin-bottom: 0.4rem; }
/* IO example pairs */
.io-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.io-pair {
background: #111;
border: 1px solid var(--border);
padding: 1.2rem;
}
.io-pair .io-label {
font-family: var(--font-mono);
font-size: 0.72rem;
color: var(--muted);
margin-bottom: 0.5rem;
}
.io-pair .io-user { color: #ccc; font-size: 0.95rem; margin-bottom: 0.8rem; line-height: 1.5; }
.io-pair .io-result {
font-family: var(--font-mono);
color: var(--accent);
font-size: 0.9rem;
font-weight: 700;
}
/* Flow diagram */
.flow {
display: flex;
align-items: center;
justify-content: center;
gap: 0.8rem;
margin: 2rem 0;
flex-wrap: wrap;
}
.flow-box {
background: #111;
border: 1px solid var(--border);
padding: 0.8rem 1.2rem;
font-family: var(--font-mono);
font-size: 0.82rem;
text-align: center;
color: #ccc;
}
.flow-box.accent { border-color: var(--accent); color: var(--accent); }
.flow-arrow { color: var(--accent); font-size: 1.2rem; }
.table-wrap { overflow-x: auto; margin: 2rem 0; }
table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 0.88rem; }
th { background: #111; color: var(--accent); padding: 0.75rem 1rem; text-align: left; border: 1px solid var(--border); }
td { padding: 0.7rem 1rem; border: 1px solid var(--border); color: var(--text); }
tr:nth-child(even) td { background: #111; }
.tags { display: flex; gap: 0.5rem; margin-top: 2rem; flex-wrap: wrap; }
.tag { font-family: var(--font-mono); font-size: 0.7rem; padding: 2px 8px; border: 1px solid var(--border); border-radius: 4px; color: var(--muted); }
footer { margin-top: 6rem; padding-bottom: 2rem; font-size: 0.8rem; color: var(--muted); text-align: center; }
@media (max-width: 600px) {
.post-header h2 { font-size: 2rem; }
.post-content { padding: 1.5rem; }
header { flex-direction: column; align-items: flex-start; gap: 1rem; }
nav a { margin-left: 0; margin-right: 1rem; }
.io-grid { grid-template-columns: 1fr; }
.flow { flex-direction: column; }
}
</style>
</head>
<body>
<div class="container">
<header>
<div class="logo-area" style="font-size: 1.5em;">
<a href="./index.html"><h1><img src="./image.png" style="height: 2em"> SupraLabs_</h1></a>
</div>
<nav>
<a href="./index.html#news">News</a>
<a href="https://huggingface.co/SupraLabs" target="blank">HuggingFace</a>
<a href="./index.html#hardware">Hardware</a>
</nav>
</header>
<article>
<div class="post-header">
<div class="post-meta">// 2026-09-17 | Research</div>
<h2>Improving Supra Text-To-Image models.<br>Better data.<br>Better algorithms.</h2>
</div>
<div class="post-content">
<p>It has been a while since our last text-to-image model experiments... the resultsimages were always blurry, damaged and not good.</p>
<p>We spent days in researching better options and tricks for a better model now. Let's get into it.</p>
<h2>The old model</h2>
<p>Here are some real samples - generated from our model. At <code>guidance_scale=3.5</code> and <code>steps=150</code>. Everytime the same <strong>12345</strong> seed.</p>
<strong>Prompt: A city skyline during a neon pink sunset.</strong><br>
<img src="https://cdn-uploads.huggingface.co/production/uploads/697f2832c2c5e4daa93cece7/a0-bzWK2MD35sshdGwXpR.png" width="250px" height="250px">
<br><br><strong>Prompt: A clock tower against a blue sky.</strong><br>
<img src="https://cdn-uploads.huggingface.co/production/uploads/697f2832c2c5e4daa93cece7/3T0OfRxwlDONr1R8QCRWl.png" width="250px" height="250px">
<br><br><strong>Prompt: a red car</strong><br>
<img src="https://cdn-uploads.huggingface.co/production/uploads/697f2832c2c5e4daa93cece7/7wUzW_gX3i643zDgIEQYR.png" width="250px" height="250px">
<br><br><strong>Prompt: a mountain landscape with a lake</strong><br>
<img src="https://cdn-uploads.huggingface.co/production/uploads/697f2832c2c5e4daa93cece7/FW8mvsaxu05zB0vbwEg0w.png" width="250px" height="250px">
<br><br>
<p>As you can clearly see, these results are REALLY bad. That <strong>has</strong> to be improved.</p>
<h2>The new setup</h2>
<p>Since we are an open-source research organization we will share some details about the new setup yet - even before the release.</p>
<div class="table-wrap">
<table>
<thead>
<tr><th>Part</th><th>OLD</th><th>NEW</th><th>Why?</th></tr>
</thead>
<tbody>
<tr><td>Encoder</td> <td>CLIP</td><td><strong>Flan-T5-Base</strong></td><td>Better image understanding and prompt following improvements.</td></tr>
<tr><td>Dataset</td> <td>COCO</td><td><strong>FLUX-Reason-6M</strong></td><td>1. Synthetic images are better for small t2i models; 2. COCO is not good at all for t2i; 3. All images in the FLUX-Reason-6M dataset already have a squared aspect ratio.</td></tr>
<tr><td># of images</td> <td>83k</td><td><strong>900k</strong></td><td>More data is better to not let the model overfit to certain pictures</td></tr>
<tr><td>Epochs</td> <td>200</td><td><strong>2</strong></td><td>With more data, you should use much less epochs.</td></tr>
<tr><td>Total parameters</td> <td>40M</td><td><strong>100M</strong></td><td>Text-To-Image is complicated and very hard. Give the model more room to think.</td></tr>
</tbody>
</table>
</div>
<p>Let's see how it will perform!</p>
<h2>Total time and current progress</h2>
<p>We did start the training of the model. At 256² image size. With 900k images. For two epochs. One single RTX 5060 Ti 16GB.</p>
<div class="callout">
<span><strong>Total time:</strong> ~20 hours</span>
<span><strong>Current progress:</strong> 8%</span>
</div>
<h2>Stay tuned</h2>
<p>This was it for today - stay tuned for the release maybe in some days!</p>
<div class="tags">
<span class="tag">#research</span>
<span class="tag">#small-model</span>
<span class="tag">#text-to-image</span>
<span class="tag">#t2i</span>
</div>
</div>
</article>
<footer>
<p class="mono">© 2026 SupraLabs // Built for the community.</p>
</footer>
</div>
</body>
</html> |