Update README.md
Browse files
README.md
CHANGED
@@ -14,7 +14,7 @@ Performance On our validation set, the model achieved:
|
|
14 |
Accuracy: 78% F1 Score (Biased): 79% F1 Score (Non-Biased): 78%
|
15 |
# How to Use
|
16 |
To use this model for text classification, use the following code
|
17 |
-
|
18 |
from transformers import pipeline
|
19 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
20 |
|
@@ -23,6 +23,9 @@ model = AutoModelForSequenceClassification.from_pretrained("Social-Media-Fairnes
|
|
23 |
classifier = pipeline("text-classification", model=model, tokenizer=tokenizer)
|
24 |
result = classifier("you are stupid")
|
25 |
print(result)
|
|
|
26 |
# Caveats and Limitations
|
27 |
The model's training data originates from a specific dataset (BABE) which might not represent all kinds of biases or content.
|
28 |
-
The performance metrics are based on a random validation split, so the model's performance might vary in real-world applications.
|
|
|
|
|
|
14 |
Accuracy: 78% F1 Score (Biased): 79% F1 Score (Non-Biased): 78%
|
15 |
# How to Use
|
16 |
To use this model for text classification, use the following code
|
17 |
+
```python
|
18 |
from transformers import pipeline
|
19 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
20 |
|
|
|
23 |
classifier = pipeline("text-classification", model=model, tokenizer=tokenizer)
|
24 |
result = classifier("you are stupid")
|
25 |
print(result)
|
26 |
+
'''
|
27 |
# Caveats and Limitations
|
28 |
The model's training data originates from a specific dataset (BABE) which might not represent all kinds of biases or content.
|
29 |
+
The performance metrics are based on a random validation split, so the model's performance might vary in real-world applications.
|
30 |
+
|
31 |
+
Developed by Tahniat Khan
|