Spaces:
Running
Running
add creative writing
Browse files- app.py +3 -3
- data/sample_creative_writing.jsonl +3 -0
app.py
CHANGED
@@ -19,7 +19,7 @@ category_selector_map = defaultdict(list)
|
|
19 |
def display_question(category_selector, request: gr.Request):
|
20 |
# print(category_selector)
|
21 |
choices = category_selector_map[category_selector]
|
22 |
-
return gr.Dropdown
|
23 |
value=choices[0],
|
24 |
choices=choices,
|
25 |
)
|
@@ -132,7 +132,7 @@ def build_pairwise_browser_tab():
|
|
132 |
|
133 |
|
134 |
def load_demo():
|
135 |
-
dropdown_update = gr.Dropdown
|
136 |
return dropdown_update
|
137 |
|
138 |
|
@@ -146,7 +146,7 @@ def build_demo():
|
|
146 |
gr.Markdown(
|
147 |
"""
|
148 |
# Chatbot Arena Samples
|
149 |
-
We randomly sample 20 battles from each category using seed 42.
|
150 |
| [Paper](https://arxiv.org/abs/2403.04132) | [Leaderboard](https://huggingface.co/spaces/lmsys/chatbot-arena-leaderboard) |
|
151 |
"""
|
152 |
)
|
|
|
19 |
def display_question(category_selector, request: gr.Request):
|
20 |
# print(category_selector)
|
21 |
choices = category_selector_map[category_selector]
|
22 |
+
return gr.Dropdown(
|
23 |
value=choices[0],
|
24 |
choices=choices,
|
25 |
)
|
|
|
132 |
|
133 |
|
134 |
def load_demo():
|
135 |
+
dropdown_update = gr.Dropdown(value="Math")
|
136 |
return dropdown_update
|
137 |
|
138 |
|
|
|
146 |
gr.Markdown(
|
147 |
"""
|
148 |
# Chatbot Arena Samples
|
149 |
+
We randomly sample 20-50 battles from each category using seed 42.
|
150 |
| [Paper](https://arxiv.org/abs/2403.04132) | [Leaderboard](https://huggingface.co/spaces/lmsys/chatbot-arena-leaderboard) |
|
151 |
"""
|
152 |
)
|
data/sample_creative_writing.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:963a36f5b13a400d87268f8a6bae66d8241aaa41d21de2a598315c6db470e340
|
3 |
+
size 832317
|