Instructions to use AnonymousCS/BERT_offenseval with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AnonymousCS/BERT_offenseval with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AnonymousCS/BERT_offenseval")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AnonymousCS/BERT_offenseval") model = AutoModelForSequenceClassification.from_pretrained("AnonymousCS/BERT_offenseval") - Notebooks
- Google Colab
- Kaggle
Commit History
Upload BertForSequenceClassification 0f551d3 verified
CeciliaS commited on
initial commit a4a85f2 verified
CeciliaS commited on