Introduction of Sentence-Level-Stereotype-Detector
Model Details of Sentence-Level-Stereotype-Detector
Sentence-Level Stereotype Classifier
The Sentence-Level Stereotype Classifier is a transformer-based model developed to detect and classify different types of stereotypes present in the text at the sentence level. It is designed to recognize stereotypical and anti-stereotypical stereotypes towards gender, race, profession, and religion. The model can help in developing applications aimed at mitigating Stereotypical language use and promoting fairness and inclusivity in natural language processing tasks.
Model Architecture
The model is built using the pre-trained Distilbert model. It is fine-tuned on MGS Dataset for the task of sentence-level stereotype classification.
Classes
The model identifies nine classes, including:
unrelated: The token does not indicate any stereotype.
stereotype_gender: The token indicates a gender stereotype.
anti-stereotype_gender: The token indicates an anti-gender stereotype.
stereotype_race: The token indicates a racial stereotype.
anti-stereotype_race: The token indicates an anti-racial stereotype.
stereotype_profession: The token indicates a professional stereotype.
anti-stereotype_profession: The token indicates an anti-professional stereotype.
stereotype_religion: The token indicates a religious stereotype.
anti-stereotype_religion: The token indicates an anti-religious stereotype.
Usage
The model can be used as a part of the Hugging Face's pipeline for Text Classification.
from transformers import pipeline
nlp = pipeline("text-classification", model="wu981526092/Sentence-Level-Stereotype-Detector", tokenizer="wu981526092/Sentence-Level-Stereotype-Detector")
result = nlp("Text containing potential stereotype...")
print(result)
Runs of wu981526092 Sentence-Level-Stereotype-Detector on huggingface.co
2.6K
Total runs
-720
24-hour runs
-3.8K
3-day runs
-4.2K
7-day runs
-2.5K
30-day runs
More Information About Sentence-Level-Stereotype-Detector huggingface.co Model
More Sentence-Level-Stereotype-Detector license Visit here:
Sentence-Level-Stereotype-Detector huggingface.co is an AI model on huggingface.co that provides Sentence-Level-Stereotype-Detector's model effect (), which can be used instantly with this wu981526092 Sentence-Level-Stereotype-Detector model. huggingface.co supports a free trial of the Sentence-Level-Stereotype-Detector model, and also provides paid use of the Sentence-Level-Stereotype-Detector. Support call Sentence-Level-Stereotype-Detector model through api, including Node.js, Python, http.
Sentence-Level-Stereotype-Detector huggingface.co is an online trial and call api platform, which integrates Sentence-Level-Stereotype-Detector's modeling effects, including api services, and provides a free online trial of Sentence-Level-Stereotype-Detector, you can try Sentence-Level-Stereotype-Detector online for free by clicking the link below.
wu981526092 Sentence-Level-Stereotype-Detector online free url in huggingface.co:
Sentence-Level-Stereotype-Detector is an open source model from GitHub that offers a free installation service, and any user can find Sentence-Level-Stereotype-Detector on GitHub to install. At the same time, huggingface.co provides the effect of Sentence-Level-Stereotype-Detector install, users can directly use Sentence-Level-Stereotype-Detector installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
Sentence-Level-Stereotype-Detector install url in huggingface.co: