shawhin/phishing-site-classification
Viewer • Updated • 3k • 417 • 7
How to use shawhin/bert-phishing-classifier_student with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="shawhin/bert-phishing-classifier_student") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("shawhin/bert-phishing-classifier_student")
model = AutoModelForSequenceClassification.from_pretrained("shawhin/bert-phishing-classifier_student")This model is modified version of distilbert/distilbert-base-uncased trained via knowledge distillation from shawhin/bert-phishing-classifier_teacher using the shawhin/phishing-site-classification dataset. It achieves the following results on the testing set:
Student model for knowledge distillation example.
Video | Blog | Example code
This model was created for educational purposes.
The Training, Testing, and Validation data are available here: shawhin/phishing-site-classification.
The following hyperparameters were used during training: