Instructions to use SuccubusBot/distilbert-multilingual-incoherence-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SuccubusBot/distilbert-multilingual-incoherence-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SuccubusBot/distilbert-multilingual-incoherence-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SuccubusBot/distilbert-multilingual-incoherence-classifier") model = AutoModelForSequenceClassification.from_pretrained("SuccubusBot/distilbert-multilingual-incoherence-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download type_mapping.json from SuccubusBot/distilbert-multilingual-incoherence-classifier: direct link, hf CLI and curl.
- Browser
- Download file 141 Bytes
-
https://huggingface.co/SuccubusBot/distilbert-multilingual-incoherence-classifier/resolve/main/type_mapping.json
- Command line
-
hf download hf://SuccubusBot/distilbert-multilingual-incoherence-classifier/type_mapping.json
-
curl -L -o type_mapping.json https://huggingface.co/SuccubusBot/distilbert-multilingual-incoherence-classifier/resolve/main/type_mapping.json
141 Bytes
| {"0": "coherent", "1": "grammatical_errors", "2": "random_bytes", "3": "random_tokens", "4": "random_words", "5": "run_on", "6": "word_soup"} |