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

nateraw
/
food

Image Classification
Transformers
PyTorch
TensorBoard
vit
Generated from Trainer
Eval Results (legacy)
Model card Files Files and versions
xet
Metrics Training metrics Community
3

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

  • Libraries
  • Transformers

    How to use nateraw/food with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="nateraw/food")
    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("nateraw/food")
    model = AutoModelForImageClassification.from_pretrained("nateraw/food")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
food
344 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 12 commits
nateraw's picture
nateraw
Update README.md
8991abd about 4 years ago
  • runs
    add logs almost 5 years ago
  • .gitattributes
    791 Bytes
    add weights almost 5 years ago
  • README.md
    1.96 kB
    Update README.md about 4 years ago
  • all_results.json
    353 Bytes
    init almost 5 years ago
  • config.json
    5.58 kB
    Update config.json over 4 years ago
  • eval_results.json
    204 Bytes
    init almost 5 years ago
  • preprocessor_config.json
    228 Bytes
    init almost 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    344 MB
    xet
    add weights almost 5 years ago
  • train_results.json
    169 Bytes
    init almost 5 years ago
  • trainer_state.json
    19.7 kB
    init almost 5 years ago
  • training_args.bin

    Detected Pickle imports (4)

    • "transformers.trainer_utils.SchedulerType",
    • "transformers.training_args.TrainingArguments",
    • "torch.device",
    • "transformers.trainer_utils.IntervalStrategy"

    How to fix it?

    2.67 kB
    xet
    init almost 5 years ago