Skip to content

Latest commit

Β 

History

History
85 lines (65 loc) Β· 2.19 KB

File metadata and controls

85 lines (65 loc) Β· 2.19 KB
# AI Model Benchmark Viewer A modern web application for comparing performance metrics of various AI models. Built with Next.js, TypeScript, and Tailwind CSS. ## Features - πŸ“Š Interactive table and chart views of model performance - πŸ§ͺ Multiple benchmark metrics (TruthfulQA, MT Bench, etc.) - πŸ“ˆ Sortable and filterable data - 🎨 Modern, responsive UI with Tailwind CSS - πŸ“± Mobile-friendly design ## Getting Started ### Prerequisites - Node.js 18.x or later - npm or yarn ### Installation 1. Clone the repository: ```bash git clone https://github.com/yourusername/ai-model-comparator.git cd ai-model-comparator ``` 2. Install dependencies: ```bash npm install # or yarn install ``` 3. Create a `.env.local` file in the root directory and add any required API keys: ```env NEXT_PUBLIC_HUGGINGFACE_API_KEY=your_key_here ``` 4. Start the development server: ```bash npm run dev # or yarn dev ``` 5. Open [http://localhost:3000](http://localhost:3000) in your browser. ## Project Structure ``` ai-model-comparator/ β”œβ”€β”€ app/ # Next.js app directory β”‚ β”œβ”€β”€ layout.tsx # Root layout β”‚ β”œβ”€β”€ page.tsx # Home page β”‚ └── api/ # API routes β”œβ”€β”€ components/ # React components β”‚ β”œβ”€β”€ ModelTable.tsx # Table view β”‚ β”œβ”€β”€ ModelChart.tsx # Chart view β”‚ β”œβ”€β”€ BenchmarkTabs.tsx # View switcher β”‚ └── Header.tsx # Navigation header β”œβ”€β”€ lib/ # Utility functions β”œβ”€β”€ styles/ # Global styles └── public/ # Static assets ``` ## Contributing 1. Fork the repository 2. Create your feature branch (`git checkout -b feature/amazing-feature`) 3. Commit your changes (`git commit -m 'Add some amazing feature'`) 4. Push to the branch (`git push origin feature/amazing-feature`) 5. Open a Pull Request ## License This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. ## Acknowledgments - Data sources: Hugging Face, PapersWithCode, OpenCompass - Icons: Heroicons - Charts: Recharts # xobot