Skip to content

Commit

Permalink
Add meta tags, update contributor guidelines on duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
IroncladDev committed Feb 21, 2024
1 parent 2fb5cc9 commit 75962ef
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/about/sections/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function Header({
`transparent ${20 + p * 20}%`
),
gr.radial(
`circle at 50% ${110 - 90 * p}%`,
`circle at 50% ${100 - 90 * p}%`,
tokens.colors.red[500] + "55",
tokens.colors.red[500] + "25 30%",
"transparent 70%",
Expand Down
38 changes: 38 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,44 @@ export default async function RootLayout({

return (
<html lang="en">
<head>
<meta property="og:title" content="AI to AI" />
<meta name="twitter:title" content="AI to AI" />
<meta property="og:site_name" content="AI to AI" />

<meta name="robots" content="max-image-preview:large" />
<meta
name="copyright"
content="Copyright 2024 IroncladDev. All rights reserved."
/>

<meta
property="og:description"
content="Create beautiful side-by-side LLM Comparisons."
/>
<meta
name="description"
content="Create beautiful side-by-side LLM Comparisons."
/>
<meta
name="twitter:description"
content="Create beautiful side-by-side LLM Comparisons."
/>

<meta property="og:image" content="https://ai-to.ai/cover.png" />
<meta name="twitter:image" content="https://ai-to.ai/cover.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="1500" />
<meta property="og:image:height" content="850" />
<meta name="twitter:card" content="summary_large_image" />

<meta property="og:url" content="https://ai-to.ai" />
<meta name="twitter:url" content="https://ai-to.ai" />

<meta property="og:type" content="website" />

<meta name="twitter:creator" content="@IroncladDev" />
</head>
<body className={inter.className}>
<QueryClientProvider>
<SessionProvider session={session}>
Expand Down
12 changes: 12 additions & 0 deletions docs/contributor-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,18 @@ Values **must** be numeric and expressed as a percentage (e.g. `0.85`, `85%`). I
- If a benchmark has a note attached to it (e.g. 0-shot), you must apply the note to the metadata field
- Notes should **not** be used to describe a metadata field

##### Duplicate Fields

Occasionally, a single benchmark is evaluated multiple times with slightly different conditions. Duplicate metadata fields can be used, each with a different note.

Example: An LLM is evaluated on `HumanEval` with a different programming language each time, the same key `humaneval_benchmark` is used multiple times, but each with a different note.

| Key | Note | Type | Value |
| ------------------- | ---------- | ------ | ----- |
| humaneval_benchmark | Python | Number | 76.5% |
| humaneval_benchmark | JavaScript | Number | 74.7% |
| humaneval_benchmark | Rust | Number | 62% |

#### Recommended Fields

The following fields are recommended for all uploaded LLMs, if applicable.
Expand Down
Binary file added public/images/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
User-agent: Twitterbot
Disallow:

User-agent: *
Disallow: /

0 comments on commit 75962ef

Please sign in to comment.