File size: 1,474 Bytes
42bb50f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
527614c
42bb50f
 
 
 
 
 
527614c
42bb50f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# Competitions

Create a competition checklist:

- [ ] Create a space using https://huggingface.co/new-space
- [ ] Create a private dataset using https://huggingface.co/new-dataset
- [ ] Create a public dataset using https://huggingface.co/new-dataset
- [ ] Add the following secrets to the space:
  - `AUTOTRAIN_TOKEN`: the token of the user that will be used to create autotrain projects
  - `AUTOTRAIN_USERNAME`: the username of the user that will be used to create autotrain projects
  - `COMPETITION_ID`: Private dataset created previously, e.g.: `my_org/my_private_dataset`

- Private dataset structure:
    
    ```bash
    .
    β”œβ”€β”€ README.md
    β”œβ”€β”€ submission_info/
    β”œβ”€β”€ submissions/
    β”œβ”€β”€ conf.json
    β”œβ”€β”€ solution.csv
    β”œβ”€β”€ COMPETITION_DESC.md
    β”œβ”€β”€ SUBMISSION_DESC.md

    ````

- Example content for `conf.json`:

    ```
    {
        "SUBMISSION_LIMIT": 5,
        "SELECTION_LIMIT": 2,
        "END_DATE": "2022-11-23",
        "EVAL_HIGHER_IS_BETTER": 1,
        "DATASET": "abhishek/test_competition_dataset",
        "COMPETITION_NAME": "Shoes vs Boots vs Sandals",
        "SUBMISSION_COLUMNS": "id,target",
        "EVAL_METRIC": "accuracy_score"
    }
    ```

- Public dataset structure:
    
    ```bash
    .
    β”œβ”€β”€ README.md
    β”œβ”€β”€ training files (folder/zip/csv)
    β”œβ”€β”€ test files (folder/zip/csv)
    β”œβ”€β”€ training labels
    β”œβ”€β”€ sample_submission.csv

    ```