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