Spaces:
Runtime error
Runtime error
debug app.py
Browse files
app.py
CHANGED
@@ -22,12 +22,12 @@ df = df[["message_id", "text"]]
|
|
22 |
df = df.head(300)
|
23 |
st.dataframe(df, use_container_width=True)
|
24 |
st.title("Inside the OASST2 dataset")
|
25 |
-
element = open("images/map_prompt.html", "r", encoding="utf-8"
|
26 |
-
|
27 |
|
28 |
components.html(element.read(), height=900, width=900)
|
29 |
st.info(
|
30 |
-
"The different clusters allow to explore the main topics evoked by the prompt. For instance, in the blink of an eye, one may see which topics are dealt with and which topics are lacking content. This visualisation can therefore be used as a stepping stone to investigate bias or content, providing resources to fuel the discussion open by the OASS paper available here
|
31 |
)
|
32 |
|
33 |
|
|
|
22 |
df = df.head(300)
|
23 |
st.dataframe(df, use_container_width=True)
|
24 |
st.title("Inside the OASST2 dataset")
|
25 |
+
element = open("images/map_prompt.html", "r", encoding="utf-8")
|
26 |
+
st.info("This mapping can be extended to include the assistant answers, and the prompts can be selected on a topic basis through the python package, allowing to filter and curate the data.")
|
27 |
|
28 |
components.html(element.read(), height=900, width=900)
|
29 |
st.info(
|
30 |
+
"The different clusters allow to explore the main topics evoked by the prompt. For instance, in the blink of an eye, one may see which topics are dealt with and which topics are lacking content. This visualisation can therefore be used as a stepping stone to investigate bias or content, providing resources to fuel the discussion open by the OASS paper available here: https://drive.google.com/file/d/10iR5hKwFqAKhL3umx8muOWSRm7hs5FqX/view"
|
31 |
)
|
32 |
|
33 |
|