CodeGoat24 commited on
Commit
96d5a92
Β·
verified Β·
1 Parent(s): 4cca4ac

Delete about.py

Browse files
Files changed (1) hide show
  1. about.py +0 -96
about.py DELETED
@@ -1,96 +0,0 @@
1
- from dataclasses import dataclass
2
- from enum import Enum
3
-
4
- @dataclass
5
- class Task:
6
- benchmark: str
7
- metric: str
8
- col_name: str
9
-
10
-
11
- # Select your tasks here
12
- # ---------------------------------------------------
13
- class Tasks(Enum):
14
- # task_key in the json file, metric_key in the json file, name to display in the leaderboard
15
- # For MMLongBench-Doc (https://arxiv.org/abs/2407.01523), we use ACC as the main metric
16
- task0 = Task("mmlongbench_doc", "acc", "ACC")
17
-
18
- NUM_FEWSHOT = 0 # Change with your few shot
19
- # ---------------------------------------------------
20
-
21
-
22
-
23
- # Your leaderboard name
24
- TITLE = """<h1 align="center" id="space-title">πŸ₯‡ <a href="" target="_blank">UniGenBench</a> Leaderboard</h1>"""
25
-
26
- # Links and conference info
27
- LINKS_AND_INFO = """
28
- <div align="center">
29
- <p><a href="https://github.com/CodeGoat24/UnifiedReward" target="_blank">UnifiedReward Team</a></p>
30
- <p>
31
- <a href="" target="_blank">🏠 Homepage</a> |
32
- <a href="" target="_blank">πŸ“„ arXiv Paper</a> |
33
- </p>
34
- </div>
35
- """
36
-
37
- # What does your leaderboard evaluate?
38
- INTRODUCTION_TEXT = """
39
- πŸ“š [UniGenBench]() is a unified and versatile benchmark for T2I generation that integrates diverse prompt themes with a comprehensive suite of fine-grained evaluation criteria.
40
-
41
- πŸ”§ You can use the official [GitHub repo](https://github.com/CodeGoat24/UniGenBench) to evaluate your model on [UniGenBench]().
42
-
43
- πŸ“ To add your own model to the leaderboard, please send an Email to yibinwang1121@163.com, then we will help with the evaluation and updating the leaderboard.
44
- """
45
-
46
- # Which evaluations are you running? how can people reproduce what you have?
47
- LLM_BENCHMARKS_TEXT = f"""
48
- ## How it works
49
-
50
- [MMLongBench-Doc](https://arxiv.org/abs/2407.01523) evaluates multimodal models on their ability to understand long documents containing both text and visual elements. The benchmark includes various document understanding tasks that require models to process and reason over extended contexts.
51
-
52
- ## Evaluation Metrics
53
-
54
- - **ACC (Accuracy)**: The primary metric measuring the overall accuracy of model predictions on document understanding tasks.
55
- - **Parameters**: Model size in billions of parameters
56
- - **Open Source**: Whether the model weights are publicly available
57
-
58
- ## Reproducibility
59
-
60
- To reproduce our results, please refer to the official [MMLongBench-Doc](https://arxiv.org/abs/2407.01523) repository for evaluation scripts and detailed instructions.
61
- """
62
-
63
- EVALUATION_QUEUE_TEXT = """
64
- ## Some good practices before submitting a model
65
-
66
- ### 1) Make sure you can load your model and tokenizer using AutoClasses:
67
- ```python
68
- from transformers import AutoConfig, AutoModel, AutoTokenizer
69
- config = AutoConfig.from_pretrained("your model name", revision=revision)
70
- model = AutoModel.from_pretrained("your model name", revision=revision)
71
- tokenizer = AutoTokenizer.from_pretrained("your model name", revision=revision)
72
- ```
73
- If this step fails, follow the error messages to debug your model before submitting it. It's likely your model has been improperly uploaded.
74
-
75
- Note: make sure your model is public!
76
- 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!
77
-
78
- ### 2) Convert your model weights to [safetensors](https://huggingface.co/docs/safetensors/index)
79
- 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`!
80
-
81
- ### 3) Make sure your model has an open license!
82
- This is a leaderboard for Open LLMs, and we'd love for as many people as possible to know they can use your model πŸ€—
83
-
84
- ### 4) Fill up your model card
85
- When we add extra information about models to the leaderboard, it will be automatically taken from the model card
86
-
87
- ## In case of model failure
88
- If your model is displayed in the `FAILED` category, its execution stopped.
89
- Make sure you have followed the above steps first.
90
- 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).
91
- """
92
-
93
- CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"
94
- CITATION_BUTTON_TEXT = r"""
95
-
96
- }"""