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

  • Log In
  • Sign Up

anggtpd
/
snacks_classifier

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

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

  • Libraries
  • Transformers

    How to use anggtpd/snacks_classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="anggtpd/snacks_classifier")
    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("anggtpd/snacks_classifier")
    model = AutoModelForImageClassification.from_pretrained("anggtpd/snacks_classifier")
  • Notebooks
  • Google Colab
  • Kaggle
snacks_classifier
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
anggtpd's picture
anggtpd
Create README.md
1075a19 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    348 Bytes
    Create README.md over 2 years ago
  • config.json
    69.7 kB
    Upload ViTForImageClassification over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    346 MB
    xet
    Upload ViTForImageClassification over 2 years ago