|
| 1 | + |
| 2 | +[](https://discord.gg/yWurtB2huX) |
| 3 | + |
| 4 | +# Meta KDD Cup '24 [CRAG: Comprehensive RAG Benchmark](https://www.aicrowd.com/challenges/meta-comprehensive-rag-benchmark-kdd-cup-2024) Starter Kit |
| 5 | + |
| 6 | + |
| 7 | +This repository is the CRAG: Comphrensive RAG Benchmark **Submission template and Starter kit**! Clone the repository to compete now! |
| 8 | + |
| 9 | +**This repository contains**: |
| 10 | +* **Documentation** on how to submit your models to the leaderboard |
| 11 | +* **The procedure** for best practices and information on how we evaluate your model, etc. |
| 12 | +* **Starter code** for you to get started! |
| 13 | + |
| 14 | +# Table of Contents |
| 15 | + |
| 16 | +1. [Competition Overview](#-competition-overview) |
| 17 | +2. [Dataset](#-dataset) |
| 18 | +3. [Tasks](#-tasks) |
| 19 | +4. [Evaluation Metrics](#-evaluation-metrics) |
| 20 | +5. [Getting Started](#-getting-started) |
| 21 | + - [How to write your own model?](#️-how-to-write-your-own-model) |
| 22 | + - [How to start participating?](#-how-to-start-participating) |
| 23 | + - [Setup](#setup) |
| 24 | + - [How to make a submission?](#-how-to-make-a-submission) |
| 25 | + - [What hardware does my code run on?](#-what-hardware-does-my-code-run-on-) |
| 26 | + - [How are my model responses parsed by the evaluators?](#-how-are-my-model-responses-parsed-by-the-evaluators-) |
| 27 | + - [Baselines](#baselines) |
| 28 | +6. [Frequently Asked Questions](#-frequently-asked-questions) |
| 29 | +6. [Important Links](#-important-links) |
| 30 | + |
| 31 | + |
| 32 | +# 📖 Competition Overview |
| 33 | + |
| 34 | + |
| 35 | +# 📊 Dataset |
| 36 | + |
| 37 | +Please find more details about the dataset in [docs/dataset.md](docs/dataset.md). |
| 38 | + |
| 39 | +# 👨💻👩💻 Tasks |
| 40 | + |
| 41 | + |
| 42 | +## 📏 Evaluation Metrics |
| 43 | + |
| 44 | + |
| 45 | +Please refer to [local_evaluation.py](local_evaluation.py) for more details on how we will evaluate your submissions. |
| 46 | + |
| 47 | +# 🏁 Getting Started |
| 48 | +1. **Sign up** to join the competition [on the AIcrowd website](https://www.aicrowd.com/challenges/meta-comprehensive-rag-benchmark-kdd-cup-2024). |
| 49 | +2. **Fork** this starter kit repository. You can use [this link](https://gitlab.aicrowd.com/aicrowd/challenges/meta-comprehensive-rag-benchmark-kdd-cup-2024/meta-comphrehensive-rag-benchmark-starter-kit/-/forks/new) to create a fork. |
| 50 | +3. **Clone** your forked repo and start developing your model. |
| 51 | +4. **Develop** your model(s) following the template in [how to write your own model](#how-to-write-your-own-model) section. |
| 52 | +5. [**Submit**](#-how-to-make-a-submission) your trained models to [AIcrowd Gitlab](https://gitlab.aicrowd.com) for evaluation [(full instructions below)](#-how-to-make-a-submission). The automated evaluation will evaluate the submissions on the public test set and report the metrics on the leaderboard of the competition. |
| 53 | + |
| 54 | +# ✍️ How to write your own model? |
| 55 | + |
| 56 | +Please follow the instructions in [models/README.md](models/README.md) for instructions and examples on how to write your own models for this competition. |
| 57 | + |
| 58 | +# 🚴 How to start participating? |
| 59 | + |
| 60 | +## Setup |
| 61 | + |
| 62 | +1. **Add your SSH key** to AIcrowd GitLab |
| 63 | + |
| 64 | +You can add your SSH Keys to your GitLab account by going to your profile settings [here](https://gitlab.aicrowd.com/-/profile/keys). If you do not have SSH Keys, you will first need to [generate one](https://docs.gitlab.com/ee/user/ssh.html). |
| 65 | + |
| 66 | + |
| 67 | +2. **Fork the repository**. You can use [this link](https://gitlab.aicrowd.com/aicrowd/challenges/meta-comprehensive-rag-benchmark-kdd-cup-2024/meta-comphrehensive-rag-benchmark-starter-kit/-/forks/new) to create a fork. |
| 68 | + |
| 69 | +3. **Clone the repository** |
| 70 | + |
| 71 | + ```bash |
| 72 | + git clone [email protected]: <YOUR-AICROWD-USERNAME >/meta-comphrehensive-rag-benchmark-starter-kit.git |
| 73 | + cd meta-comphrehensive-rag-benchmark-starter-kit |
| 74 | + ``` |
| 75 | + |
| 76 | +4. **Install** competition specific dependencies! |
| 77 | + ```bash |
| 78 | + cd meta-comphrehensive-rag-benchmark-starter-kit |
| 79 | + pip install -r requirements.txt |
| 80 | + ``` |
| 81 | + |
| 82 | +5. Write your own model as described in [How to write your own model](#how-to-write-your-own-model) section. |
| 83 | + |
| 84 | +6. Test your model locally using `python local_evaluation.py`. |
| 85 | + |
| 86 | +7. Accept the Challenge Rules on the main [challenge page](https://www.aicrowd.com/challenges/meta-comprehensive-rag-benchmark-kdd-cup-2024) by clicking on the **Participate** button. Also accept the Challenge Rules on the Task specific page (link on the challenge page) that you want to submit to. |
| 87 | + |
| 88 | +8. Make a submission as described in [How to make a submission](#-how-to-make-a-submission) section. |
| 89 | + |
| 90 | +# ✍️ How to write your own model? |
| 91 | + |
| 92 | +Please follow the instructions in [models/README.md](models/README.md) for instructions and examples on how to write your own models for this competition. |
| 93 | + |
| 94 | + |
| 95 | +## 📮 How to make a submission? |
| 96 | + |
| 97 | +Please follow the instructions in [docs/submission.md](docs/submission.md) to make your first submission. |
| 98 | +This also includes instructions on [specifying your software runtime](docs/submission.md#specifying-software-runtime-and-dependencies), [code structure](docs/submission.md#code-structure-guidelines), [submitting to different tracks](docs/submission.md#submitting-to-different-tracks). |
| 99 | + |
| 100 | +**Note**: **Remember to accept the Challenge Rules** on the challenge page, **and** the task page before making your first submission. |
| 101 | + |
| 102 | +## 💻 What hardware does my code run on ? |
| 103 | +You can find more details about the hardware and system configuration in [docs/hardware-and-system-config.md](docs/hardware-and-system-config.md). |
| 104 | +In summary, we provide you `4` x [[NVIDIA T4 GPUs](https://www.nvidia.com/en-us/data-center/tesla-t4/)]. |
| 105 | + |
| 106 | +## 🏁 Baseline |
| 107 | +We include three baselines for demonstration purposes, and you can read more abou them in [docs/baselines.md](docs/baselines.md). |
| 108 | + |
| 109 | +# ❓ Frequently Asked Questions |
| 110 | +## Which track is this starter kit for ? |
| 111 | +This starter kit can be used to submit to any of the tracks. You can find more information in [docs/submission.md#submitting-to-different-tracks](docs/submission.md#submitting-to-different-tracks). |
| 112 | + |
| 113 | +## Where can I know more about the dataset schema ? |
| 114 | +The dataset schema is described in [docs/dataset.md](docs/dataset.md). |
| 115 | + |
| 116 | +If you want to use Croissant to view the data, please use [docs/croissant.json](docs/croissant.json). |
| 117 | + |
| 118 | +**Best of Luck** :tada: :tada: |
| 119 | + |
| 120 | +# 📎 Important links |
| 121 | + |
| 122 | +- 💪 Challenge Page: https://www.aicrowd.com/challenges/meta-comprehensive-rag-benchmark-kdd-cup-2024 |
| 123 | +- 🗣 Discussion Forum: https://www.aicrowd.com/challenges/meta-comprehensive-rag-benchmark-kdd-cup-2024/discussion |
| 124 | +- 🏆 Leaderboard: https://www.aicrowd.com/challenges/meta-comprehensive-rag-benchmark-kdd-cup-2024/leaderboards |
0 commit comments