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: 135 Bytes
9b053c4 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:9c295d18fc661a90d9f7bfcd7ce986a2fdbba96361362129be20ca23edd3c2f7
size 1771544497
|