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

  • Log In
  • Sign Up

bn22
/
naflexvit_small_patch16

Image Classification
timm
PyTorch
Safetensors
Transformers
Model card Files Files and versions
xet
Community

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

  • Libraries
  • timm

    How to use bn22/naflexvit_small_patch16 with timm:

    import timm
    
    model = timm.create_model("hf_hub:bn22/naflexvit_small_patch16", pretrained=True)
  • Transformers

    How to use bn22/naflexvit_small_patch16 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="bn22/naflexvit_small_patch16")
    pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("bn22/naflexvit_small_patch16", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
naflexvit_small_patch16
188 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
bn22's picture
bn22
initial model
2ad8c7f verified 17 days ago
  • .gitattributes
    1.52 kB
    initial commit 17 days ago
  • README.md
    174 Bytes
    initial model 17 days ago
  • config.json
    601 Bytes
    initial model 17 days ago
  • model.safetensors
    93.9 MB
    xet
    initial model 17 days ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    93.9 MB
    xet
    initial model 17 days ago