khaerens commited on
Commit
70d3e10
·
1 Parent(s): 7567260

added text

Browse files
Files changed (2) hide show
  1. README.md +4 -4
  2. app.py +13 -0
README.md CHANGED
@@ -1,7 +1,7 @@
1
  ---
2
- title: REBEL
3
- emoji: 🏢
4
- colorFrom: green
5
  colorTo: blue
6
  sdk: streamlit
7
  app_file: app.py
@@ -26,7 +26,7 @@ Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gr
26
  Can be either `gradio`, `streamlit`, or `static`
27
 
28
  `sdk_version` : _string_
29
- Only applicable for `streamlit` SDK.
30
  See [doc](https://hf.co/docs/hub/spaces) for more info on supported versions.
31
 
32
  `app_file`: _string_
 
1
  ---
2
+ title: "RE:Belle"
3
+ emoji: 🌐
4
+ colorFrom: orange
5
  colorTo: blue
6
  sdk: streamlit
7
  app_file: app.py
 
26
  Can be either `gradio`, `streamlit`, or `static`
27
 
28
  `sdk_version` : _string_
29
+ Only applicable for `streamlit` SDK.
30
  See [doc](https://hf.co/docs/hub/spaces) for more info on supported versions.
31
 
32
  `app_file`: _string_
app.py CHANGED
@@ -232,6 +232,19 @@ else:
232
  show_free_text_hub_page()
233
 
234
 
 
 
 
 
 
 
 
 
 
 
 
 
 
235
  st.sidebar.markdown(
236
  """
237
  *Credits for the REBEL model go out to Pere-Lluís Huguet Cabot and Roberto Navigli.
 
232
  show_free_text_hub_page()
233
 
234
 
235
+
236
+ st.sidebar.markdown(
237
+ """
238
+ ### What This Is And Why We Built it
239
+
240
+ This space shows how a transformer network can be used to convert *human* text into a computer-queryable format: a **knowledge graph**. Knowledge graphs are graphs where each node (or *vertex* if you're fancy) represent a concept/person/thing and each edge the link between those concepts. If you'd like to know more, you can read [this blogpost](https://www.ml6.eu/knowhow/knowledge-graphs-an-introduction-and-business-applications).
241
+
242
+ Knowledge graphs aren't just cool to look at, they are an extremely versatile way of storing data, and are used in machine learning to perform tasks like fraud detection. You can read more about the applications of knowledge graphs in ML in [this blogpost](https://blog.ml6.eu/how-are-knowledge-graphs-and-machine-learning-related-ff6f5c1760b5).
243
+
244
+ There is one problem though: building knowledge graphs from scratch is a time-consuming and tedious task, so it would be a lot easier if we could leverage machine learning to **create** them from existing texts. This demo shows how a model named **REBEL** has been trained to do just that: it reads summaries from Wikipedia (or any other text you input), and generates a graph containing the information it distills from the text.
245
+ """
246
+ )
247
+
248
  st.sidebar.markdown(
249
  """
250
  *Credits for the REBEL model go out to Pere-Lluís Huguet Cabot and Roberto Navigli.