Spaces:
Runtime error
Runtime error
Update colab_app.py
Browse files- colab_app.py +5 -5
colab_app.py
CHANGED
@@ -5,13 +5,13 @@ import matplotlib.pyplot as plt
|
|
5 |
import pandas as pd
|
6 |
from spider_plot import spider_plot
|
7 |
|
|
|
|
|
|
|
|
|
8 |
|
9 |
@st.cache
|
10 |
-
def HebEMO_model():
|
11 |
-
st.title("Emotion Recognition in Hebrew Texts")
|
12 |
-
st.write("HebEMO is a tool to detect polarity and extract emotions from Hebrew user-generated content (UGC), which was trained on a unique Covid-19 related dataset that we collected and annotated. HebEMO yielded a high performance of weighted average F1-score = 0.96 for polarity classification. Emotion detection reached an F1-score of 0.78-0.97, with the exception of *surprise*, which the model failed to capture (F1 = 0.41). More information can be found in our git: https://github.com/avichaychriqui/HeBERT")
|
13 |
-
st.write("Write Hebrew sentences in the text box below to analyze (each sentence in a different rew). It takes a while, be patient :). An additional demo can be found in the Colab notebook: https://colab.research.google.com/drive/1Jw3gOWjwVMcZslu-ttXoNeD17lms1-ff ")
|
14 |
-
|
15 |
return HebEMO()
|
16 |
|
17 |
HebEMO_model = HebEMO_model()
|
|
|
5 |
import pandas as pd
|
6 |
from spider_plot import spider_plot
|
7 |
|
8 |
+
st.title("Emotion Recognition in Hebrew Texts")
|
9 |
+
st.write("HebEMO is a tool to detect polarity and extract emotions from Hebrew user-generated content (UGC), which was trained on a unique Covid-19 related dataset that we collected and annotated. HebEMO yielded a high performance of weighted average F1-score = 0.96 for polarity classification. Emotion detection reached an F1-score of 0.78-0.97, with the exception of *surprise*, which the model failed to capture (F1 = 0.41). More information can be found in our git: https://github.com/avichaychriqui/HeBERT")
|
10 |
+
st.write("Write Hebrew sentences in the text box below to analyze (each sentence in a different rew). It takes a while, be patient :). An additional demo can be found in the Colab notebook: https://colab.research.google.com/drive/1Jw3gOWjwVMcZslu-ttXoNeD17lms1-ff ")
|
11 |
+
|
12 |
|
13 |
@st.cache
|
14 |
+
def HebEMO_model():
|
|
|
|
|
|
|
|
|
15 |
return HebEMO()
|
16 |
|
17 |
HebEMO_model = HebEMO_model()
|