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
Download tokenizer.json from kenbaker-gif/Email_Spam_Classifier: direct link, hf CLI and curl.
- Browser
- Download file 712 kB
-
https://huggingface.co/kenbaker-gif/Email_Spam_Classifier/resolve/244f7cbff3532c2e4b4cbb96f2e8bd4571e2d3bd/tokenizer.json
- Command line
-
hf download hf://kenbaker-gif/Email_Spam_Classifier@244f7cbff3532c2e4b4cbb96f2e8bd4571e2d3bd/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/kenbaker-gif/Email_Spam_Classifier/resolve/244f7cbff3532c2e4b4cbb96f2e8bd4571e2d3bd/tokenizer.json
712 kB
File too large to display, you can check the raw version instead.