Instructions to use SotirisLegkas/multilingual_hate with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SotirisLegkas/multilingual_hate with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SotirisLegkas/multilingual_hate")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SotirisLegkas/multilingual_hate") model = AutoModelForSequenceClassification.from_pretrained("SotirisLegkas/multilingual_hate", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download .gitattributes from SotirisLegkas/multilingual_hate: direct link, hf CLI and curl.
- Browser
- Download file 151 Bytes
-
https://huggingface.co/SotirisLegkas/multilingual_hate/resolve/main/.gitattributes
- Command line
-
hf download hf://SotirisLegkas/multilingual_hate/.gitattributes
-
curl -L -o .gitattributes https://huggingface.co/SotirisLegkas/multilingual_hate/resolve/main/.gitattributes
151 Bytes
| tokenizer.json filter=lfs diff=lfs merge=lfs -text | |
| spm.model filter=lfs diff=lfs merge=lfs -text | |
| model.safetensors filter=lfs diff=lfs merge=lfs -text | |