Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
177 changes: 90 additions & 87 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,93 +11,96 @@ export default function Home() {
current="January 25, 2023"
nextText="Jan 26, 2023"
/>
<CardGrid
heading={
<h1>
10 Most <br />
<span>Popular</span> Models
</h1>
}
cards={[
{
icon: "/models/mistral.webp",
modelAuthor: "stabilityai",
modelName: "japanese-stablelm-instruct-alpha-7b",
externalLink: "https://huggingface.co/mistralai/Mistral-7B-v0.1",
},
{
icon: "/models/mistral.webp",
modelAuthor: "mistralai",
modelName: "Mistral-7B-v0.1",
externalLink: "https://huggingface.co/mistralai/Mistral-7B-v0.1",
},
{
icon: "/models/mistral.webp",
modelAuthor: "mistralai",
modelName: "Mistral-7B-v0.1",
externalLink: "https://huggingface.co/mistralai/Mistral-7B-v0.1",
},
{
icon: "/models/mistral.webp",
modelAuthor: "mistralai",
modelName: "Mistral-7B-v0.1",
externalLink: "https://huggingface.co/mistralai/Mistral-7B-v0.1",
},
{
icon: "/models/mistral.webp",
modelAuthor: "mistralai",
modelName: "Mistral-7B-v0.1",
externalLink: "https://huggingface.co/mistralai/Mistral-7B-v0.1",
},
{
icon: "/models/mistral.webp",
modelAuthor: "mistralai",
modelName: "Mistral-7B-v0.1",
externalLink: "https://huggingface.co/mistralai/Mistral-7B-v0.1",
},
{
icon: "/models/mistral.webp",
modelAuthor: "mistralai",
modelName: "Mistral-7B-v0.1",
externalLink: "https://huggingface.co/mistralai/Mistral-7B-v0.1",
},
{
icon: "/models/mistral.webp",
modelAuthor: "mistralai",
modelName: "Mistral-7B-v0.1",
externalLink: "https://huggingface.co/mistralai/Mistral-7B-v0.1",
},
{
icon: "/models/mistral.webp",
modelAuthor: "mistralai",
modelName: "Mistral-7B-v0.1",
externalLink: "https://huggingface.co/mistralai/Mistral-7B-v0.1",
},
{
icon: "/models/mistral.webp",
modelAuthor: "mistralai",
modelName: "Mistral-7B-v0.1",
externalLink: "https://huggingface.co/mistralai/Mistral-7B-v0.1",
},
]}
/>
<Switchback
leftContent={
<h2 className="heading">
<span>45,515</span> text gen
<br /> models existed
</h2>
}
rightContent={
<p>
We like to say that in AI, a week is a month and a month is a year,
and the "latest and greatest model" changes just as quickly. We
tracked the most popular text-gen models starting in January 2023 to
highlight the rapid rate of change in the AI industry. Click through
time to see how quickly the state-of-the-art changes.
</p>
}
/>
<div className="page-content">
<CardGrid
heading={
<h1>
10 Most <br />
<span>Popular</span> Models
</h1>
}
cards={[
{
icon: "/models/mistral.webp",
modelAuthor: "stabilityai",
modelName: "japanese-stablelm-instruct-alpha-7b",
externalLink: "https://huggingface.co/mistralai/Mistral-7B-v0.1",
},
{
icon: "/models/mistral.webp",
modelAuthor: "mistralai",
modelName: "Mistral-7B-v0.1",
externalLink: "https://huggingface.co/mistralai/Mistral-7B-v0.1",
},
{
icon: "/models/mistral.webp",
modelAuthor: "mistralai",
modelName: "Mistral-7B-v0.1",
externalLink: "https://huggingface.co/mistralai/Mistral-7B-v0.1",
},
{
icon: "/models/mistral.webp",
modelAuthor: "mistralai",
modelName: "Mistral-7B-v0.1",
externalLink: "https://huggingface.co/mistralai/Mistral-7B-v0.1",
},
{
icon: "/models/mistral.webp",
modelAuthor: "mistralai",
modelName: "Mistral-7B-v0.1",
externalLink: "https://huggingface.co/mistralai/Mistral-7B-v0.1",
},
{
icon: "/models/mistral.webp",
modelAuthor: "mistralai",
modelName: "Mistral-7B-v0.1",
externalLink: "https://huggingface.co/mistralai/Mistral-7B-v0.1",
},
{
icon: "/models/mistral.webp",
modelAuthor: "mistralai",
modelName: "Mistral-7B-v0.1",
externalLink: "https://huggingface.co/mistralai/Mistral-7B-v0.1",
},
{
icon: "/models/mistral.webp",
modelAuthor: "mistralai",
modelName: "Mistral-7B-v0.1",
externalLink: "https://huggingface.co/mistralai/Mistral-7B-v0.1",
},
{
icon: "/models/mistral.webp",
modelAuthor: "mistralai",
modelName: "Mistral-7B-v0.1",
externalLink: "https://huggingface.co/mistralai/Mistral-7B-v0.1",
},
{
icon: "/models/mistral.webp",
modelAuthor: "mistralai",
modelName: "Mistral-7B-v0.1",
externalLink: "https://huggingface.co/mistralai/Mistral-7B-v0.1",
},
]}
/>
<Switchback
leftContent={
<h2 className="heading">
<span>45,515</span> text gen
<br /> models existed
</h2>
}
rightContent={
<p>
We like to say that in AI, a week is a month and a month is a
year, and the "latest and greatest model" changes just as quickly.
We tracked the most popular text-gen models starting in January
2023 to highlight the rapid rate of change in the AI industry.
Click through time to see how quickly the state-of-the-art
changes.
</p>
}
/>
</div>
</main>
);
}
29 changes: 10 additions & 19 deletions src/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,43 +1,34 @@
import Image from "next/image";

