Spaces:
Runtime error
Runtime error
Update src/display/about.py
Browse files- src/display/about.py +11 -33
src/display/about.py
CHANGED
|
@@ -11,57 +11,35 @@ class Task:
|
|
| 11 |
# Init: to update with your specific keys
|
| 12 |
class Tasks(Enum):
|
| 13 |
# task_key in the json file, metric_key in the json file, name to display in the leaderboard
|
| 14 |
-
task0 = Task("
|
| 15 |
-
task1 = Task("
|
|
|
|
| 16 |
|
| 17 |
|
| 18 |
# Your leaderboard name
|
| 19 |
-
TITLE = """<h1 align="center" id="space-title">
|
| 20 |
|
| 21 |
# What does your leaderboard evaluate?
|
| 22 |
INTRODUCTION_TEXT = """
|
| 23 |
-
|
| 24 |
"""
|
| 25 |
|
| 26 |
# Which evaluations are you running? how can people reproduce what you have?
|
| 27 |
LLM_BENCHMARKS_TEXT = f"""
|
| 28 |
## How it works
|
| 29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
## Reproducibility
|
| 31 |
-
To reproduce our results,
|
| 32 |
|
| 33 |
"""
|
| 34 |
|
| 35 |
EVALUATION_QUEUE_TEXT = """
|
| 36 |
-
## Some good practices before submitting a model
|
| 37 |
-
|
| 38 |
-
### 1) Make sure you can load your model and tokenizer using AutoClasses:
|
| 39 |
-
```python
|
| 40 |
-
from transformers import AutoConfig, AutoModel, AutoTokenizer
|
| 41 |
-
config = AutoConfig.from_pretrained("your model name", revision=revision)
|
| 42 |
-
model = AutoModel.from_pretrained("your model name", revision=revision)
|
| 43 |
-
tokenizer = AutoTokenizer.from_pretrained("your model name", revision=revision)
|
| 44 |
-
```
|
| 45 |
-
If this step fails, follow the error messages to debug your model before submitting it. It's likely your model has been improperly uploaded.
|
| 46 |
-
|
| 47 |
-
Note: make sure your model is public!
|
| 48 |
-
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!
|
| 49 |
-
|
| 50 |
-
### 2) Convert your model weights to [safetensors](https://huggingface.co/docs/safetensors/index)
|
| 51 |
-
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`!
|
| 52 |
-
|
| 53 |
-
### 3) Make sure your model has an open license!
|
| 54 |
-
This is a leaderboard for Open LLMs, and we'd love for as many people as possible to know they can use your model π€
|
| 55 |
-
|
| 56 |
-
### 4) Fill up your model card
|
| 57 |
-
When we add extra information about models to the leaderboard, it will be automatically taken from the model card
|
| 58 |
-
|
| 59 |
-
## In case of model failure
|
| 60 |
-
If your model is displayed in the `FAILED` category, its execution stopped.
|
| 61 |
-
Make sure you have followed the above steps first.
|
| 62 |
-
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).
|
| 63 |
"""
|
| 64 |
|
| 65 |
-
CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"
|
| 66 |
CITATION_BUTTON_TEXT = r"""
|
| 67 |
"""
|
|
|
|
| 11 |
# Init: to update with your specific keys
|
| 12 |
class Tasks(Enum):
|
| 13 |
# task_key in the json file, metric_key in the json file, name to display in the leaderboard
|
| 14 |
+
task0 = Task("tts_vocoder1", "MCD", "MCD Eval")
|
| 15 |
+
task1 = Task("tts_vocoder2", "Log F0 RMSE", "Log F0 RMSE Eval")
|
| 16 |
+
task2 = Task("tts_vocoder3", "UTMOS", "UTMOS Eval")
|
| 17 |
|
| 18 |
|
| 19 |
# Your leaderboard name
|
| 20 |
+
TITLE = """<h1 align="center" id="space-title">Discrete-based Vocoder Leaderboard</h1>"""
|
| 21 |
|
| 22 |
# What does your leaderboard evaluate?
|
| 23 |
INTRODUCTION_TEXT = """
|
| 24 |
+
The leaderboard for discrete speech challenge (TTS Challenge - Vocoder Track) at Interspeech 2024. Challenge details can be found at https://www.wavlab.org/activities/2024/Interspeech2024-Discrete-Speech-Unit-Challenge/
|
| 25 |
"""
|
| 26 |
|
| 27 |
# Which evaluations are you running? how can people reproduce what you have?
|
| 28 |
LLM_BENCHMARKS_TEXT = f"""
|
| 29 |
## How it works
|
| 30 |
|
| 31 |
+
The evaluation (static version) are conducted by the organizers only.
|
| 32 |
+
|
| 33 |
+
We will accept submissions from the google form (see rules in the challenge website).
|
| 34 |
+
|
| 35 |
## Reproducibility
|
| 36 |
+
To reproduce our results, please refer to the evaluation scripts at https://github.com/espnet/espnet/tree/master/egs2/TEMPLATE/tts1#evaluation
|
| 37 |
|
| 38 |
"""
|
| 39 |
|
| 40 |
EVALUATION_QUEUE_TEXT = """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
"""
|
| 42 |
|
| 43 |
+
CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results and the challenge (coming soon, for now, please cite the challenge website)"
|
| 44 |
CITATION_BUTTON_TEXT = r"""
|
| 45 |
"""
|