Instructions to use uhhlt/amharic-hate-speech with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use uhhlt/amharic-hate-speech with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="uhhlt/amharic-hate-speech")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("uhhlt/amharic-hate-speech") model = AutoModelForSequenceClassification.from_pretrained("uhhlt/amharic-hate-speech", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
9b053c4 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:e278a8bc85baed2d5f7a4f223ec4e59c3773216642526eb9b87e8be597d8f42a
size 4091
|