Abhishek Thakur
use conf.json
527614c
|
raw
history blame
1.47 kB

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:

    .
    β”œβ”€β”€ 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:

    .
    β”œβ”€β”€ README.md
    β”œβ”€β”€ training files (folder/zip/csv)
    β”œβ”€β”€ test files (folder/zip/csv)
    β”œβ”€β”€ training labels
    β”œβ”€β”€ sample_submission.csv