LH-Tech-AI commited on
Commit
923a9eb
·
verified ·
1 Parent(s): 9fc1c81

Create improving-t2i.html

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