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

RationAI
/
vit-patch16-224-prostate

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

Instructions to use RationAI/vit-patch16-224-prostate with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use RationAI/vit-patch16-224-prostate with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="RationAI/vit-patch16-224-prostate")
    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("RationAI/vit-patch16-224-prostate")
    model = AutoModelForImageClassification.from_pretrained("RationAI/vit-patch16-224-prostate")
  • Notebooks
  • Google Colab
  • Kaggle
vit-patch16-224-prostate
686 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
matejpekar's picture
matejpekar
Update config.json
3924fb9 verified about 9 hours ago
  • .gitattributes
    1.52 kB
    initial commit about 2 months ago
  • README.md
    315 Bytes
    Update README.md about 2 months ago
  • config.json
    889 Bytes
    Update config.json about 9 hours ago
  • model.safetensors
    343 MB
    xet
    Upload ViTForImageClassification about 2 months ago
  • preprocessor_config.json
    351 Bytes
    Upload processor about 2 months ago
  • timm_model.bin
    343 MB
    xet
    Upload timm_model.bin with huggingface_hub about 9 hours ago