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

Snarci
/
ViT-base-patch16-384-Chaoyang-from-scratch

Image Classification
Transformers
PyTorch
vit
vision
Model card Files Files and versions
xet
Community
1

Instructions to use Snarci/ViT-base-patch16-384-Chaoyang-from-scratch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Snarci/ViT-base-patch16-384-Chaoyang-from-scratch with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="Snarci/ViT-base-patch16-384-Chaoyang-from-scratch")
    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("Snarci/ViT-base-patch16-384-Chaoyang-from-scratch")
    model = AutoModelForImageClassification.from_pretrained("Snarci/ViT-base-patch16-384-Chaoyang-from-scratch")
  • Notebooks
  • Google Colab
  • Kaggle
ViT-base-patch16-384-Chaoyang-from-scratch
344 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
Snarci's picture
Snarci
Update README.md
268bf39 about 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    4.89 kB
    Update README.md about 3 years ago
  • config.json
    765 Bytes
    Update config.json about 3 years ago
  • preprocessor_config.json
    159 Bytes
    Create preprocessor_config.json about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    344 MB
    xet
    Upload 2 files about 3 years ago