Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

ModelForge
/
spam-classifier

Text Classification
Scikit-learn
Joblib
English
spam
binary-classification
scikit-learn
english
Model card Files Files and versions
xet
Community

Instructions to use ModelForge/spam-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Scikit-learn

    How to use ModelForge/spam-classifier with Scikit-learn:

    from huggingface_hub import hf_hub_download
    import joblib
    model = joblib.load(
    	hf_hub_download("ModelForge/spam-classifier", "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
spam-classifier
458 kB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 116 commits
ModelForge's picture
ModelForge
Add files using upload-large-folder tool
e4e5915 verified about 1 year ago
  • .gitattributes
    53.3 kB
    Upload folder using huggingface_hub about 1 year ago
  • .gitignore
    160 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • .huggingfaceignore
    37 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • README.md
    333 Bytes
    Update Read Me about 1 year ago
  • ReadMe.md
    103 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • spam_classifier.py
    938 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • spam_classifier_model.joblib

    Detected Pickle imports (7)

    • "numpy.ndarray",
    • "numpy.float64",
    • "numpy.dtype",
    • "sklearn.feature_extraction.text.TfidfTransformer",
    • "joblib.numpy_pickle.NumpyArrayWrapper",
    • "sklearn.feature_extraction.text.TfidfVectorizer",
    • "sklearn.pipeline.Pipeline"

    How to fix it?

    402 kB
    xet
    Upload folder using huggingface_hub about 1 year ago
  • upload_to_huggingface.py
    371 Bytes
    Add files using upload-large-folder tool about 1 year ago