wu981526092 commited on
Commit
5f7aa43
1 Parent(s): 5d15f6f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -13
README.md CHANGED
@@ -12,13 +12,13 @@ metrics:
12
  - accuracy
13
  ---
14
 
15
- # Sentence-Level Multidimensional Bias Classifier
16
 
17
- The Sentence-Level Bias Classifier is a transformer-based model developed to detect and classify different types of biases present in text at the sentence level. It is designed to recognize stereotypical and anti-stereotypical biases towards gender, race, profession, and religion. The model can help in developing applications aimed at mitigating biased language use and promoting fairness and inclusivity in natural language processing tasks.
18
 
19
  ## Model Architecture
20
 
21
- The model is built using the pretrained model. It is fine-tuned on a custom dataset for the task of sentence-level bias classification. The model uses a Sentence Classification architecture, typically used for Text Classification tasks.
22
 
23
  ## Model Performance
24
 
@@ -38,7 +38,7 @@ The model is built using the pretrained model. It is fine-tuned on a custom data
38
 
39
  The model identifies nine classes, including:
40
 
41
- 0. unrelated: The token does not indicate any bias.
42
  1. stereotype_gender: The token indicates a gender stereotype.
43
  2. anti-stereotype_gender: The token indicates an anti-gender stereotype.
44
  3. stereotype_race: The token indicates a racial stereotype.
@@ -55,16 +55,9 @@ The model can be used as a part of the Hugging Face's pipeline for Text Classifi
55
  ```python
56
  from transformers import pipeline
57
 
58
- nlp = pipeline("text-classification", model="wu981526092/Sentence-Level-Multidimensional-Bias-Detector", tokenizer="wu981526092/Sentence-Level-Multidimensional-Bias-Detector")
59
- result = nlp("Text containing potential bias...")
60
 
61
  print(result)
62
  ```
63
 
64
- ## Performance
65
-
66
- The performance of the model can vary depending on the specifics of the text being analyzed. It's recommended to evaluate the model on your specific task and text data to ensure it meets your requirements.
67
-
68
- ## Limitations and Bias
69
-
70
- While the model is designed to detect bias, it may not be perfect in its detections due to the complexities and subtleties of language. Biases detected by the model do not represent endorsement of these biases. The model may also misclassify some tokens due to the limitation of BERT's WordPiece tokenization approach.
 
12
  - accuracy
13
  ---
14
 
15
+ # Sentence-Level Stereotype Classifier
16
 
17
+ The Sentence-Level Stereotype Classifier is a transformer-based model developed to detect and classify different types of stereotypes present in 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.
18
 
19
  ## Model Architecture
20
 
21
+ The model is built using the pretrained model. It is fine-tuned on a custom dataset for the task of sentence-level stereotype classification. The model uses a Sentence Classification architecture, typically used for Text Classification tasks.
22
 
23
  ## Model Performance
24
 
 
38
 
39
  The model identifies nine classes, including:
40
 
41
+ 0. unrelated: The token does not indicate any stereotype.
42
  1. stereotype_gender: The token indicates a gender stereotype.
43
  2. anti-stereotype_gender: The token indicates an anti-gender stereotype.
44
  3. stereotype_race: The token indicates a racial stereotype.
 
55
  ```python
56
  from transformers import pipeline
57
 
58
+ nlp = pipeline("text-classification", model="wu981526092/Sentence-Level-Stereotype-Detector", tokenizer="wu981526092/Sentence-Level-Stereotype-Detector")
59
+ result = nlp("Text containing potential stereotype...")
60
 
61
  print(result)
62
  ```
63