tfrere HF Staff commited on
Commit
243316c
·
1 Parent(s): ca55253
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: 'The Smol Training Playbook: The Secrets to Building World-Class LLMs'
3
  short_desc: 'A practical journey behind training SOTA LLMs'
4
  emoji: 📝
5
  colorFrom: blue
 
1
  ---
2
+ title: 'Bringing paper to life:<br/>A modern template for scientific writing'
3
  short_desc: 'A practical journey behind training SOTA LLMs'
4
  emoji: 📝
5
  colorFrom: blue
app/src/content/chapters/demo/built-with-this.mdx CHANGED
@@ -33,7 +33,7 @@ You can see how the template is used in the following examples.
33
  </div>
34
  </a>
35
 
36
- <a href="https://placeholder-url.com" target="_blank" rel="noopener noreferrer" class="card no-padding" style="flex: 1; min-width: 0; overflow: hidden;">
37
  <Image
38
  src={smolTrainingGuide}
39
  alt="The Smol Training Guide: The Secrets to Building World-Class LLMs"
 
33
  </div>
34
  </a>
35
 
36
+ <a href="https://huggingface.co/spaces/HuggingFaceTB/smol-training-playbook" target="_blank" rel="noopener noreferrer" class="card no-padding" style="flex: 1; min-width: 0; overflow: hidden;">
37
  <Image
38
  src={smolTrainingGuide}
39
  alt="The Smol Training Guide: The Secrets to Building World-Class LLMs"
app/src/pages/dataviz.astro CHANGED
@@ -22,7 +22,22 @@ const pageTitle = articleTitle;
22
  const pageDesc = articleDesc;
23
 
24
  // Load all embeds from the content
25
- const allEmbeds = loadEmbedsFromMDX();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
  // No need to split - we'll use CSS Grid masonry layout
28
  ---
 
22
  const pageDesc = articleDesc;
23
 
24
  // Load all embeds from the content
25
+ const contentEmbeds = loadEmbedsFromMDX();
26
+
27
+ // Add banner as first embed (wide)
28
+ const bannerEmbed = {
29
+ src: "banner.html",
30
+ wide: true,
31
+ frameless: false,
32
+ skipGallery: false,
33
+ title: undefined,
34
+ desc: undefined,
35
+ data: undefined,
36
+ config: undefined,
37
+ };
38
+
39
+ // Combine banner + content embeds
40
+ const allEmbeds = [bannerEmbed, ...contentEmbeds];
41
 
42
  // No need to split - we'll use CSS Grid masonry layout
43
  ---
nginx.conf CHANGED
@@ -51,19 +51,11 @@ http {
51
  add_header Cache-Control "public, max-age=2592000, immutable";
52
  }
53
 
54
- # Specific routes for dataviz page
55
- location /dataviz {
56
- try_files /dataviz/index.html =404;
57
- }
58
-
59
- # Specific routes for trackio page
60
- location /trackio {
61
- try_files /trackio/index.html =404;
62
- }
63
-
64
- # Default fallback for all other routes
65
  location / {
66
- try_files $uri $uri/ $uri/index.html /index.html;
 
 
67
  }
68
  }
69
  }
 
51
  add_header Cache-Control "public, max-age=2592000, immutable";
52
  }
53
 
54
+ # Handle all routes with fallback to index.html first
 
 
 
 
 
 
 
 
 
 
55
  location / {
56
+ # Try to serve the file directly, then with /index.html appended,
57
+ # then fall back to root index.html
58
+ try_files $uri $uri/index.html /index.html;
59
  }
60
  }
61
  }