Instructions to use cybersectony/phishing-email-detection-distilbert_v2.4.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cybersectony/phishing-email-detection-distilbert_v2.4.1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cybersectony/phishing-email-detection-distilbert_v2.4.1")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cybersectony/phishing-email-detection-distilbert_v2.4.1") model = AutoModelForSequenceClassification.from_pretrained("cybersectony/phishing-email-detection-distilbert_v2.4.1", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
How are you mapping the four output labels?
#2 opened 15 days ago
by
CyberNativeAI
Understanding model
1
#1 opened 7 months ago
by
naveeniitgn