-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
216 lines (208 loc) · 7.94 KB
/
Copy pathindex.html
File metadata and controls
216 lines (208 loc) · 7.94 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Optimization Visualization</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", sans-serif;
background: #0d1117;
color: #c9d1d9;
min-height: 100vh;
}
.hero {
background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #1c2333 100%);
padding: 4rem 2rem 3rem;
text-align: center;
border-bottom: 1px solid #30363d;
}
.hero h1 {
font-size: 2.8rem;
font-weight: 700;
background: linear-gradient(135deg, #58a6ff, #a371f7);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 0.75rem;
}
.hero p {
color: #8b949e;
font-size: 1.1rem;
max-width: 600px;
margin: 0 auto;
}
.container { max-width: 1100px; margin: 0 auto; padding: 2rem; }
.section-title {
font-size: 1.5rem;
font-weight: 600;
margin: 2rem 0 1.5rem;
color: #f0f6fc;
}
.cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
gap: 1.25rem;
}
.card {
background: #161b22;
border: 1px solid #30363d;
border-radius: 12px;
padding: 1.5rem;
text-decoration: none;
color: inherit;
transition: border-color 0.2s, transform 0.2s;
}
.card:hover {
border-color: #58a6ff;
transform: translateY(-3px);
}
.card h3 {
font-size: 1.15rem;
font-weight: 600;
color: #f0f6fc;
margin-bottom: 0.5rem;
}
.card p {
color: #8b949e;
font-size: 0.9rem;
line-height: 1.5;
margin-bottom: 1rem;
}
.card .tags {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
}
.card .tag {
display: inline-block;
font-size: 0.75rem;
padding: 0.2rem 0.6rem;
border-radius: 99px;
background: #1f6feb33;
color: #58a6ff;
font-weight: 500;
}
.card .tag.html { background: #23863633; color: #3fb950; }
.card .tag.video { background: #bf4b8a33; color: #db6d9f; }
.card .tag.code { background: #d2992233; color: #d29922; }
.footer {
text-align: center;
padding: 2rem;
color: #484f58;
font-size: 0.85rem;
border-top: 1px solid #30363d;
}
.footer a { color: #58a6ff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
@media (max-width: 640px) {
.hero h1 { font-size: 2rem; }
.cards { grid-template-columns: 1fr; }
}
</style>
</head>
<body>
<div class="hero">
<h1>Optimization Visualization</h1>
<p>In-depth paper analyses with visualizations of optimization algorithms and deep learning concepts</p>
</div>
<div class="container">
<h2 class="section-title">Paper Analyses</h2>
<div class="cards">
<a class="card" href="./adam/adam.md">
<h3>Adam Optimizer</h3>
<p>Detailed analysis of the Adam optimization algorithm: first moment (momentum) and second moment (adaptive scale) with visualizations.</p>
<div class="tags">
<span class="tag">Paper</span>
<span class="tag html">HTML</span>
<span class="tag video">Video</span>
<span class="tag code">Code</span>
</div>
</a>
<a class="card" href="./resnet/resnet.md">
<h3>ResNet</h3>
<p>Deep Residual Learning for Image Recognition. Residual learning, identity shortcuts, and the degradation problem.</p>
<div class="tags">
<span class="tag">Paper</span>
<span class="tag html">HTML</span>
<span class="tag video">Video</span>
<span class="tag code">Code</span>
</div>
</a>
<a class="card" href="./cheap/cheap.md">
<h3>Deep & Cheap Learning</h3>
<p>Why does deep and cheap learning work so well? Physics-inspired analysis of symmetry, locality, and compositionality.</p>
<div class="tags">
<span class="tag">Paper</span>
<span class="tag html">HTML</span>
<span class="tag video">Video</span>
<span class="tag code">Code</span>
</div>
</a>
<a class="card" href="./attention/attention.md">
<h3>Attention Is All You Need</h3>
<p>Full analysis of the Transformer architecture: scaled dot-product attention, multi-head attention, and positional encoding.</p>
<div class="tags">
<span class="tag">Paper</span>
<span class="tag html">HTML</span>
<span class="tag video">Video</span>
<span class="tag code">Code</span>
</div>
</a>
</div>
<h2 class="section-title">Interactive Demos</h2>
<div class="cards">
<a class="card" href="./adam/adam_slow.html">
<h3>Adam Slow Motion</h3>
<p>Step-by-step visualization of Adam optimization path and gradient dynamics.</p>
<div class="tags">
<span class="tag html">HTML</span>
</div>
</a>
<a class="card" href="./adam/adam_integrate.html">
<h3>Adam Integration</h3>
<p>Interactive parameter exploration for the Adam optimizer.</p>
<div class="tags">
<span class="tag html">HTML</span>
</div>
</a>
</div>
<h2 class="section-title">Videos</h2>
<div class="cards">
<a class="card" href="./adam/adam_manim.mp4">
<h3>Adam Manim Animation</h3>
<p>Mathematical animation of the Adam optimization algorithm.</p>
<div class="tags">
<span class="tag video">MP4</span>
</div>
</a>
<a class="card" href="./resnet/resnet_manim.mp4">
<h3>ResNet Manim Animation</h3>
<p>Visualization of residual learning and skip connections.</p>
<div class="tags">
<span class="tag video">MP4</span>
</div>
</a>
<a class="card" href="./cheap/cheap_manim.mp4">
<h3>Cheap Learning Animation</h3>
<p>Animation of deep learning concepts from Lin, Tegmark & Rolnick.</p>
<div class="tags">
<span class="tag video">MP4</span>
</div>
</a>
<a class="card" href="./attention/attention_tofix_01.mp4">
<h3>Transformer Animation</h3>
<p>Animation of the Transformer architecture and attention mechanism.</p>
<div class="tags">
<span class="tag video">MP4</span>
</div>
</a>
</div>
</div>
<div class="footer">
<a href="https://github.com/zmath01/optimization-visualization">GitHub Repository</a> ·
MIT License
</div>
</body>
</html>