Instructions to use microsoft/beit-base-patch16-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/beit-base-patch16-224 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="microsoft/beit-base-patch16-224") 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("microsoft/beit-base-patch16-224") model = AutoModelForImageClassification.from_pretrained("microsoft/beit-base-patch16-224", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (d899974cbdbcb4add95684ceb54be7d1234492f8) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>f02e8f7 -
Move first line of bibtex to new line (#3)
Verified signature- Move first line of bibtex to new line (b0684f39a53741f7690d597bc77dfcfc387750e8) Co-authored-by: Dennis Rall <dennis-rall@users.noreply.huggingface.co>dc11a42
-
Update README.md
5f0307a
-
Add vision tag
f73f827
-
add model
655f6d8 -
add config
7701220 -
Update .gitattributes
9ccb1e0
-
Update preprocessor_config.json
9665651
-
Fix typo in code example
7529ed1
-
Fix typo
c0f6a2a -
Update model card
fee5c23
-
Add more info to model card
10875b6 -
Fix model card on position embeddings
3fa215c -
Add model card
94b9e0a
-
First commit
7d8a062 -
initial commit
e7e9637