lleratodev/ai-powered-phishing-email-detection-system
Viewer • Updated • 49.9k • 17
How to use lleratodev/720-bert-mini-phishing-fine-tune with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="lleratodev/720-bert-mini-phishing-fine-tune") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("lleratodev/720-bert-mini-phishing-fine-tune")
model = AutoModelForSequenceClassification.from_pretrained("lleratodev/720-bert-mini-phishing-fine-tune")