Instructions to use mox/german_toxicity_classifier_offensive_language_politicians with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mox/german_toxicity_classifier_offensive_language_politicians with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mox/german_toxicity_classifier_offensive_language_politicians")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mox/german_toxicity_classifier_offensive_language_politicians") model = AutoModelForSequenceClassification.from_pretrained("mox/german_toxicity_classifier_offensive_language_politicians", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from mox/german_toxicity_classifier_offensive_language_politicians: direct link, hf CLI and curl.
- Browser
- Download file 440 MB
-
https://huggingface.co/mox/german_toxicity_classifier_offensive_language_politicians/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://mox/german_toxicity_classifier_offensive_language_politicians/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/mox/german_toxicity_classifier_offensive_language_politicians/resolve/main/pytorch_model.bin
440 MB
- Xet hash:
- bdca0cfa0de236009579515e6cc9843c462872c7133cb38d062d862b0249c99d
- Size of remote file:
- 440 MB
- SHA256:
- dbbafd4b8524bf8303ac34d180e846c88448c2ee701647b0f723f7d667fe4bd1
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.