Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

INC4AI
/
vit-base-patch16-224-int8-static-inc

Image Classification
Transformers
PyTorch
vit
int8
Intel® Neural Compressor
PostTrainingStatic
Model card Files Files and versions
xet
Community

Instructions to use INC4AI/vit-base-patch16-224-int8-static-inc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use INC4AI/vit-base-patch16-224-int8-static-inc with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="INC4AI/vit-base-patch16-224-int8-static-inc")
    pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForImageClassification
    
    processor = AutoImageProcessor.from_pretrained("INC4AI/vit-base-patch16-224-int8-static-inc")
    model = AutoModelForImageClassification.from_pretrained("INC4AI/vit-base-patch16-224-int8-static-inc", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
vit-base-patch16-224-int8-static-inc
97.9 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
lvkaokao's picture
lvkaokao
update README.md.
b1f17e8 about 4 years ago
  • .gitattributes
    1.38 kB
    initial commit about 4 years ago
  • README.md
    1.18 kB
    update README.md. about 4 years ago
  • config.json
    71.8 kB
    upload int8 model. about 4 years ago
  • preprocessor_config.json
    228 Bytes
    upload int8 model. about 4 years ago
  • pytorch_model.bin
    97.8 MB
    xet
    upload int8 model. about 4 years ago