const Footer = () => {
return (
<footer>
<div className="container m-auto">
<p className="credit">
Data sourced from{" "}
<a href="https://huggingface.co/" target="_blank">
HuggingFace
</a>
</p>
<nav>
<ul>
<li className="with-icon">
<li>
<a
href="https://github.com/octoml/octoai-apps/tree/main/examples/smartflakes/nextjs"
href="https://octo.ai/?utm_source=llmtimecapsule"
target="_blank"
>
<Image
src="/icons/github.svg"
alt="Github Icon"
width="18"
height="18"
/>
View on Github
</a>
</li>
</ul>
<ul>
<li>
<a href="https://octo.ai/?utm_source=smartflakes" target="_blank">
Powered by OctoAI
</a>
</li>
<li>
<a
href="https://octo.ai/legals/privacy-policy/?utm_source=smartflakes"
href="https://octo.ai/legals/privacy-policy/?utm_source=llmtimecapsule"
target="_blank"
>
Privacy Policy
</a>
</li>
<li>
<a
href="https://octo.ai/legals/terms-of-use/?utm_source=smartflakes"
href="https://octo.ai/legals/terms-of-use/?utm_source=llmtimecapsule"
target="_blank"
>
Terms of Use
Expand Down
2 changes: 1 addition & 1 deletion src/styles/components/card-grid.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.card-grid {
.heading {
@apply text-lg text-center mb-8 sm:text-[2.75rem] sm:mb-11 transition-font-size;
@apply text-lg text-center mb-8 sm:text-[2.75rem] sm:mb-11 transition-font-size md:mb-12 mt-2;

br {
@apply xs:hidden;
Expand Down
6 changes: 6 additions & 0 deletions src/styles/components/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ footer {
.container {
@apply m-auto;
}
.credit {
@apply mb-4;
a {
@apply text-gray-600 hover:underline dark:text-gray-400;
}
}
nav,
nav ul {
@apply flex flex-col;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/components/switchback.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.switchback {
@apply flex flex-col gap-3 mt-8 m-auto max-w-lg md:flex-row md:gap-6 md:max-w-screen-lg md:px-6;
@apply flex flex-col gap-3 mt-8 m-auto max-w-lg md:flex-row md:gap-6 md:mt-16 md:max-w-screen-lg md:px-6;
& > div {
@apply w-full;
}
Expand Down
5 changes: 4 additions & 1 deletion src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ main.container {
}
}
&.wide {
@apply max-w-[1328px] px-8 xl:px-16;
@apply max-w-[1328px] px-8 xl:px-16 flex-grow;
}
.page-content {
@apply my-auto;
}
}

Expand Down