Text Classification
LiteRT
LiteRT
Core ML
ONNX
hate-speech
hate-speech-detection
toxicity-classification
content-moderation
offensive-language
on-device
edge-ai
mobile
ios
android
browser
offline
core-ml
multilingual
Instructions to use desert-ant-labs/toxic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use desert-ant-labs/toxic with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
| { | |
| "content": { | |
| "id2label": { | |
| "0": "HATEFUL", | |
| "1": "HARASSMENT", | |
| "2": "THREAT", | |
| "3": "SEXUAL", | |
| "4": "SELF_HARM" | |
| }, | |
| "label2id": { | |
| "HATEFUL": 0, | |
| "HARASSMENT": 1, | |
| "THREAT": 2, | |
| "SEXUAL": 3, | |
| "SELF_HARM": 4 | |
| } | |
| }, | |
| "target": { | |
| "id2label": { | |
| "0": "RACE", | |
| "1": "COLOUR", | |
| "2": "RELIGION", | |
| "3": "DESCENT", | |
| "4": "NATIONAL_ETHNIC_ORIGIN", | |
| "5": "SEXUAL_ORIENTATION", | |
| "6": "GENDER", | |
| "7": "DISABILITY", | |
| "8": "AGE", | |
| "9": "OTHER" | |
| }, | |
| "label2id": { | |
| "RACE": 0, | |
| "COLOUR": 1, | |
| "RELIGION": 2, | |
| "DESCENT": 3, | |
| "NATIONAL_ETHNIC_ORIGIN": 4, | |
| "SEXUAL_ORIENTATION": 5, | |
| "GENDER": 6, | |
| "DISABILITY": 7, | |
| "AGE": 8, | |
| "OTHER": 9 | |
| } | |
| } | |
| } | |