Update README.md
Browse files
README.md
CHANGED
|
@@ -26,10 +26,8 @@ tags:
|
|
| 26 |
```
|
| 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 |
|
| 31 |
-
|
| 32 |
-
```json
|
| 33 |
[
|
| 34 |
{
|
| 35 |
"label": "physical",
|
|
@@ -37,6 +35,11 @@ result = classifier("Tall people are so clumsy")
|
|
| 37 |
}
|
| 38 |
]
|
| 39 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
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).
|
| 42 |
|
|
|
|
| 26 |
```
|
| 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",
|
|
|
|
| 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 |
|