Instructions to use Hate-speech-CNERG/bert-base-uncased-hatexplain with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Hate-speech-CNERG/bert-base-uncased-hatexplain with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hate-speech-CNERG/bert-base-uncased-hatexplain")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Hate-speech-CNERG/bert-base-uncased-hatexplain") model = AutoModelForSequenceClassification.from_pretrained("Hate-speech-CNERG/bert-base-uncased-hatexplain") - Inference
- Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 321b4e7339278591e1e3b104c34076990ebb045070a22f27fe2342d67d42a66d
- Size of remote file:
- 438 MB
- SHA256:
- dc92239e1ca3c00bf29066fd2422d44134eddd96870b95e531cffcb3db41ab6b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.