Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

MrParop
/
dogs-vs-cats-vit-tiny

Image Classification
Transformers
Safetensors
vit
mlflow
Model card Files Files and versions
xet
Community

Instructions to use MrParop/dogs-vs-cats-vit-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use MrParop/dogs-vs-cats-vit-tiny with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="MrParop/dogs-vs-cats-vit-tiny")
    pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForImageClassification
    
    processor = AutoImageProcessor.from_pretrained("MrParop/dogs-vs-cats-vit-tiny")
    model = AutoModelForImageClassification.from_pretrained("MrParop/dogs-vs-cats-vit-tiny", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
dogs-vs-cats-vit-tiny
22.1 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
MrParop's picture
MrParop
Upload per_class_metrics.csv with huggingface_hub
b87c7d4 verified about 1 month ago
  • .gitattributes
    1.52 kB
    initial commit about 1 month ago
  • README.md
    2.01 kB
    Upload README.md with huggingface_hub about 1 month ago
  • config.json
    726 Bytes
    Upload ViTForImageClassification about 1 month ago
  • confusion_matrix.png
    16.6 kB
    Upload confusion_matrix.png with huggingface_hub about 1 month ago
  • model.safetensors
    22.1 MB
    xet
    Upload ViTForImageClassification about 1 month ago
  • per_class_metrics.csv
    341 Bytes
    Upload per_class_metrics.csv with huggingface_hub about 1 month ago
  • preprocessor_config.json
    325 Bytes
    Upload processor about 1 month ago