File size: 2,290 Bytes
509e21e
 
 
3a12290
8058fce
509e21e
 
dbdd6d1
 
 
 
 
 
509e21e
dbdd6d1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35729f5
 
 
 
 
dbdd6d1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
509e21e
 
 
 
 
 
 
 
a328136
509e21e
 
3a12290
8058fce
3a12290
 
509e21e
 
 
 
 
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
import type React from "react"
import type { Metadata } from "next"
import "./globals.css"
import { AudienceModeProvider } from "@/components/audience-mode-provider"
import { BackendRefreshListener } from "@/components/backend-refresh-listener"
import { ThemeProvider } from "@/components/theme-provider"

const SITE_URL = "https://evalcards.evalevalai.com"
const SITE_NAME = "Eval Cards"
const SITE_TITLE = "Eval Cards — a reporting layer for AI evaluations"
const SITE_DESCRIPTION =
  "A public registry of reported model–benchmark results, organised under a six-level rollout hierarchy and four interpretive signals: reproducibility, completeness, provenance, and comparability."

export const metadata: Metadata = {
  metadataBase: new URL(SITE_URL),
  title: {
    default: SITE_TITLE,
    template: "%s · Eval Cards",
  },
  description: SITE_DESCRIPTION,
  applicationName: SITE_NAME,
  keywords: [
    "AI evaluation",
    "benchmark",
    "model card",
    "reproducibility",
    "EvalEval",
    "Hugging Face",
    "LLM benchmarks",
    "evaluation cards",
  ],
  authors: [{ name: "EvalEval Coalition", url: "https://evalevalai.com" }],
  creator: "EvalEval Coalition",
  publisher: "EvalEval Coalition",
  icons: {
    icon: "https://evalevalai.com/assets/img/logo-square.png",
    shortcut: "https://evalevalai.com/assets/img/logo-square.png",
    apple: "https://evalevalai.com/assets/img/logo-square.png",
  },
  openGraph: {
    type: "website",
    siteName: SITE_NAME,
    title: SITE_TITLE,
    description: SITE_DESCRIPTION,
    url: SITE_URL,
    locale: "en_US",
  },
  twitter: {
    card: "summary_large_image",
    title: SITE_TITLE,
    description: SITE_DESCRIPTION,
    creator: "@huggingface",
  },
  robots: {
    index: true,
    follow: true,
  },
}

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode
}>) {
  return (
    <html lang="en" className="antialiased" suppressHydrationWarning>
      <body className="font-sans">
        <ThemeProvider attribute="class" defaultTheme="system" enableSystem disableTransitionOnChange>
          <AudienceModeProvider>
            <BackendRefreshListener />
            {children}
          </AudienceModeProvider>
        </ThemeProvider>
      </body>
    </html>
  )
}