Spaces:
Running
Running
poltextlab
commited on
Commit
•
9939733
1
Parent(s):
6181406
emotions(8) -> emotions(6) rename
Browse files
app.py
CHANGED
@@ -25,9 +25,9 @@ with gr.Blocks() as demo:
|
|
25 |
<h1 style="text-align: center;font-size: 17pt;">Babel Machine Demo</h1>
|
26 |
<p style="font-size: 14pt;">This is a demo for text classification using language models finetuned on data labeled by <a href="https://www.comparativeagendas.net/">CAP</a>, <a href="https://manifesto-project.wzb.eu/">Manifesto Project</a>, sentiment, emotion coding and Named Entity Recognition systems.
|
27 |
For the coding of complete datasets, please visit the official <a href="https://babel.poltextlab.com/">Babel Machine</a> site.<br>
|
28 |
-
Please note that the sentiment (3) and emotions (
|
29 |
<br>
|
30 |
-
The models listed for Manifesto, Sentiment (3) and Emotions (
|
31 |
the Hugging Face link will not work for them for the time being. We expect a public version after tests and improvements in the Fall.
|
32 |
Please feel free to check back for model updates, or reach out to us at that point if you wish to ask about a specific model.
|
33 |
</p>
|
@@ -36,7 +36,7 @@ with gr.Blocks() as demo:
|
|
36 |
|
37 |
gr.TabbedInterface(
|
38 |
interface_list=[cap_demo, manifesto_demo, sentiment_demo, emotion_demo, ner_demo],
|
39 |
-
tab_names=["CAP", "Manifesto", "Sentiment (3)", "Emotions (
|
40 |
)
|
41 |
|
42 |
if __name__ == "__main__":
|
|
|
25 |
<h1 style="text-align: center;font-size: 17pt;">Babel Machine Demo</h1>
|
26 |
<p style="font-size: 14pt;">This is a demo for text classification using language models finetuned on data labeled by <a href="https://www.comparativeagendas.net/">CAP</a>, <a href="https://manifesto-project.wzb.eu/">Manifesto Project</a>, sentiment, emotion coding and Named Entity Recognition systems.
|
27 |
For the coding of complete datasets, please visit the official <a href="https://babel.poltextlab.com/">Babel Machine</a> site.<br>
|
28 |
+
Please note that the sentiment (3) and emotions (6) models have been trained using parliamentary speech data, so the results for generic sentences may not be reliable. Additionally, be aware that named entity inputs are case sensitive.<br>
|
29 |
<br>
|
30 |
+
The models listed for Manifesto, Sentiment (3) and Emotions (6) tasks are a beta version and thus not publicly available,
|
31 |
the Hugging Face link will not work for them for the time being. We expect a public version after tests and improvements in the Fall.
|
32 |
Please feel free to check back for model updates, or reach out to us at that point if you wish to ask about a specific model.
|
33 |
</p>
|
|
|
36 |
|
37 |
gr.TabbedInterface(
|
38 |
interface_list=[cap_demo, manifesto_demo, sentiment_demo, emotion_demo, ner_demo],
|
39 |
+
tab_names=["CAP", "Manifesto", "Sentiment (3)", "Emotions (6)", "Named Entity Recognition"],
|
40 |
)
|
41 |
|
42 |
if __name__ == "__main__":
|