ealvaradob/phishing-dataset
Updated β’ 1.22k β’ 65
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") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("pelz-y3mi/phishing-detector")
model = AutoModelForSequenceClassification.from_pretrained("pelz-y3mi/phishing-detector", device_map="auto")Unable to build the model tree, the base model loops to the model itself. Learn more.