Instructions to use Hate-speech-CNERG/indic-abusive-allInOne-MuRIL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Hate-speech-CNERG/indic-abusive-allInOne-MuRIL with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hate-speech-CNERG/indic-abusive-allInOne-MuRIL")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Hate-speech-CNERG/indic-abusive-allInOne-MuRIL") model = AutoModelForSequenceClassification.from_pretrained("Hate-speech-CNERG/indic-abusive-allInOne-MuRIL", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
9cc0eed | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:26bb2e923c27a5178fa6eb2aadffad439ab24b21a0ca71e34fe2ed09ec8d0fd3
size 950316077
|