Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -48,9 +48,11 @@ iface = gr.Interface(
|
|
48 |
inputs="text",
|
49 |
outputs="text",
|
50 |
title="Social Bias Named Entity Recognition (with BERT) 🕵",
|
51 |
-
description="Enter a sentence to predict biased parts of speech tags. This model uses multi-label BertForTokenClassification, to label the entities: (GEN)eralizations, (UNFAIR)ness, and (STEREO)types. Labels follow BIO format. Try it out :)."
|
|
|
|
|
52 |
allow_flagging="never"
|
53 |
)
|
54 |
|
55 |
if __name__ == "__main__":
|
56 |
-
iface.launch()
|
|
|
48 |
inputs="text",
|
49 |
outputs="text",
|
50 |
title="Social Bias Named Entity Recognition (with BERT) 🕵",
|
51 |
+
description=("Enter a sentence to predict biased parts of speech tags. This model uses multi-label BertForTokenClassification, to label the entities: (GEN)eralizations, (UNFAIR)ness, and (STEREO)types. Labels follow BIO format. Try it out :)."
|
52 |
+
"<br><br>Read more about how this model was trained in this <a href='https://huggingface.co/blog/maximuspowers/bias-entity-recognition' target='_blank'>blog post</a>."
|
53 |
+
"<br>View the model on Hugging Face: <a href='https://huggingface.co/maximuspowers/bias-detection-ner' target='_blank'>Bias Detection NER</a>."),
|
54 |
allow_flagging="never"
|
55 |
)
|
56 |
|
57 |
if __name__ == "__main__":
|
58 |
+
iface.launch()
|