Downloads · 30 days
2
18% of all-time downloads
jolmiano91/siteblockerbert
siteblockerbert is a machine learning model from jolmiano91. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model is part of the AI-Powered Webpage Blocker Extension (SiteBlocker) project. It classifies website text as Safe (Ethical) or Blocked (Unethical) to help filter inappropriate or harmful content.
Downloads · 30 days
2
18% of all-time downloads
All-time downloads
11
Public
Parameters
109M
438 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
This model is part of the AI-Powered Webpage Blocker Extension (SiteBlocker) project.
It classifies website text as Safe (Ethical) or Blocked (Unethical) to help filter inappropriate or harmful content.
0 → Safe ✅1 → Blocked 🚫from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
tokenizer = AutoTokenizer.from_pretrained("jolmiano91/siteblocker-bert-finetuned")
model = AutoModelForSequenceClassification.from_pretrained("jolmiano91/siteblocker-bert-finetuned")
inputs = tokenizer("This is a safe educational site.", return_tensors="pt")
outputs = model(**inputs)
print(torch.argmax(outputs.logits)) # 0 → Safe ✅