Update README.md
Browse files
README.md
CHANGED
|
@@ -26,7 +26,8 @@ The original Twitter-based RoBERTa model can be found [here](https://huggingface
|
|
| 26 |
"2": "sex",
|
| 27 |
"3": "drugs",
|
| 28 |
"4": "selfharm",
|
| 29 |
-
"5": "spam"
|
|
|
|
| 30 |
}
|
| 31 |
```
|
| 32 |
|
|
@@ -43,12 +44,13 @@ pipe(text)
|
|
| 43 |
Output:
|
| 44 |
|
| 45 |
```
|
| 46 |
-
[[{'label': 'conflictual', 'score': 0.
|
| 47 |
-
{'label': 'profanity', 'score': 0.
|
| 48 |
-
{'label': 'sex', 'score': 0.
|
| 49 |
-
{'label': 'drugs', 'score': 0.
|
| 50 |
-
{'label': 'selfharm', 'score': 0.
|
| 51 |
-
{'label': 'spam', 'score': 0.
|
|
|
|
| 52 |
```
|
| 53 |
|
| 54 |
|
|
|
|
| 26 |
"2": "sex",
|
| 27 |
"3": "drugs",
|
| 28 |
"4": "selfharm",
|
| 29 |
+
"5": "spam",
|
| 30 |
+
"6": "not-sensitive"
|
| 31 |
}
|
| 32 |
```
|
| 33 |
|
|
|
|
| 44 |
Output:
|
| 45 |
|
| 46 |
```
|
| 47 |
+
[[{'label': 'conflictual', 'score': 0.03700090944766998},
|
| 48 |
+
{'label': 'profanity', 'score': 0.9770461916923523},
|
| 49 |
+
{'label': 'sex', 'score': 0.01981434039771557},
|
| 50 |
+
{'label': 'drugs', 'score': 0.017757439985871315},
|
| 51 |
+
{'label': 'selfharm', 'score': 0.008804548531770706},
|
| 52 |
+
{'label': 'spam', 'score': 0.07784222811460495},
|
| 53 |
+
{'label': 'not-sensitive', 'score': 0.010364986956119537}]]
|
| 54 |
```
|
| 55 |
|
| 56 |
|