hSterz commited on
Commit
a5eb4ca
·
1 Parent(s): 523fe7b
Files changed (1) hide show
  1. src/about.py +16 -28
src/about.py CHANGED
@@ -53,7 +53,7 @@ NUM_FEWSHOT = 0 # Change with your few shot
53
 
54
 
55
  # Your leaderboard name
56
- TITLE = """<h1 align="center" id="space-title">Demo leaderboard</h1>"""
57
 
58
  # What does your leaderboard evaluate?
59
  INTRODUCTION_TEXT = """
@@ -70,33 +70,21 @@ To reproduce our results, here is the commands you can run:
70
  """
71
 
72
  EVALUATION_QUEUE_TEXT = """
73
- ## Some good practices before submitting a model
74
-
75
- ### 1) Make sure you can load your model and tokenizer using AutoClasses:
76
- ```python
77
- from transformers import AutoConfig, AutoModel, AutoTokenizer
78
- config = AutoConfig.from_pretrained("your model name", revision=revision)
79
- model = AutoModel.from_pretrained("your model name", revision=revision)
80
- tokenizer = AutoTokenizer.from_pretrained("your model name", revision=revision)
81
- ```
82
- If this step fails, follow the error messages to debug your model before submitting it. It's likely your model has been improperly uploaded.
83
-
84
- Note: make sure your model is public!
85
- Note: if your model needs `use_remote_code=True`, we do not support this option yet but we are working on adding it, stay posted!
86
-
87
- ### 2) Convert your model weights to [safetensors](https://huggingface.co/docs/safetensors/index)
88
- It's a new format for storing weights which is safer and faster to load and use. It will also allow us to add the number of parameters of your model to the `Extended Viewer`!
89
-
90
- ### 3) Make sure your model has an open license!
91
- This is a leaderboard for Open LLMs, and we'd love for as many people as possible to know they can use your model 🤗
92
-
93
- ### 4) Fill up your model card
94
- When we add extra information about models to the leaderboard, it will be automatically taken from the model card
95
-
96
- ## In case of model failure
97
- If your model is displayed in the `FAILED` category, its execution stopped.
98
- Make sure you have followed the above steps first.
99
- If everything is done, check you can launch the EleutherAIHarness on your model locally, using the above command without modifications (you can add `--limit` to limit the number of examples per task).
100
  """
101
 
102
  CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"
 
53
 
54
 
55
  # Your leaderboard name
56
+ TITLE = """<h1 align="center" id="space-title">DARE leaderboard</h1>"""
57
 
58
  # What does your leaderboard evaluate?
59
  INTRODUCTION_TEXT = """
 
70
  """
71
 
72
  EVALUATION_QUEUE_TEXT = """
73
+ ## Evaluation Queue
74
+
75
+ To add your model to the evaluation queue, please submit a file with your model predictions with the id and predicted options. The file should be in the following format:
76
+ ´´´
77
+ [
78
+ {"id": "0", "prediction": ["A"]},
79
+ {"id": "1", "prediction": ["B"]},
80
+ {"id": "2", "prediction": ["A", "C"]},
81
+ ...
82
+ ]´´´
83
+
84
+ Make sure to include the following information in your submission:
85
+ - Model name
86
+ - Output format
87
+ - Task version
 
 
 
 
 
 
 
 
 
 
 
 
88
  """
89
 
90
  CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"