Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

codewithdark
/
vit-chest-xray

Image Classification
Transformers
Safetensors
English
vit
medical
biology
Model card Files Files and versions
xet
Community
2

Instructions to use codewithdark/vit-chest-xray with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use codewithdark/vit-chest-xray with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="codewithdark/vit-chest-xray")
    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("codewithdark/vit-chest-xray")
    model = AutoModelForImageClassification.from_pretrained("codewithdark/vit-chest-xray")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
vit-chest-xray
343 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
codewithdark's picture
codewithdark
Update README.md
e0b092d verified 8 months ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    4.35 kB
    Update README.md 8 months ago
  • config.json
    790 Bytes
    Upload ViTForImageClassification over 1 year ago
  • model.safetensors
    343 MB
    xet
    Upload ViTForImageClassification over 1 year ago
  • preprocessor_config.json
    351 Bytes
    Upload processor over 1 year ago