Text Classification
Transformers
Safetensors
distilbert
spam-detection
sms
text-embeddings-inference
Instructions to use alusci/distilbert-smsafe with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alusci/distilbert-smsafe with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="alusci/distilbert-smsafe")# Load model directly from transformers import AutoTokenizer, WeightedLossBERT tokenizer = AutoTokenizer.from_pretrained("alusci/distilbert-smsafe") model = WeightedLossBERT.from_pretrained("alusci/distilbert-smsafe") - Notebooks
- Google Colab
- Kaggle