Downloads · 30 days
8
16% of all-time downloads
pogzyb/markuplm-phish
markuplm-phish is a text classification model from pogzyb. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as cc-by-4.0.
The MarkupLM base model fine-tuned for phish classification!
Downloads · 30 days
8
16% of all-time downloads
All-time downloads
50
Public
Parameters
135M
541 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors541 MB · 99%
From the Hugging Face model README
The MarkupLM base model fine-tuned for phish classification!
import requests
from transformers import AutoProcessor, pipeline
phish_processor = AutoProcessor.from_pretrained(
"pogzyb/markuplm-phish", trust_remote_code=True
)
phish_pipeline = pipeline(
"text-classification",
model="pogzyb/markuplm-phish",
tokenizer=phish_processor,
max_length=512,
padding="max_length",
truncation=True,
)
html_string = requests.get("https://huggingface.co").text
phish_pipeline(html_string)
[{'label': 'negative', 'score': 0.9991624355316162}]