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

sanali209
/
nsfwfilter

Image Classification
Transformers
PyTorch
TensorBoard
Safetensors
vit
huggingpics
Eval Results (legacy)
Model card Files Files and versions
xet
Metrics Training metrics Community
3

Instructions to use sanali209/nsfwfilter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use sanali209/nsfwfilter with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="sanali209/nsfwfilter")
    pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForImageClassification
    
    processor = AutoImageProcessor.from_pretrained("sanali209/nsfwfilter")
    model = AutoModelForImageClassification.from_pretrained("sanali209/nsfwfilter")
  • Notebooks
  • Google Colab
  • Kaggle
nsfwfilter
687 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 16 commits
sanali209's picture
sanali209
Upload best model after training (val_loss: 0.4900)
64a6c48 verified 12 months ago
  • runs
    commit files to HF hub over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    664 Bytes
    commit files to HF hub over 1 year ago
  • config.json
    753 Bytes
    Upload best model after training (val_loss: 0.4664) 12 months ago
  • label_mappings.pth

    Pickle imports

    • No problematic imports detected

    What is a pickle import?

    1.02 kB
    xet
    Upload best model after training (val_acc: 0.8347) about 1 year ago
  • model.safetensors
    343 MB
    xet
    Upload best model after training (val_loss: 0.4900) 12 months ago
  • preprocessor_config.json
    616 Bytes
    Upload best model after training (val_loss: 0.5724) about 1 year ago
  • pytorch_model.bin
    343 MB
    xet
    commit files to HF hub over 2 years ago