Instructions to use yanyoeurn/phishing-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use yanyoeurn/phishing-detector with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("yanyoeurn/phishing-detector", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
| { | |
| "feature_names": [ | |
| "text_text_length", | |
| "text_word_count", | |
| "text_url_count", | |
| "text_email_count", | |
| "text_phone_count", | |
| "text_has_url", | |
| "text_has_email", | |
| "text_has_phone", | |
| "text_urgency_score", | |
| "text_threat_score", | |
| "text_credential_score", | |
| "text_financial_score", | |
| "text_action_score", | |
| "text_impersonation_score", | |
| "text_uppercase_ratio", | |
| "text_exclamation_count", | |
| "text_question_count", | |
| "text_punctuation_ratio", | |
| "text_avg_word_length", | |
| "text_short_word_ratio", | |
| "text_long_word_ratio", | |
| "text_all_caps_word_count", | |
| "text_capitalized_word_ratio", | |
| "text_has_currency", | |
| "text_has_percentage", | |
| "text_digit_ratio", | |
| "text_phishing_indicator_score", | |
| "url_url_length", | |
| "url_domain_length", | |
| "url_path_length", | |
| "url_subdomain_count", | |
| "url_path_depth", | |
| "url_query_param_count", | |
| "url_digit_count", | |
| "url_special_char_count", | |
| "url_digit_ratio", | |
| "url_has_https", | |
| "url_has_http", | |
| "url_has_ip_address", | |
| "url_has_at_symbol", | |
| "url_has_double_slash", | |
| "url_has_hexadecimal", | |
| "url_suspicious_tld", | |
| "url_tld_length", | |
| "url_has_brand_name", | |
| "url_suspicious_keyword_count", | |
| "url_is_shortened", | |
| "url_domain_entropy", | |
| "url_url_entropy", | |
| "url_has_hyphen_in_domain", | |
| "url_consecutive_digits" | |
| ], | |
| "enabled": true | |
| } |