pelz-y3mi commited on
Commit
9cecf89
·
verified ·
1 Parent(s): 62b6362

created readme file

Browse files

**#Model Description**

PhishFinder is a fine-tuned DistilBERT-based sequence classification model specifically designed to detect phishing URLs with high accuracy. This model analyzes URL patterns, structures, and characteristics to identify malicious websites attempting to steal sensitive information through social engineering attacks.


**Model Architecture**

• Base Model: DistilBERT (distilbert-base-uncased)
• Task: Binary Sequence Classification
• Framework: PyTorch + Transformers
• Model Type: Deep Learning Neural Network
• Training Objective: Phishing URL Detection (Legitimate vs Phishing)

**📊 Model Performance**

• Accuracy: ~99% on test dataset
• Inference Speed: <2 seconds average
• Input Format: Raw URLs (up to 256 characters)
• Response Time: Real-time detection suitable for production use


**Direct API Usage**

<code>import requests

API_URL = "https://router.huggingface.co/hf-inference/pelz-y3mi/phishing-detector"
headers = {"Authorization": "Bearer YOUR_HF_TOKEN"}

def query(url):
response = requests.post(
API_URL,
headers=headers,
json={"inputs": url}
)
return response.json()

Test with a URL
result = query("https://www.google.com")
print(result)</code>

Files changed (1) hide show
  1. README.md +20 -0
README.md ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ datasets:
4
+ - ealvaradob/phishing-dataset
5
+ language:
6
+ - en
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ - precision
11
+ - recall
12
+ base_model:
13
+ - pelz-y3mi/phishing-detector
14
+ library_name: transformers
15
+ tags:
16
+ - phishing_urls
17
+ - phishing
18
+ - text_classifaction
19
+ - machine_learning
20
+ ---