File size: 1,868 Bytes
ebdfd67
81e0b0c
ebdfd67
 
49fc984
 
 
 
 
 
 
 
 
 
4456219
 
49fc984
 
 
8e3f969
4456219
8e3f969
 
259cd68
8e3f969
 
 
49fc984
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81e0b0c
a86c1f9
 
 
 
 
 
81e0b0c
 
69523a3
81e0b0c
 
 
 
 
 
 
49fc984
ebdfd67
49fc984
 
ebdfd67
 
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
import React from "react";
import { Box, Typography, Link } from "@mui/material";
import HFLogo from "./Logo/HFLogo";

const Intro = () => {
  const handleLogoClick = () => {
    window.history.replaceState(null, "", "/");
    window.location.reload();
  };

  return (
    <Box sx={{ textAlign: "center", mb: 4 }}>
      <Box
        sx={{
          width: "200px",
          height: "100px",
          display: "flex",
          justifyContent: "center",
          cursor: "pointer",
          margin: "0 auto",
          mb: 0,
          opacity: 0.9,
          transition: "opacity 0.3s ease",
          transform: "translateX(10px)",
          "&:hover": {
            opacity: 1,
          },
        }}
        onClick={handleLogoClick}
      >
        <HFLogo />
      </Box>
      <Typography
        variant="h4"
        component="h1"
        gutterBottom
        sx={{ fontWeight: 800 }}
      >
        Yourbench Demo
      </Typography>
      <Typography variant="body1" sx={{ maxWidth: "800px", mx: "auto" }}>
        YourBench is an <b>open-source framework</b> for generating{" "}
        <b>domain-specific benchmarks</b> in a <b>zero-shot</b> manner. It aims
        to keep your large language models on their toes—even as new data
        sources, domains, and knowledge demands evolve.
      </Typography>
      <Typography
        variant="body2"
        sx={{ maxWidth: "800px", mx: "auto", mt: 2, opacity: 0.4 }}
      >
        Currently, this is an <b>extremely minimal demo</b>. <br />
        To <b>unlock the full capabilities</b>, please visit our{" "}
        <Link
          href="https://github.com/huggingface/yourbench"
          target="_blank"
          rel="noopener noreferrer"
          color="inherit"
        >
          <b>GitHub</b>
        </Link>
        !
      </Typography>
    </Box>
  );
};

export default Intro;