Text Classification
Transformers
Safetensors
English
distilbert
text-generation-inference
spam-detection
nlp
binary-classification
text-embeddings-inference
Instructions to use kenbaker-gif/Email_Spam_Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kenbaker-gif/Email_Spam_Classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="kenbaker-gif/Email_Spam_Classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("kenbaker-gif/Email_Spam_Classifier") model = AutoModelForSequenceClassification.from_pretrained("kenbaker-gif/Email_Spam_Classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files100 unmodified lines10110210310410510610751 unmodified lines159160161162163164165100 unmodified lines- Performance on languages other than English is not guaranteed- Not tested on long-form text or other messaging platforms (email, social media)<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->51 unmodified lines# Load model and tokenizermodel_name = "kenbaker-gif/Email-Spam-Classifier"tokenizer = AutoTokenizer.from_pretrained(model_name)model = AutoModelForSequenceClassification.from_pretrained(Email_Spam_Classifier)# Create pipeline100 unmodified lines10110210310410510610751 unmodified lines159160161162163164165100 unmodified lines- Performance on languages other than English is not guaranteed- Not tested on long-form words like messaging platforms (social media)<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->51 unmodified lines# Load model and tokenizermodel_name = "kenbaker-gif/Email-Spam-Classifier"tokenizer = AutoTokenizer.from_pretrained(Email_Spam_Classifier)model = AutoModelForSequenceClassification.from_pretrained(Email_Spam_Classifier)# Create pipeline
README.md+2-2