ealvaradob/phishing-dataset
Updated • 1.46k • 61
How to use pelz-y3mi/phishing-detector with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="pelz-y3mi/phishing-detector") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("pelz-y3mi/phishing-detector")
model = AutoModelForSequenceClassification.from_pretrained("pelz-y3mi/phishing-detector")Unable to build the model tree, the base model loops to the model itself. Learn more.