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

shriramkv
/
new_vit

Image Classification
Transformers
PyTorch
google-tensorflow TensorFlow
vit
generated_from_keras_callback
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use shriramkv/new_vit with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="shriramkv/new_vit")
    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("shriramkv/new_vit")
    model = AutoModelForImageClassification.from_pretrained("shriramkv/new_vit")
  • Notebooks
  • Google Colab
  • Kaggle
new_vit
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
shriramkv's picture
shriramkv
Upload ViTForImageClassification
50bebc0 over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    952 Bytes
    Upload TFViTForImageClassification over 3 years ago
  • config.json
    508 Bytes
    Upload ViTForImageClassification over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    678 kB
    xet
    Upload ViTForImageClassification over 3 years ago
  • tf_model.h5
    347 MB
    xet
    Upload TFViTForImageClassification over 3 years ago