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
343 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 15 commits
yangswei's picture
yangswei
Training in progress, epoch 9
e9cb3f8 verified over 2 years ago
  • runs
    Training in progress, epoch 9 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • config.json
    1.46 kB
    Training in progress, epoch 1 over 2 years ago
  • model.safetensors
    343 MB
    xet
    Training in progress, epoch 9 over 2 years ago
  • preprocessor_config.json
    325 Bytes
    Training in progress, epoch 1 over 2 years ago
  • training_args.bin
    4.73 kB
    xet
    Training in progress, epoch 1 over 2 years ago