Skip to content

Commit 11800fd

Browse files
committed
Enhance "Tiny Recursive Model" project page with a new embedded YouTube video for better engagement. Update styling for links and improve image handling in the Markdown renderer to accommodate architecture diagrams. Revise subtitle for clarity in the content file.
1 parent a412d3a commit 11800fd

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-5
lines changed

app/blog/tiny-recursive-model/page.tsx

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export default function TinyRecursiveModelProject() {
186186
)}
187187

188188
{/* Links to Paper and GitHub */}
189-
<div className="flex flex-wrap items-center justify-center gap-4 mb-8">
189+
<div className="relative z-10 flex flex-wrap items-center justify-center gap-4 mb-8">
190190
<a
191191
href="https://arxiv.org/pdf/2510.04871v1"
192192
target="_blank"
@@ -218,7 +218,7 @@ export default function TinyRecursiveModelProject() {
218218
</div>
219219

220220
{/* Glow effect for the title */}
221-
<div className="absolute inset-0 text-4xl md:text-5xl lg:text-6xl font-medium leading-tight blur-sm">
221+
<div className="absolute inset-0 text-4xl md:text-5xl lg:text-6xl font-medium leading-tight blur-sm pointer-events-none">
222222
<span className="bg-gradient-to-r from-blue-400/20 via-purple-400/20 to-cyan-400/20 bg-clip-text text-transparent">
223223
{heroData?.title || 'Tiny Recursive Model'}
224224
</span>
@@ -280,6 +280,18 @@ export default function TinyRecursiveModelProject() {
280280

281281
{/* Article Body */}
282282
<div className="px-8 sm:px-12 pb-20">
283+
<div className="mb-8">
284+
<div className="relative" style={{ paddingTop: '56.25%' }}>
285+
<iframe
286+
className="absolute top-0 left-0 w-full h-full rounded-lg shadow-2xl"
287+
src="https://www.youtube.com/embed/51uVH-sEvk0"
288+
title="YouTube video player"
289+
frameBorder="0"
290+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
291+
allowFullScreen
292+
></iframe>
293+
</div>
294+
</div>
283295
<div className="prose prose-lg prose-invert max-w-none">
284296
<MarkdownRenderer content={markdownContent} />
285297
</div>

components/markdown-renderer.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ export function MarkdownRenderer({ content }: MarkdownRendererProps) {
106106
img: ({ src, alt }) => {
107107
if (!src) return null;
108108

109+
// Check if this is the architecture diagram that should be smaller
110+
const isArchitectureDiagram = alt?.includes('Architecture') || src?.includes('architecture');
111+
const imageClassName = isArchitectureDiagram ? "w-1/2 h-auto mx-auto" : "w-full h-auto";
112+
109113
// Handle external images
110114
if (typeof src === 'string' && src.startsWith('http')) {
111115
return (
@@ -115,7 +119,7 @@ export function MarkdownRenderer({ content }: MarkdownRendererProps) {
115119
alt={alt || ''}
116120
width={800}
117121
height={400}
118-
className="w-full h-auto"
122+
className={imageClassName}
119123
loading="lazy"
120124
/>
121125
{alt && (
@@ -135,7 +139,7 @@ export function MarkdownRenderer({ content }: MarkdownRendererProps) {
135139
alt={alt || ''}
136140
width={800}
137141
height={400}
138-
className="w-full h-auto"
142+
className={imageClassName}
139143
priority={false}
140144
/>
141145
{alt && (

public/content/tiny-recursive-model/tiny-recursive-model-content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ hero:
99

1010
## The New AI Reasoning Architecture
1111

12-
#### How a 7M Model Beats 1T Models at Sudoku, Mazes, ARC-AGI
12+
How a 7M Model Beats 1T Models at Sudoku, Mazes, ARC-AGI
1313

1414
**The Tiny Reasoning Model (TRM)** uses a 2-layer transformer (7M parameters) that reuses the same layers hundreds of times to reason about problems recursively.
1515

0 commit comments

Comments
 (0)