peter2000 commited on
Commit
afa2c48
1 Parent(s): c91902c

Update apps/sdg_pd.py

Browse files
Files changed (1) hide show
  1. apps/sdg_pd.py +9 -0
apps/sdg_pd.py CHANGED
@@ -7,6 +7,15 @@ import os
7
 
8
  def app():
9
  st.title("SDG Embedding Visualisation")
 
 
 
 
 
 
 
 
 
10
 
11
  with st.spinner("👑 load data"):
12
  df_osdg = pd.read_csv("sdg_umap.csv", sep = "|")
 
7
 
8
  def app():
9
  st.title("SDG Embedding Visualisation")
10
+ with st.expander("ℹ️ - About this app", expanded=True):
11
+
12
+ st.write(
13
+ """
14
+ Information cartography - Get your word/phrase/sentence/paragraph embedded and visualized.
15
+ The (English) sentence-transformers model "all-MiniLM-L6-v2" maps sentences & paragraphs to a 384 dimensional dense vector space This is normally used for tasks like clustering or semantic search, but in this case, we use it to place your text to a 3D map. Before plotting, the dimension needs to be reduced to three so we can actually plot it, but preserve as much information as possible. For this, we use a technology called umap.
16
+
17
+ On this page, you find thousands of text excerpts that were labelled by the community volunteers with respect to Sustainable Development Goals, a project by OSDG.ai, embedded as described. Ready to explore.
18
+ """)
19
 
20
  with st.spinner("👑 load data"):
21
  df_osdg = pd.read_csv("sdg_umap.csv", sep = "|")