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