Text Classification
Transformers
Safetensors
English
modernbert
toxicity
content-moderation
multi-label-classification
multilingual
text-embeddings-inference
Instructions to use wagesj45/multilabel-toxic-comment-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use wagesj45/multilabel-toxic-comment-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="wagesj45/multilabel-toxic-comment-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("wagesj45/multilabel-toxic-comment-classifier") model = AutoModelForSequenceClassification.from_pretrained("wagesj45/multilabel-toxic-comment-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "backend": "tokenizers", | |
| "bos_token": "<bos>", | |
| "clean_up_tokenization_spaces": false, | |
| "cls_token": "<bos>", | |
| "eos_token": "<eos>", | |
| "extra_special_tokens": [ | |
| "<start_of_turn>", | |
| "<end_of_turn>" | |
| ], | |
| "is_local": false, | |
| "local_files_only": false, | |
| "mask_token": "<mask>", | |
| "model_input_names": [ | |
| "input_ids", | |
| "attention_mask" | |
| ], | |
| "model_max_length": 8192, | |
| "pad_token": "<pad>", | |
| "padding_side": "right", | |
| "sep_token": "<eos>", | |
| "spaces_between_special_tokens": false, | |
| "tokenizer_class": "TokenizersBackend", | |
| "unk_token": "<unk>" | |
| } | |