Spaces:
Runtime error
Runtime error
Timothyxxx
commited on
Commit
·
756edf5
1
Parent(s):
37ae52a
Fix
Browse files- app.py +2 -2
- resources/demo_description.md +5 -4
app.py
CHANGED
@@ -254,9 +254,9 @@ try:
|
|
254 |
st.markdown('$\\rightarrow$')
|
255 |
if i == len(steps) - 1:
|
256 |
# The final step
|
257 |
-
st.markdown("
|
258 |
else:
|
259 |
-
st.markdown("
|
260 |
with st.spinner('...'):
|
261 |
time.sleep(1)
|
262 |
with open("tmp_for_vis/{}_result_step_{}.txt".format(stamp, i), "r") as f:
|
|
|
254 |
st.markdown('$\\rightarrow$')
|
255 |
if i == len(steps) - 1:
|
256 |
# The final step
|
257 |
+
st.markdown("{} Interpreter".format(selected_language.replace("Binder ", "")))
|
258 |
else:
|
259 |
+
st.markdown("GPT3 Codex")
|
260 |
with st.spinner('...'):
|
261 |
time.sleep(1)
|
262 |
with open("tmp_for_vis/{}_result_step_{}.txt".format(stamp, i), "r") as f:
|
resources/demo_description.md
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
This is an interactive demo of Binder based on GPT3 Codex.
|
2 |
You can input a question about the table (maybe requiring external knowledge/functionality), and a Binder program will be generated and executed to derive the output answer.
|
3 |
-
For more details, check out
|
4 |
|
5 |
|
6 |
-
*Note:*
|
7 |
-
|
8 |
-
|
|
|
|
1 |
This is an interactive demo of Binder based on GPT3 Codex.
|
2 |
You can input a question about the table (maybe requiring external knowledge/functionality), and a Binder program will be generated and executed to derive the output answer.
|
3 |
+
For more details, check out the project [website](https://lm-code-binder.github.io/).
|
4 |
|
5 |
|
6 |
+
*Note:*
|
7 |
+
- Codex has query limits for openai keys, thus it may be slow in generation/execution when (high) concurrent requests occur.
|
8 |
+
- This page is just for demonstration, so we generate fewer program for speeding up, please check the [paper](https://arxiv.org/abs/2210.02875) and [code](https://github.com/HKUNLP/Binder) on majority vote and weight bias better result.
|
9 |
+
- We are trying to make the demo faster and more robust, please let us know if you have any feedback!
|