Instructions to use d4data/bias-detection-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use d4data/bias-detection-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="d4data/bias-detection-model")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("d4data/bias-detection-model") model = AutoModelForSequenceClassification.from_pretrained("d4data/bias-detection-model") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -21,10 +21,9 @@ This model is trained to detect bias in a sentence.
|
|
| 21 |
- Dataset : MBAD Data
|
| 22 |
- Carbon emission 0.319355 Kg
|
| 23 |
|
| 24 |
-
|
| 25 |
-
-
|
| 26 |
-
|
| 27 |
-
- Test loss : 0.9644
|
| 28 |
|
| 29 |
## Author
|
| 30 |
This model is part of the Research topic "Bias and Fairness in AI" conducted by Shaina Raza, Deepak John Reji, Chen Ding. If you use this work (code, model or dataset), please cite as:
|
|
|
|
| 21 |
- Dataset : MBAD Data
|
| 22 |
- Carbon emission 0.319355 Kg
|
| 23 |
|
| 24 |
+
| Train Accuracy | Validation Accuracy | Train loss | Test loss |
|
| 25 |
+
|---------------:| -------------------:| ----------:|----------:|
|
| 26 |
+
| 76.97 | 62.00 | 0.45 | 0.96 |
|
|
|
|
| 27 |
|
| 28 |
## Author
|
| 29 |
This model is part of the Research topic "Bias and Fairness in AI" conducted by Shaina Raza, Deepak John Reji, Chen Ding. If you use this work (code, model or dataset), please cite as:
|