Text Classification
Transformers
Safetensors
English
bert
spam
ham
email
tinybert
enron
Eval Results (legacy)
text-embeddings-inference
Instructions to use prancyFox/tiny-bert-enron-spam with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prancyFox/tiny-bert-enron-spam with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="prancyFox/tiny-bert-enron-spam")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("prancyFox/tiny-bert-enron-spam") model = AutoModelForSequenceClassification.from_pretrained("prancyFox/tiny-bert-enron-spam") - Notebooks
- Google Colab
- Kaggle
| { | |
| "id2label": { | |
| "0": "ham", | |
| "1": "spam" | |
| }, | |
| "label2id": { | |
| "ham": 0, | |
| "spam": 1 | |
| } | |
| } |