Update README.md
Browse files
README.md
CHANGED
|
@@ -27,19 +27,14 @@ tags:
|
|
| 27 |
classifier = pipeline("text-classification", model="maximuspowers/bias-type-classifier") // pass in return_all_scores=True for multi-label
|
| 28 |
result = classifier("Tall people are so clumsy")
|
| 29 |
|
| 30 |
-
//Example Result
|
| 31 |
-
[
|
| 32 |
-
{
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
}
|
| 36 |
-
]
|
| 37 |
```
|
| 38 |
-
<!--
|
| 39 |
-
### Example Result
|
| 40 |
-
```json
|
| 41 |
-
|
| 42 |
-
``` -->
|
| 43 |
|
| 44 |
This model was trained on a [synthetic dataset](https://huggingface.co/datasets/ethical-spectacle/biased-corpus) of biased statements and questions, generated by Mistal 7B as part of the [GUS-Net paper](https://www.linkedin.com/posts/maximuspowers_gus-net-social-bias-ner-model-activity-7245547070978240512-QUqO).
|
| 45 |
|
|
|
|
| 27 |
classifier = pipeline("text-classification", model="maximuspowers/bias-type-classifier") // pass in return_all_scores=True for multi-label
|
| 28 |
result = classifier("Tall people are so clumsy")
|
| 29 |
|
| 30 |
+
// Example Result
|
| 31 |
+
// [
|
| 32 |
+
// {
|
| 33 |
+
// "label": "physical",
|
| 34 |
+
// "score": 0.9972801208496094
|
| 35 |
+
// }
|
| 36 |
+
// ]
|
| 37 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
This model was trained on a [synthetic dataset](https://huggingface.co/datasets/ethical-spectacle/biased-corpus) of biased statements and questions, generated by Mistal 7B as part of the [GUS-Net paper](https://www.linkedin.com/posts/maximuspowers_gus-net-social-bias-ner-model-activity-7245547070978240512-QUqO).
|
| 40 |
|