lysandre HF Staff commited on
Commit
f439da7
·
verified ·
1 Parent(s): 9a4e620

Match HF blog palette; wrap the tab row

Browse files
Files changed (1) hide show
  1. index.html +27 -14
index.html CHANGED
@@ -6,20 +6,6 @@
6
  <meta name="description" content="tokenizers v1 encode, decode, scaling and latency, measured with tokbench against tokenizers 0.23.">
7
  <meta property="og:title" content="tokenizers v1 benchmarks">
8
  <meta property="og:description" content="Tokenizers v1: SOTA">
9
- <style id="embed">
10
- /* embed mode: the blog supplies the page, this supplies one figure */
11
- .wrap{max-width:none; margin:0}
12
- header, #rail{display:none !important}
13
- section{display:none !important; margin:0 !important}
14
- section > h2{display:none !important}
15
- body{padding:1.1rem 1.2rem}
16
- /* the page animates a hero field behind the masthead; nothing to animate here */
17
- #field{display:none !important}
18
-
19
- section#cache{display:block !important}
20
- #cache > p:not(.note), #cache > .box{display:none !important}
21
- #a-cache{margin-top:0}
22
- </style>
23
  </head>
24
  <body data-embed="cache">
25
  <title>tokenizers v1 word cache</title>
@@ -1752,5 +1738,32 @@ addEventListener("resize", () => { clearTimeout(rt); rt = setTimeout(drawAll, 12
1752
 
1753
  </script>
1754
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1755
  </body>
1756
  </html>
 
6
  <meta name="description" content="tokenizers v1 encode, decode, scaling and latency, measured with tokbench against tokenizers 0.23.">
7
  <meta property="og:title" content="tokenizers v1 benchmarks">
8
  <meta property="og:description" content="Tokenizers v1: SOTA">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  </head>
10
  <body data-embed="cache">
11
  <title>tokenizers v1 word cache</title>
 
1738
 
1739
  </script>
1740
 
1741
+ <style id="embed">
1742
+ :root, :root[data-theme="dark"]{
1743
+ --bg:#0b0f19; --ink:#c9ced8; --hi:#f3f4f6; --dim:#8b93a7;
1744
+ --rule:#1f2937; --ref:#4b5563;
1745
+ }
1746
+ @media (prefers-color-scheme:light){
1747
+ :root{ --bg:#ffffff; --ink:#374151; --hi:#111827; --dim:#6b7280;
1748
+ --rule:#e5e7eb; --ref:#9ca3af; }
1749
+ }
1750
+ :root[data-theme="light"]{
1751
+ --bg:#ffffff; --ink:#374151; --hi:#111827; --dim:#6b7280;
1752
+ --rule:#e5e7eb; --ref:#9ca3af;
1753
+ }
1754
+
1755
+ /* embed mode: the blog supplies the page, this supplies one figure */
1756
+ .wrap{max-width:none; margin:0}
1757
+ header, #rail{display:none !important}
1758
+ section{display:none !important; margin:0 !important}
1759
+ section > h2{display:none !important}
1760
+ body{padding:1.1rem 1.2rem}
1761
+ /* the page animates a hero field behind the masthead; nothing to animate here */
1762
+ #field{display:none !important}
1763
+
1764
+ section#cache{display:block !important}
1765
+ #cache > p:not(.note), #cache > .box{display:none !important}
1766
+ #a-cache{margin-top:0}
1767
+ </style>
1768
  </body>
1769
  </html>