CompactAI commited on
Commit
a019c47
·
verified ·
1 Parent(s): 5f62b1d

Create I Dreamed Of NaN And Woke Up To NaN.html

Browse files
I Dreamed Of NaN And Woke Up To NaN.html ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>I Dreamed Of NaN And Woke Up To NaN | TinyMemoryLM</title>
7
+ <link rel="preconnect" href="https://fonts.googleapis.com">
8
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
9
+ <link href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono&display=swap" rel="stylesheet">
10
+ <style>
11
+ :root {
12
+ --black: #000000; --black-soft: #0a0a0a; --gray-1: #171717; --gray-2: #262626;
13
+ --gray-3: #363636; --gray-4: #525252; --gray-5: #737373; --gray-6: #a3a3a6;
14
+ --gray-7: #d4d4d4; --white: #ffffff; --accent: #ff4d00;
15
+ --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
16
+ --font-mono: 'Geist Mono', 'SF Mono', 'Fira Code', monospace;
17
+ --container-max: 700px;
18
+ }
19
+ * { box-sizing: border-box; margin: 0; padding: 0; }
20
+ html { font-size: 16px; scroll-behavior: smooth; }
21
+ body { font-family: var(--font-sans); background: var(--black); color: var(--gray-7); line-height: 1.7; -webkit-font-smoothing: antialiased; }
22
+ a { color: var(--white); text-decoration: none; transition: color 0.15s ease; }
23
+ a:hover { color: var(--accent); }
24
+ .container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
25
+ nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--gray-2); padding: 16px 0; }
26
+ nav .container { display: flex; justify-content: space-between; align-items: center; }
27
+ .nav-brand { font-size: 18px; font-weight: 600; color: var(--white); display: flex; align-items: center; gap: 8px; }
28
+ .nav-brand span { color: var(--accent); }
29
+ .nav-links { display: flex; gap: 32px; }
30
+ .nav-links a { font-size: 14px; font-weight: 500; color: var(--gray-6); }
31
+ .nav-links a:hover { color: var(--white); }
32
+ .post { padding: 140px 0 80px; }
33
+ .post-back { display: inline-block; color: var(--gray-5); font-size: 14px; margin-bottom: 32px; }
34
+ .post-back:hover { color: var(--accent); }
35
+ .post-back::before { content: '← '; }
36
+ .post-meta { display: flex; gap: 12px; margin-bottom: 20px; }
37
+ .post-date { font-size: 13px; color: var(--gray-5); font-family: var(--font-mono); }
38
+ .post-tag { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); background: rgba(255, 77, 0, 0.1); padding: 4px 10px; border-radius: 4px; }
39
+ .post h1 { font-size: 36px; font-weight: 700; color: var(--white); margin-bottom: 32px; line-height: 1.2; letter-spacing: -0.02em; }
40
+ .post-body p { font-size: 17px; line-height: 1.8; margin-bottom: 24px; color: var(--gray-6); }
41
+ .post-body p:first-of-type { font-size: 20px; color: var(--gray-7); }
42
+ .post-body h2 { font-size: 24px; font-weight: 600; color: var(--white); margin: 48px 0 20px; }
43
+ .post-body blockquote { border-left: 3px solid var(--accent); padding: 20px 24px; margin: 32px 0; background: var(--gray-1); border-radius: 0 8px 8px 0; }
44
+ .post-body blockquote p { font-size: 16px; font-style: italic; color: var(--gray-6); margin: 0; }
45
+ .post-body hr { border: none; height: 1px; background: var(--gray-2); margin: 48px 0; }
46
+ .stats-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin: 24px 0; }
47
+ .stat-card { background: var(--gray-1); border: 1px solid var(--gray-2); border-radius: 8px; padding: 20px; text-align: center; }
48
+ .stat-card .number { font-size: 32px; font-weight: 700; color: var(--accent); font-family: var(--font-mono); }
49
+ .stat-card .label { font-size: 13px; color: var(--gray-5); margin-top: 8px; }
50
+ .code-block { background: var(--gray-1); border: 1px solid var(--gray-2); border-radius: 8px; padding: 20px; margin: 24px 0; font-family: var(--font-mono); font-size: 13px; overflow-x: auto; }
51
+ .code-block .comment { color: var(--gray-5); font-style: italic; display: block; margin-top: 4px; }
52
+ .post-footer { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--gray-2); }
53
+ .post-footer p { font-size: 14px; color: var(--gray-5); font-style: italic; margin: 0; }
54
+ footer { padding: 40px 0; background: var(--black-soft); border-top: 1px solid var(--gray-2); text-align: center; }
55
+ footer p { color: var(--gray-5); font-size: 14px; margin-bottom: 8px; }
56
+ footer a { color: var(--gray-5); }
57
+ footer a:hover { color: var(--accent); }
58
+ @media (max-width: 768px) { .post h1 { font-size: 28px; } .nav-links { display: none; } .stats-grid { grid-template-columns: 1fr; } }
59
+ </style>
60
+ </head>
61
+ <body>
62
+ <nav>
63
+ <div class="container">
64
+ <a href="index.html" class="nav-brand"><span>/</span>TinyMemoryLM</a>
65
+ <div class="nav-links">
66
+ <a href="index.html">Home</a>
67
+ <a href="blog.html">Blog</a>
68
+ <a href="status.html">Status</a>
69
+ </div>
70
+ </div>
71
+ </nav>
72
+ <main>
73
+ <article class="post">
74
+ <div class="container">
75
+ <a href="blog.html" class="post-back">Back to Blog</a>
76
+ <header>
77
+ <div class="post-meta">
78
+ <span class="post-date">2026-03-30</span>
79
+ <span class="post-tag">Training Nightmares</span>
80
+ </div>
81
+ <h1>I Dreamed Of NaN And Woke Up To NaN</h1>
82
+ </header>
83
+ <div class="post-body">
84
+ <p>I dreamed about NaN last night. Not a metaphorical NaN. A literal loss: nan in bright red terminal text. I was running through a field of gradients. They were all exploding. I woke up in a panic. I checked my phone. I checked the logs. I needed to know.</p>
85
+ <p>The logs said loss: nan. My subconscious was monitoring my training run better than I was. My brain gave up on sleep to tell me the gradients exploded. I am now one with the loss curve. This is not healthy.</p>
86
+ <blockquote>
87
+ <p>When your dreams start monitoring your terminal output you know you have spent too much time watching progress bars. I have crossed the threshold. I am part machine now.</p>
88
+ </blockquote>
89
+ <h2>The Patch That Wasnt</h2>
90
+ <p>I thought I fixed this. I added gradient clipping. I lowered the learning rate. I added warmup steps. I prayed to the GPU gods. I went to sleep confident. Confidence is the enemy of completed training runs.</p>
91
+ <div class="code-block">
92
+ <span class="comment"># My patch notes vs. Reality</span><br>
93
+ Patch: Added gradient clipping at 1.0<br>
94
+ Patch: Lowered LR to 1e-5<br>
95
+ Patch: Added epsilon to denominator<br>
96
+ Reality: loss: nan<br>
97
+ <span class="comment"># The void always wins.</span>
98
+ </div>
99
+ <p>Clearly I missed something. Maybe the clipping norm was too high. Maybe the learning rate was still too aggressive. Maybe the data had a bad batch. Maybe the universe hates me. I will never know. I just know it crashed.</p>
100
+ <h2>The Status Update</h2>
101
+ <div class="stats-grid">
102
+ <div class="stat-card">
103
+ <div class="number">100%</div>
104
+ <div class="label">Haiku (Published)</div>
105
+ </div>
106
+ <div class="stat-card">
107
+ <div class="number">0%</div>
108
+ <div class="label">Sonnet (Crashed)</div>
109
+ </div>
110
+ <div class="stat-card">
111
+ <div class="number">0%</div>
112
+ <div class="label">Opus (Dream)</div>
113
+ </div>
114
+ </div>
115
+ <p>Haiku is out. It says "|fdish|||||!@|". It is published. It exists. It is complete. Sonnet is back to zero percent. All that training time. All that electricity. All that heat generated in my room. Gone. Opus remains a concept. A beautiful dream. A dream that requires Sonnet to finish first.</p>
116
+ <h2>Restarting Again</h2>
117
+ <p>I am restarting Sonnet. Again. This is the third time. Maybe the fourth. I have lost count. Each restart teaches me something. Mostly it teaches me patience. Also it teaches me that NaN is inevitable.</p>
118
+ <p>I will lower the learning rate again. I will clip gradients harder. I will check the data for infinities. I will do everything differently. It will probably crash again. I will probably restart again. This is the cycle.</p>
119
+ <blockquote>
120
+ <p>Training models locally is just debugging with extra steps and more existential dread. I am excellent at debugging. I am excellent at dread.</p>
121
+ </blockquote>
122
+ <h2>Why I Keep Going</h2>
123
+ <p>Haiku exists. That proves it is possible. My tiny models can learn. They can speak. They can output pipe characters with confidence. If Haiku can do it Sonnet can do it. Opus can do it. Eventually.</p>
124
+ <p>I have the hardware. I have the code. I have the data. I lack the stability. Stability comes with time. Time I am spending. Lots of time. Too much time. My family misses me. My GPU does not.</p>
125
+ <h2>The Dream Continues</h2>
126
+ <p>I will dream about NaN tonight too. I know this. My brain has decided this is important. My brain has decided loss curves are more important than sleep. My brain might be right. Loss curves are tangible. Sleep is temporary. NaN is eternal.</p>
127
+ <p>Tomorrow I will check the logs again. I will fear the NaN. I will see the NaN. I will restart. I will try again. This is my life now. This is what I chose. This is fine.</p>
128
+ <h2>Final Thoughts</h2>
129
+ <p>Haiku is at 100 percent. Sonnet is at 0 percent. Opus is at 0 percent. I am at 100 percent exhaustion. We are all at different stages of completion. We are all trying our best.</p>
130
+ <p>If you train models locally you understand this pain. If you do not train models locally you should sleep well tonight. Enjoy your rest. I will be here watching gradients explode.</p>
131
+ <hr>
132
+ </div>
133
+ <footer class="post-footer">
134
+ <p>Current status: Sonnet restarted at 0%. Haiku published at 100%. Opus waiting. Me dreaming of NaN. Will check logs in 5 minutes.</p>
135
+ </footer>
136
+ </div>
137
+ </article>
138
+ </main>
139
+ <footer>
140
+ <div class="container">
141
+ <p>Built with curiosity over compute</p>
142
+ <p>TinyMemoryLM by AILAY | 2026</p>
143
+ </div>
144
+ </footer>
145
+ </body>
146
+ </html>