ealvaradob/phishing-dataset
Updated • 1.05k • 63
How to use buDujS/gpt2-lora-phishing with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="buDujS/gpt2-lora-phishing") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("buDujS/gpt2-lora-phishing")
model = AutoModelForSequenceClassification.from_pretrained("buDujS/gpt2-lora-phishing")Base model
openai-community/gpt2