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
| { | |
| "version": "0.2.0", | |
| "languages": [ | |
| "en", | |
| "de", | |
| "fr", | |
| "nl", | |
| "pt", | |
| "es", | |
| "it", | |
| "pl", | |
| "da", | |
| "sv", | |
| "fi", | |
| "hu", | |
| "cs", | |
| "sk", | |
| "sl", | |
| "hr", | |
| "bg", | |
| "el", | |
| "ro", | |
| "lt", | |
| "lv", | |
| "et", | |
| "ga" | |
| ], | |
| "content_labels": [ | |
| "HATEFUL", | |
| "HARASSMENT", | |
| "THREAT", | |
| "SEXUAL", | |
| "SELF_HARM" | |
| ], | |
| "target_labels": [ | |
| "RACE", | |
| "COLOUR", | |
| "RELIGION", | |
| "DESCENT", | |
| "NATIONAL_ETHNIC_ORIGIN", | |
| "SEXUAL_ORIENTATION", | |
| "GENDER", | |
| "DISABILITY", | |
| "AGE", | |
| "OTHER" | |
| ], | |
| "base_model": "FacebookAI/xlm-roberta-base", | |
| "vocab_size": 95552, | |
| "recommended": { | |
| "threshold": 0.4, | |
| "max_length": 128, | |
| "per_language_thresholds": { | |
| "en": 0.4, | |
| "de": 0.4, | |
| "fr": 0.4, | |
| "nl": 0.4, | |
| "pt": 0.4, | |
| "es": 0.4, | |
| "it": 0.4, | |
| "pl": 0.4, | |
| "da": 0.4, | |
| "sv": 0.4, | |
| "fi": 0.4, | |
| "hu": 0.4, | |
| "cs": 0.4, | |
| "sk": 0.4, | |
| "sl": 0.4, | |
| "hr": 0.4, | |
| "bg": 0.4, | |
| "el": 0.4, | |
| "ro": 0.4, | |
| "lt": 0.4, | |
| "lv": 0.4, | |
| "et": 0.4, | |
| "ga": 0.4 | |
| } | |
| }, | |
| "threshold_menu": { | |
| "en": { | |
| "tuned": { | |
| "threshold": 0.4 | |
| }, | |
| "at_default": { | |
| "threshold": 0.4 | |
| } | |
| }, | |
| "de": { | |
| "tuned": { | |
| "threshold": 0.4 | |
| }, | |
| "at_default": { | |
| "threshold": 0.4 | |
| } | |
| }, | |
| "fr": { | |
| "tuned": { | |
| "threshold": 0.4 | |
| }, | |
| "at_default": { | |
| "threshold": 0.4 | |
| } | |
| }, | |
| "nl": { | |
| "tuned": { | |
| "threshold": 0.4 | |
| }, | |
| "at_default": { | |
| "threshold": 0.4 | |
| } | |
| }, | |
| "pt": { | |
| "tuned": { | |
| "threshold": 0.4 | |
| }, | |
| "at_default": { | |
| "threshold": 0.4 | |
| } | |
| }, | |
| "es": { | |
| "tuned": { | |
| "threshold": 0.4 | |
| }, | |
| "at_default": { | |
| "threshold": 0.4 | |
| } | |
| }, | |
| "it": { | |
| "tuned": { | |
| "threshold": 0.4 | |
| }, | |
| "at_default": { | |
| "threshold": 0.4 | |
| } | |
| }, | |
| "pl": { | |
| "tuned": { | |
| "threshold": 0.4 | |
| }, | |
| "at_default": { | |
| "threshold": 0.4 | |
| } | |
| }, | |
| "da": { | |
| "tuned": { | |
| "threshold": 0.4 | |
| }, | |
| "at_default": { | |
| "threshold": 0.4 | |
| } | |
| }, | |
| "sv": { | |
| "tuned": { | |
| "threshold": 0.4 | |
| }, | |
| "at_default": { | |
| "threshold": 0.4 | |
| } | |
| }, | |
| "fi": { | |
| "tuned": { | |
| "threshold": 0.4 | |
| }, | |
| "at_default": { | |
| "threshold": 0.4 | |
| } | |
| }, | |
| "hu": { | |
| "tuned": { | |
| "threshold": 0.4 | |
| }, | |
| "at_default": { | |
| "threshold": 0.4 | |
| } | |
| }, | |
| "cs": { | |
| "tuned": { | |
| "threshold": 0.4 | |
| }, | |
| "at_default": { | |
| "threshold": 0.4 | |
| } | |
| }, | |
| "sk": { | |
| "tuned": { | |
| "threshold": 0.4 | |
| }, | |
| "at_default": { | |
| "threshold": 0.4 | |
| } | |
| }, | |
| "sl": { | |
| "tuned": { | |
| "threshold": 0.4 | |
| }, | |
| "at_default": { | |
| "threshold": 0.4 | |
| } | |
| }, | |
| "hr": { | |
| "tuned": { | |
| "threshold": 0.4 | |
| }, | |
| "at_default": { | |
| "threshold": 0.4 | |
| } | |
| }, | |
| "bg": { | |
| "tuned": { | |
| "threshold": 0.4 | |
| }, | |
| "at_default": { | |
| "threshold": 0.4 | |
| } | |
| }, | |
| "el": { | |
| "tuned": { | |
| "threshold": 0.4 | |
| }, | |
| "at_default": { | |
| "threshold": 0.4 | |
| } | |
| }, | |
| "ro": { | |
| "tuned": { | |
| "threshold": 0.4 | |
| }, | |
| "at_default": { | |
| "threshold": 0.4 | |
| } | |
| }, | |
| "lt": { | |
| "tuned": { | |
| "threshold": 0.4 | |
| }, | |
| "at_default": { | |
| "threshold": 0.4 | |
| } | |
| }, | |
| "lv": { | |
| "tuned": { | |
| "threshold": 0.4 | |
| }, | |
| "at_default": { | |
| "threshold": 0.4 | |
| } | |
| }, | |
| "et": { | |
| "tuned": { | |
| "threshold": 0.4 | |
| }, | |
| "at_default": { | |
| "threshold": 0.4 | |
| } | |
| }, | |
| "ga": { | |
| "tuned": { | |
| "threshold": 0.4 | |
| }, | |
| "at_default": { | |
| "threshold": 0.4 | |
| } | |
| } | |
| } | |
| } | |