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

jaypratap
/
vit-base-patch16-224-cxr-classification

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

Instructions to use jaypratap/vit-base-patch16-224-cxr-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use jaypratap/vit-base-patch16-224-cxr-classification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="jaypratap/vit-base-patch16-224-cxr-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("jaypratap/vit-base-patch16-224-cxr-classification")
    model = AutoModelForImageClassification.from_pretrained("jaypratap/vit-base-patch16-224-cxr-classification")
  • Notebooks
  • Google Colab
  • Kaggle
vit-base-patch16-224-cxr-classification / runs
14.3 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
jaypratap's picture
jaypratap
Training in progress, epoch 1
bbf7cb7 over 2 years ago
  • Dec15_01-13-21_ip-172-16-23-166.us-west-2.compute.internal
    Training in progress, epoch 1 over 2 years ago
  • Dec15_01-14-48_ip-172-16-23-166.us-west-2.compute.internal
    Training in progress, epoch 1 over 2 years ago