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

yangswei
/
snacks_classification

Image Classification
Transformers
TensorBoard
Safetensors
vit
Generated from Trainer
Model card Files Files and versions
xet
Metrics Training metrics Community
1

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

  • Libraries
  • Transformers

    How to use yangswei/snacks_classification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="yangswei/snacks_classification")
    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("yangswei/snacks_classification")
    model = AutoModelForImageClassification.from_pretrained("yangswei/snacks_classification")
  • Notebooks
  • Google Colab
  • Kaggle
snacks_classification / runs
39.4 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 34 commits
yangswei's picture
yangswei
Training in progress, epoch 22
336654a verified over 2 years ago
  • Feb23_07-03-51_84f82c43b852
    Training in progress, epoch 3 over 2 years ago
  • Feb23_07-14-24_84f82c43b852
    Training in progress, epoch 5 over 2 years ago
  • Feb23_07-46-41_84f82c43b852
    Model save over 2 years ago
  • Feb27_04-22-09_214d68d598d4
    Training in progress, epoch 22 over 2 years ago