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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

originbio
/
TinyPath

Image Feature Extraction
Transformers
Safetensors
timm
timm_wrapper
feature-extraction
vision
histopathology
pathology
vit
pruning
knowledge-distillation
custom_code
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use originbio/TinyPath with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-feature-extraction", model="originbio/TinyPath", trust_remote_code=True)
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoImageProcessor, AutoModel
    
    processor = AutoImageProcessor.from_pretrained("originbio/TinyPath", trust_remote_code=True)
    model = AutoModel.from_pretrained("originbio/TinyPath", trust_remote_code=True, device_map="auto")
  • timm

    How to use originbio/TinyPath with timm:

    import timm
    
    model = timm.create_model("hf-hub:originbio/TinyPath", pretrained=True)
  • Notebooks
  • Google Colab
  • Kaggle

You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Gated model
You can list files but not access them

Preview of files found in this repository
  • assets
    Keep official benchmarks only; add teacher retention charts 3 days ago
  • tests
    Upload folder using huggingface_hub 6 days ago
  • .gitattributes
    1.7 kB
    Keep official benchmarks only; add teacher retention charts 3 days ago
  • .gitignore
    48 Bytes
    Upload folder using huggingface_hub 6 days ago
  • README.md
    12 kB
    Load model card figures from a public repo so they show without access about 20 hours ago
  • config.json
    1.9 kB
    Upload folder using huggingface_hub 6 days ago
  • configuration_tinypath.py
    3.18 kB
    Upload folder using huggingface_hub 6 days ago
  • model.safetensors
    415 MB
    xet
    Restore model.safetensors 4 days ago
  • modeling_tinypath.py
    30.8 kB
    Upload folder using huggingface_hub 6 days ago
  • requirements.txt
    121 Bytes
    Upload folder using huggingface_hub 6 days ago
  • run_inference.py
    7.7 kB
    Upload folder using huggingface_hub 6 days ago