Instructions to use microsoft/beit-base-patch16-224-pt22k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/beit-base-patch16-224-pt22k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="microsoft/beit-base-patch16-224-pt22k") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, BeitForMaskedImageModeling processor = AutoImageProcessor.from_pretrained("microsoft/beit-base-patch16-224-pt22k") model = BeitForMaskedImageModeling.from_pretrained("microsoft/beit-base-patch16-224-pt22k") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit ·
6594ac3
1
Parent(s): 5f915f0
add model
Browse files- flax_model.msgpack +3 -0
flax_model.msgpack
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:992202b28ad4d6f77a846849e498a6a634af5d8e92619ad78afb358c8e8084d1
|
| 3 |
+
size 367870927
|