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

  • Log In
  • Sign Up

zguo0525
/
myshell_nsfw_filter

Image Classification
Transformers
PyTorch
vit
Model card Files Files and versions
xet
Community
2

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

  • Libraries
  • Transformers

    How to use zguo0525/myshell_nsfw_filter with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="zguo0525/myshell_nsfw_filter")
    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("zguo0525/myshell_nsfw_filter")
    model = AutoModelForImageClassification.from_pretrained("zguo0525/myshell_nsfw_filter")
  • Notebooks
  • Google Colab
  • Kaggle
myshell_nsfw_filter
343 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
zguo0525's picture
zguo0525
Update README.md
be9758c over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    713 Bytes
    Update README.md over 2 years ago
  • config.json
    750 Bytes
    Update config.json over 2 years ago
  • preprocessor_config.json
    326 Bytes
    Create preprocessor_config.json over 2 years ago
  • pytorch_model.bin
    343 MB
    xet
    Upload ViTForImageClassification (#1) over 2 years ago