Skip to content

Commit

Permalink
Merge pull request #3 from fixie-ai:juberti/text
Browse files Browse the repository at this point in the history
Fix colors and other tweaks
  • Loading branch information
juberti authored Apr 19, 2024
2 parents 113be05 + 539b876 commit 415f689
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions website/src/components/DataGrid.astro
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ Astro.response.headers.set('Cache-Control', 'no-cache');
</div>
</div>
<div class="mt-10 mb-4 text-left flex flex-col">
<div>TTFT: Time To First Token</div>
<div>TPS: Tokens Per Second</div>
<div>Total Time: From request to final token</div>
<div><span class="font-bold">TTFT:</span> Time To First Token</div>
<div><span class="font-bold">TPS: </span>Tokens Per Second</div>
<div><span class="font-bold">Total Time: </span>From request to final token</div>
</div>
</div>

Expand All @@ -52,8 +52,8 @@ Astro.response.headers.set('Cache-Control', 'no-cache');
<div class="mt-4 flex flex-row justify-between text-sm items-center">
<div>
<p class="inline-flex">
<div class="inline-flex items-center"><span class="text-center rounded-md bg-green-500 px-2 py-1 text-sm ring-1 ring-inset ring-gray-500/10 w-14">Green</span><span>&nbsp;= best.</span></div>
<div class="inline-flex items-center"><span class="text-center rounded-md bg-red-500 px-2 py-1 text-sm ring-1 ring-inset ring-gray-500/10 w-14">Red</span><span>&nbsp;= worst.</span></div>
<div class="inline-flex items-center"><span class="text-center rounded-md bg-green-500 px-2 py-1 text-sm ring-1 ring-inset ring-gray-500/10 w-14">Green</span><span>&nbsp;= fastest,</span></div>
<div class="inline-flex items-center"><span class="text-center rounded-md bg-red-500 px-2 py-1 text-sm ring-1 ring-inset ring-gray-500/10 w-14">Red</span><span>&nbsp;= slowest.</span></div>
</p>
</div>
<div id="lastUpdated" class=" font-mono italic text-right"></div>
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/Hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Section from './Section.astro';
---

<Section>
<p>Human conversations are fast, typically<a href="https://www.semanticscholar.org/paper/Turn-taking-in-Human-Communication-%E2%80%93-Origins-and-Levinson/aa8b57bcfac5577b26d2b3a422a2378a7496f257/figure/0">around 200ms</a> between turns, and we think LLMs should be just as quick. This site provides reliable measurements for the performance of top models. Stats are updated daily.</p>
<p>Human conversations are fast, typically <a class="underline hover:text-orange-600" href="https://www.semanticscholar.org/paper/Turn-taking-in-Human-Communication-%E2%80%93-Origins-and-Levinson/aa8b57bcfac5577b26d2b3a422a2378a7496f257/figure/0">around 200ms</a> between turns, and we think LLMs should be just as quick. This site provides reliable measurements for the performance of top models. Stats are updated daily.</p>
<p class="mt-4"><a class="underline hover:text-orange-600" href="#definitions">Definitions</a>, <a class="underline hover:text-orange-600" href="#methodology">methodology</a>, and links to <a class="underline hover:text-orange-600" href="#source">source</a> below.</p>

<br />
Expand Down
8 changes: 4 additions & 4 deletions website/src/utils/DataGridDefinitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ interface ValueFormatterParam {
}

export const WorstColor = {
rgb: "239 68 68",
hex: "#EF4444",
rgb: "185 246 206",
hex: "#B9F6CE",
};

export const BestColor = {
rgb: "34 197 94",
hex: "#22C55E",
rgb: "253 201 201",
hex: "#FDC9C9",
};


Expand Down

0 comments on commit 415f689

Please sign in to comment.