qiantong-xu
commited on
Commit
•
9dfb4f3
1
Parent(s):
a206e6c
Update app.py
Browse files
app.py
CHANGED
@@ -49,6 +49,18 @@ def get_submissions():
|
|
49 |
df.insert(0, "Rank", list(range(1, len(df) + 1)))
|
50 |
return df
|
51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
block = gr.Blocks()
|
53 |
|
54 |
with block:
|
@@ -57,10 +69,19 @@ with block:
|
|
57 |
|
58 |
Welcome to the leaderboard of the ToolBench! 🏆
|
59 |
This is a community where participants create language models and action generation algorithms to generate API function calls based goals described in natural lanugage!
|
60 |
-
Please join our [Discord](https://discord.com/invite/JehFG5HXKb) for further discussion.
|
|
|
61 |
"""
|
62 |
)
|
63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
with gr.Row():
|
65 |
data = gr.components.Dataframe(
|
66 |
type="pandas", datatype=["number", "markdown", "markdown", "number"]
|
|
|
49 |
df.insert(0, "Rank", list(range(1, len(df) + 1)))
|
50 |
return df
|
51 |
|
52 |
+
CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"
|
53 |
+
CITATION_BUTTON_TEXT = r"""@misc{xu2023tool,
|
54 |
+
title={On the Tool Manipulation Capability of Open-source Large Language Models},
|
55 |
+
author={Qiantong Xu and Fenglu Hong and Bo Li and Changran Hu and Zhengyu Chen and Jian Zhang},
|
56 |
+
year={2023},
|
57 |
+
eprint={2305.16504},
|
58 |
+
archivePrefix={arXiv},
|
59 |
+
primaryClass={cs.CL}
|
60 |
+
}
|
61 |
+
}"""
|
62 |
+
|
63 |
+
|
64 |
block = gr.Blocks()
|
65 |
|
66 |
with block:
|
|
|
69 |
|
70 |
Welcome to the leaderboard of the ToolBench! 🏆
|
71 |
This is a community where participants create language models and action generation algorithms to generate API function calls based goals described in natural lanugage!
|
72 |
+
Please refer to [our paper](https://arxiv.org/abs/2305.16504) for more details and join our [Discord](https://discord.com/invite/JehFG5HXKb) for further discussion.
|
73 |
+
The [evaluation suite](https://github.com/sambanova/toolbench/) is now alive on Github.
|
74 |
"""
|
75 |
)
|
76 |
|
77 |
+
with gr.Row():
|
78 |
+
with gr.Accordion("Citation", open=False):
|
79 |
+
citation_button = gr.Textbox(
|
80 |
+
value=CITATION_BUTTON_TEXT,
|
81 |
+
label=CITATION_BUTTON_LABEL,
|
82 |
+
elem_id="citation-button",
|
83 |
+
).style(show_copy_button=True)
|
84 |
+
|
85 |
with gr.Row():
|
86 |
data = gr.components.Dataframe(
|
87 |
type="pandas", datatype=["number", "markdown", "markdown", "number"]
|