eduagarcia commited on
Commit
77a5f61
1 Parent(s): 2328c3d

Update src/display/about.py

Browse files
Files changed (1) hide show
  1. src/display/about.py +16 -1
src/display/about.py CHANGED
@@ -24,6 +24,11 @@ The leaderboard's backend runs on a [fork](https://github.com/eduagarcia/lm-eval
24
 
25
  {SUPPORT_DESCRIPTION}
26
  """
 
 
 
 
 
27
  task_count = 0
28
  TASKS_LIST= ""
29
  for task in Tasks:
@@ -104,7 +109,17 @@ To get more information about quantization, see:
104
 
105
  ## Useful links
106
  - [Community resources](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard/discussions/174)
107
- - [Collection of best models](https://huggingface.co/collections/{PATH_TO_COLLECTION})
 
 
 
 
 
 
 
 
 
 
108
  """
109
 
110
  REMOTE_CODE_EXAPLANATION = f"- *Yes.*"
 
24
 
25
  {SUPPORT_DESCRIPTION}
26
  """
27
+
28
+ CITATION_TEXT = ""
29
+ if 'citation' in TASK_CONFIG['readme']:
30
+ CITATION_TEXT += TASK_CONFIG['readme']['citation']
31
+
32
  task_count = 0
33
  TASKS_LIST= ""
34
  for task in Tasks:
 
109
 
110
  ## Useful links
111
  - [Community resources](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard/discussions/174)
112
+ - [Collection of best models](https://huggingface.co/collections/{PATH_TO_COLLECTION})
113
+
114
+ """
115
+
116
+ if CITATION_TEXT:
117
+ ABOUT_DESCRIPTION_CONTEXT += f"""
118
+ ## Citation
119
+
120
+ ```bibtex
121
+ {CITATION_TEXT}
122
+ ```
123
  """
124
 
125
  REMOTE_CODE_EXAPLANATION = f"- *Yes.*"