Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Weyaxi/scrape-open-llm-leaderboard
Scrape and export data from the Open LLM Leaderboard.
https://github.com/Weyaxi/scrape-open-llm-leaderboard
Last synced: 3 months ago
JSON representation
Scrape and export data from the Open LLM Leaderboard.
- Host: GitHub
- URL: https://github.com/Weyaxi/scrape-open-llm-leaderboard
- Owner: Weyaxi
- License: mit
- Created: 2023-09-12T05:43:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-28T18:36:06.000Z (8 months ago)
- Last Synced: 2024-08-01T08:18:24.126Z (6 months ago)
- Language: Python
- Homepage:
- Size: 32.2 KB
- Stars: 37
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - Weyaxi/scrape-open-llm-leaderboard - Scrape and export data from the Open LLM Leaderboard. (Python)
- awesome-foundation-model-leaderboards - Open LLM Leaderboard Scraper
README
# Open LLM Leaderboard Scraper
The Open LLM Leaderboard Scraper is a Python script that allows you to scrape and export data from the Open LLM Leaderboard.
## Table of Contents
- [Introduction](#open-llm-leaderboard-scraper)
- [Prerequisites](#prerequisites)
- [Usage](#usage)
- [Export Options](#export-options)
- [Output Files](#output-files)
## PrerequisitesBefore using the scraper, ensure you have the following prerequisites installed:
- Python 3.x
- Required Python packages# Usage
To use the Open LLM Leaderboard Scraper, follow these steps:1. Clone the repository or download the script (main.py) to your local machine.
```bash
git clone https://github.com/Weyaxi/scrape-open-llm-leaderboard
```
2. Open a terminal or command prompt and navigate to the script's directory.
```bash
cd scrape-open-llm-leaderboard
```3. Install the required packages using this command:
```bash
pip3 install -r requirements.txt
```4. Run the script using the following command:
```bash
python3 main.py [options]
```# Export Options
The script supports three export options:
- `-csv`: Export data to a CSV file.
- `-html`: Export data to an HTML file.
- `-json`: Export data to a JSON file.You can use these options to specify the desired export format(s). For example, to export data in both CSV and HTML formats, run the following command:
```bash
python3 main.py -csv -html
```If no export options are provided, the script will default to exporting data in CSV format.
# Output Files
The scraper will generate one or more output files based on the export options selected. The output files will be named as follows:
- `open-llm-leaderboard.csv`: Contains the scraped data in CSV format.
- `open-llm-leaderboard.html`: Contains the scraped data in HTML format.
- `open-llm-leaderboard.json`: Contains the scraped data in JSON format.You can find these files in the same directory where you run the script.
# Contributors
Special thanks to the following individuals who have contributed to this project:
- [itsuka-dev](https://github.com/itsuka-dev)
- [IlyasMoutawwakil](https://github.com/IlyasMoutawwakil)