Taejin's picture
Update content.py
d94c0cf verified
raw
history blame contribute delete
No virus
1.43 kB
TITLE = """<h1 align="center" id="space-title">SLT GenSEC Challenge Track-2 Leaderboard</h1>"""
INTRODUCTION_TEXT = """
This is the official leaderboard for the [SLT GenSEC Challenge Track-2].
Baseline Repository:
https://github.com/tango4j/llm_speaker_tagging
Dataset:
https://huggingface.co/datasets/GenSEC-LLM/SLT-Task2-Post-ASR-Speaker-Tagging
Leaderboard:
https://huggingface.co/spaces/Taejin/speaker_tagging_leaderboard
"""
SUBMISSION_TEXT = """
## Submissions
You must either submit
- `err_dev.hyp.seglst.json` for dev set (Click Dev tab on the top)
- `err_eval.hyp.seglst.json` eval set files (Click Eval tab on the top)
For the formats of the files, please refer to the [SLT GenSEC Challenge Track-2].
Baseline Repository:
https://github.com/tango4j/llm_speaker_tagging
"""
CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"
CITATION_BUTTON_TEXT = ""
def format_error(msg):
return f"<p style='color: red; font-size: 20px; text-align: center;'>{msg}</p>"
def format_warning(msg):
return f"<p style='color: orange; font-size: 20px; text-align: center;'>{msg}</p>"
def format_log(msg):
return f"<p style='color: green; font-size: 20px; text-align: center;'>{msg}</p>"
def model_hyperlink(link, model_name):
return f'<a target="_blank" href="{link}" style="color: var(--link-text-color); text-decoration: underline;text-decoration-style: dotted;">{model_name}</a>'