Instructions to use yanyoeurn/sms-spam-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use yanyoeurn/sms-spam-detector with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("yanyoeurn/sms-spam-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
| accuracy,precision,recall,f1,roc_auc,train_time_seconds,train_samples,test_samples,feature_count,algorithm | |
| 0.9445953286257469,0.9516355140186916,0.9095578383206788,0.9301210321991322,0.9867427044873325,18.300484,44184,11046,3000,logistic_regression | |
| 0.9208763353250046,0.8943107221006564,0.9126842340330504,0.9034040671971706,0.9796807738903798,0.403664,44184,11046,3000,naive_bayes | |
| 0.8947130182871628,0.9811320754716981,0.754801250558285,0.8532121671084185,0.9715645449481264,9.617981,44184,11046,3000,random_forest | |