Instructions to use nielsr/beit-base-patch16-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nielsr/beit-base-patch16-224 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="nielsr/beit-base-patch16-224") 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("nielsr/beit-base-patch16-224") model = AutoModelForImageClassification.from_pretrained("nielsr/beit-base-patch16-224") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
7ad8166 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:7773d31f101f1e5247d1f8bd1a7a2d3fa2f4f80e1bfe2ec6c65e529db7e3bb5c
size 346132551
|