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

Nahrawy
/
AIorNot

Image Classification
Transformers
PyTorch
English
swin
generative ai
classification
Model card Files Files and versions
xet
Community
6

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

  • Libraries
  • Transformers

    How to use Nahrawy/AIorNot with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="Nahrawy/AIorNot")
    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("Nahrawy/AIorNot")
    model = AutoModelForImageClassification.from_pretrained("Nahrawy/AIorNot")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
AIorNot
113 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
tirtharajL's picture
tirtharajL
Upload IMG_20241104_235042.jpg
c37f33e verified over 1 year ago
  • .gitattributes
    1.54 kB
    Upload IMG_20241104_235042.jpg over 1 year ago
  • IMG_20241104_235042.jpg
    2.49 MB
    xet
    Upload IMG_20241104_235042.jpg over 1 year ago
  • README.md
    777 Bytes
    Update README.md about 3 years ago
  • config.json
    1.07 kB
    Upload SwinForImageClassification about 3 years ago
  • preprocessor_config.json
    390 Bytes
    Upload feature extractor about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.LongStorage",
    • "torch.FloatStorage"

    What is a pickle import?

    110 MB
    xet
    Upload SwinForImageClassification about 3 years ago