NOTE: Competition repo must always be kept private. Do NOT make it public!
The competition repo consists of the following files:
├── COMPETITION_DESC.md
├── conf.json
├── DATASET_DESC.md
├── solution.csv
├── SUBMISSION_DESC.md
├── submission_info
│ └── *.json
├── submissions
│ └── *.csv
├── teams.json
└── user_team.json
This file contains the description of the competition. It is a markdown file. You can use the markdown syntax to format the text and modify the file according to your needs. Competition description is shown on the front page of the competition.
This file contains the description of the dataset. It is again a markdown file. This file is used to describe the dataset and is shown on the dataset page. In this file you can mention which columns are present in the dataset, what is the meaning of each column, what is the format of the dataset, etc.
conf.json is the configuration file for the competition. An example conf.json is shown below:
{
"COMPETITION_TYPE":"generic",
"SUBMISSION_LIMIT":5,
"TIME_LIMIT": 10,
"HARDWARE":"cpu-basic",
"SELECTION_LIMIT":10,
"END_DATE":"2024-05-25",
"EVAL_HIGHER_IS_BETTER":1,
"SUBMISSION_ID_COLUMN":"id",
"SUBMISSION_COLUMNS":"id,pred",
"SUBMISSION_ROWS":10000,
"EVAL_METRIC":"roc_auc_score",
"LOGO":"https://github.com/abhishekkrthakur/public_images/blob/main/song.png?raw=true",
"DATASET": "",
"SUBMISSION_FILENAMES": ["submission.csv"]
"SCORING_METRIC": "roc_auc_score"
}
This file is created when you create a new competition. You can modify this file according to your needs. However, we do not recommend changing the evaluation metric field once the competition has started as it would require you to re-evaluate all the submissions.
generic
and script
.generic
competition is a competition where the users can submit a csv file (or a different format) and the submissions are evaluated using a metric.script
competition is a competition where the users can submit a huggingface model repo containing a script.py. The script.py is run to generate submission.csv which is then evaluated using a metric.script
competitions)script
competitions)This file contains the solution for the competition. It is a csv file. A sample is shown below:
id,pred,split
0,1,public
1,0,private
2,0,private
3,1,private
4,0,public
5,1,private
6,1,public
7,1,private
8,0,public
9,0,private
10,0,private
11,0,private
12,1,private
13,0,private
14,1,public
The solution file is used to evaluate the submissions. The solution file must always have an id column and a split column.
The split column is used to split the solution into public and private parts. The split column can have two values: public
and private
.
You can have multiple columns in the solution file. However, the evaluation metric must support multiple columns.
For example, if the evaluation metric is roc_auc_score
then the solution file must have two columns: id
and pred
.
The names of id and pred columns can be anything. The names will be grabbed from the conf.json
file.
Please make sure you have appropriate column names in the conf.json
file and that you have both public and private splits in the solution file.
This file contains the description of the submission. It is a markdown file. You can use the markdown syntax to format the text and modify the file according to your needs. Submission description is shown on the submission page.
Here you can mention the format of the submission file, what columns are required in the submission file, etc.
For the example solution file shown above, the submission file must have two columns: id
and pred
.
An example of sample_submission.csv is shown below:
id,pred
0,0.6
1,0.1
2,0.5
3,1.6
4,0.8
5,1
6,1
7,1
8,0
9,0
10,0.1
11,0.4
12,1.9
13,0.01
14,1.1
When a user submits a submission file, the system will check if the submission file has the required columns. If the submission file does not have the required columns, the submission will be rejected.
It is the responsibility of the organzier to make sure they provide a sample submission file in correct format and a submission description file.
This folder contains the submission info files. Each submission info file contains the information about a submission. This folder is created when a first submission is made. The submission info files are json files.
This folder contains the submissions made by the users. Each submission is a csv file (or a different format). This folder is created when a first submission is made.
The other files teams.json and user_team.json are used to store the information about the teams.