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

ZachBeesley
/
food-classifier

Image Classification
Transformers
google-tensorflow TensorFlow
vit
generated_from_keras_callback
Model card Files Files and versions
xet
Community

Instructions to use ZachBeesley/food-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ZachBeesley/food-classifier with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="ZachBeesley/food-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("ZachBeesley/food-classifier")
    model = AutoModelForImageClassification.from_pretrained("ZachBeesley/food-classifier")
  • Notebooks
  • Google Colab
  • Kaggle
food-classifier
344 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
ZachBeesley's picture
ZachBeesley
Update README.md
06d150a almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    1.92 kB
    Update README.md almost 3 years ago
  • config.json
    5.55 kB
    End of training almost 3 years ago
  • preprocessor_config.json
    325 Bytes
    End of training almost 3 years ago
  • tf_model.h5
    344 MB
    xet
    End of training almost 3 years ago