Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • 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 / venv /lib /python3.11 /site-packages /sklearn /preprocessing
2.28 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
Sam Chaudry
Upload folder using huggingface_hub
7885a28 verified about 1 year ago
  • __pycache__
    Upload folder using huggingface_hub about 1 year ago
  • tests
    Upload folder using huggingface_hub about 1 year ago
  • __init__.py
    1.5 kB
    Upload folder using huggingface_hub about 1 year ago
  • _csr_polynomial_expansion.cpython-311-darwin.so
    347 kB
    xet
    Upload folder using huggingface_hub about 1 year ago
  • _csr_polynomial_expansion.pyx
    9.15 kB
    Upload folder using huggingface_hub about 1 year ago
  • _data.py
    127 kB
    Upload folder using huggingface_hub about 1 year ago
  • _discretization.py
    16.9 kB
    Upload folder using huggingface_hub about 1 year ago
  • _encoders.py
    68.4 kB
    Upload folder using huggingface_hub about 1 year ago
  • _function_transformer.py
    17 kB
    Upload folder using huggingface_hub about 1 year ago
  • _label.py
    31.3 kB
    Upload folder using huggingface_hub about 1 year ago
  • _polynomial.py
    47.5 kB
    Upload folder using huggingface_hub about 1 year ago
  • _target_encoder.py
    20.6 kB
    Upload folder using huggingface_hub about 1 year ago
  • _target_encoder_fast.cpython-311-darwin.so
    421 kB
    xet
    Upload folder using huggingface_hub about 1 year ago
  • _target_encoder_fast.pyx
    5.94 kB
    Upload folder using huggingface_hub about 1 year ago
  • meson.build
    414 Bytes
    Upload folder using huggingface_hub about 1 year ago