TemryL commited on
Commit
0f70ea4
·
1 Parent(s): dc76901

mask wip tab

Browse files
Files changed (2) hide show
  1. app.py +4 -2
  2. src/about.py +4 -4
app.py CHANGED
@@ -320,7 +320,8 @@ with demo:
320
  leaderboard_table,
321
  queue=True,
322
  )
323
-
 
324
  with gr.TabItem("📈 ROC/PR Curves", elem_id="llm-benchmark-tab-table", id=2):
325
  with gr.Row():
326
  with gr.Column():
@@ -345,7 +346,8 @@ with demo:
345
 
346
  with gr.TabItem("📝 About", elem_id="llm-benchmark-tab-table", id=3):
347
  gr.Markdown(LLM_BENCHMARKS_TEXT, elem_classes="markdown-text")
348
-
 
349
  with gr.TabItem("🚀 Submit here! ", elem_id="llm-benchmark-tab-table", id=4):
350
  with gr.Column():
351
  with gr.Row():
 
320
  leaderboard_table,
321
  queue=True,
322
  )
323
+
324
+ """
325
  with gr.TabItem("📈 ROC/PR Curves", elem_id="llm-benchmark-tab-table", id=2):
326
  with gr.Row():
327
  with gr.Column():
 
346
 
347
  with gr.TabItem("📝 About", elem_id="llm-benchmark-tab-table", id=3):
348
  gr.Markdown(LLM_BENCHMARKS_TEXT, elem_classes="markdown-text")
349
+ """
350
+
351
  with gr.TabItem("🚀 Submit here! ", elem_id="llm-benchmark-tab-table", id=4):
352
  with gr.Column():
353
  with gr.Row():
src/about.py CHANGED
@@ -64,9 +64,9 @@ EVALUATION_QUEUE_TEXT = """
64
 
65
  ### 1) Make sure you can load your model and tokenizer using AutoClasses:
66
  ```python
67
- from transformers import AutoConfig, AutoModel, AutoTokenizer
68
  config = AutoConfig.from_pretrained("your model name", revision=revision)
69
- model = AutoModel.from_pretrained("your model name", revision=revision)
70
  tokenizer = AutoTokenizer.from_pretrained("your model name", revision=revision)
71
  ```
72
  If this step fails, follow the error messages to debug your model before submitting it. It's likely your model has been improperly uploaded.
@@ -78,7 +78,7 @@ Note: if your model needs `use_remote_code=True`, we do not support this option
78
  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`!
79
 
80
  ### 3) Make sure your model has an open license!
81
- This is a leaderboard for Open LLMs, and we'd love for as many people as possible to know they can use your model 🤗
82
 
83
  ### 4) Fill up your model card
84
  When we add extra information about models to the leaderboard, it will be automatically taken from the model card
@@ -86,7 +86,7 @@ When we add extra information about models to the leaderboard, it will be automa
86
  ## In case of model failure
87
  If your model is displayed in the `FAILED` category, its execution stopped.
88
  Make sure you have followed the above steps first.
89
- 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).
90
  """
91
 
92
  CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"
 
64
 
65
  ### 1) Make sure you can load your model and tokenizer using AutoClasses:
66
  ```python
67
+ from transformers import AutoConfig, AutoModelForCausalLM, AutoTokenizer
68
  config = AutoConfig.from_pretrained("your model name", revision=revision)
69
+ model = AutoModelForCausalLM.from_pretrained("your model name", revision=revision)
70
  tokenizer = AutoTokenizer.from_pretrained("your model name", revision=revision)
71
  ```
72
  If this step fails, follow the error messages to debug your model before submitting it. It's likely your model has been improperly uploaded.
 
78
  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`!
79
 
80
  ### 3) Make sure your model has an open license!
81
+ We'd love for as many people as possible to know they can use your model 🤗
82
 
83
  ### 4) Fill up your model card
84
  When we add extra information about models to the leaderboard, it will be automatically taken from the model card
 
86
  ## In case of model failure
87
  If your model is displayed in the `FAILED` category, its execution stopped.
88
  Make sure you have followed the above steps first.
89
+ If everything is done, feel free to open a new discussion on the Hugging Face space.
90
  """
91
 
92
  CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"