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

henriquequeirozcunha
/
microvit-s2

Image Classification
Transformers
Safetensors
microvit
vision-transformer
custom_code
Model card Files Files and versions
xet
Community

Instructions to use henriquequeirozcunha/microvit-s2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use henriquequeirozcunha/microvit-s2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="henriquequeirozcunha/microvit-s2", trust_remote_code=True)
    pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
    # Load model directly
    from transformers import AutoModelForImageClassification
    model = AutoModelForImageClassification.from_pretrained("henriquequeirozcunha/microvit-s2", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
microvit-s2
92.6 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
henriquequeirozcunha's picture
henriquequeirozcunha
Upload MicroViT-S2 as proper HF model (trust_remote_code)
b8dc1cc verified about 1 month ago
  • .gitattributes
    1.52 kB
    initial commit about 1 month ago
  • README.md
    987 Bytes
    Upload MicroViT-S2 as proper HF model (trust_remote_code) about 1 month ago
  • config.json
    46.3 kB
    Upload MicroViT-S2 as proper HF model (trust_remote_code) about 1 month ago
  • microvit_hf.py
    3.27 kB
    Upload MicroViT-S2 as proper HF model (trust_remote_code) about 1 month ago
  • model.safetensors
    46.2 MB
    xet
    Upload MicroViT-S2 as proper HF model (trust_remote_code) about 1 month ago
  • pretrained_weights.pth

    Detected Pickle imports (4)

    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage",
    • "torch.LongStorage"

    What is a pickle import?

    46.3 MB
    xet
    Upload MicroViT-S2 pretrained weights about 1 month ago
  • shvit.py
    8.21 kB
    Upload MicroViT-S2 as proper HF model (trust_remote_code) about 1 month ago