lidiapierre's picture
Add application file
ec80443
raw
history blame contribute delete
692 Bytes
import gradio as gr
title = "Detecting sexism in French"
description = """
## Fine-tuning multilingual DistilBERT for binary classification of Sexist Language in French
Fine-tuned [distilbert-base-multilingual-cased](https://huggingface.co./distilbert-base-multilingual-cased) on
[lidiapierre/fr_sexism_labelled](https://huggingface.co./datasets/lidiapierre/fr_sexism_labelled), a dataset featuring
examples of statements of sexism in French.
"""
gr.load(
"huggingface/lidiapierre/distilbert-base-multi-fr-sexism",
inputs=gr.Textbox(lines=5, label="Input Text", placeholder="Tu nages bien pour une femme"),
title=title,
description=description,
).launch(share=True)