yuntian-deng commited on
Commit
b8e2db5
·
verified ·
1 Parent(s): c2f25f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -17,15 +17,15 @@ def predict(title, authors, abstract):
17
 
18
  result = f"For papers with a score greater than or equal to {score:.2f}, approximately {precision * 100:.2f}% are selected by AK."
19
 
20
- return {"Score": score, "Result": result}
21
 
22
  iface = gr.Interface(
23
  fn=predict,
24
  inputs=["text", "text", "text_area"],
25
- outputs=["label", "label"],
26
  examples=[["WildChat: 1M ChatGPT Interaction Logs in the Wild", "Wenting Zhao, Xiang Ren, Jack Hessel, Claire Cardie, Yejin Choi, Yuntian Deng", "Chatbots such as GPT-4 and ChatGPT are now serving millions of users. Despite their widespread use, there remains a lack of public datasets showcasing how these tools are used by a population of users in practice. To bridge this gap, we offered free access to ChatGPT for online users in exchange for their affirmative, consensual opt-in to anonymously collect their chat transcripts and request headers. From this, we compiled WildChat, a corpus of 1 million user-ChatGPT conversations, which consists of over 2.5 million interaction turns. We compare WildChat with other popular user-chatbot interaction datasets, and find that our dataset offers the most diverse user prompts, contains the largest number of languages, and presents the richest variety of potentially toxic use-cases for researchers to study. In addition to timestamped chat transcripts, we enrich the dataset with demographic data, including state, country, and hashed IP addresses, alongside request headers. This augmentation allows for more detailed analysis of user behaviors across different geographical regions and temporal dimensions. Finally, because it captures a broad range of use cases, we demonstrate the dataset’s potential utility in fine-tuning instruction-following models. WildChat is released at https://wildchat.allen.ai under AI2 ImpACT Licenses."]],
27
  title="Will your paper be selected by @_akhaliq?",
28
- description="Enter the title, authors, and abstract of the paper to predict its score and see the estimated acceptance rate for similar or higher-scored papers.",
29
  live=True
30
  )
31
 
 
17
 
18
  result = f"For papers with a score greater than or equal to {score:.2f}, approximately {precision * 100:.2f}% are selected by AK."
19
 
20
+ return score, result
21
 
22
  iface = gr.Interface(
23
  fn=predict,
24
  inputs=["text", "text", "text_area"],
25
+ outputs=[gr.outputs.Textbox(label="Predicted Score"), gr.outputs.Textbox(label="Resulting Probability")],
26
  examples=[["WildChat: 1M ChatGPT Interaction Logs in the Wild", "Wenting Zhao, Xiang Ren, Jack Hessel, Claire Cardie, Yejin Choi, Yuntian Deng", "Chatbots such as GPT-4 and ChatGPT are now serving millions of users. Despite their widespread use, there remains a lack of public datasets showcasing how these tools are used by a population of users in practice. To bridge this gap, we offered free access to ChatGPT for online users in exchange for their affirmative, consensual opt-in to anonymously collect their chat transcripts and request headers. From this, we compiled WildChat, a corpus of 1 million user-ChatGPT conversations, which consists of over 2.5 million interaction turns. We compare WildChat with other popular user-chatbot interaction datasets, and find that our dataset offers the most diverse user prompts, contains the largest number of languages, and presents the richest variety of potentially toxic use-cases for researchers to study. In addition to timestamped chat transcripts, we enrich the dataset with demographic data, including state, country, and hashed IP addresses, alongside request headers. This augmentation allows for more detailed analysis of user behaviors across different geographical regions and temporal dimensions. Finally, because it captures a broad range of use cases, we demonstrate the dataset’s potential utility in fine-tuning instruction-following models. WildChat is released at https://wildchat.allen.ai under AI2 ImpACT Licenses."]],
27
  title="Will your paper be selected by @_akhaliq?",
28
+ description="Enter the title, authors, and abstract of the paper to predict whether @_akhaliq will select your paper!",
29
  live=True
30
  )
31