Instructions to use microsoft/beit-base-patch16-224-pt22k-ft22k 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-ft22k 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-ft22k") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("microsoft/beit-base-patch16-224-pt22k-ft22k", dtype="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
config.json is missing 2 labels from id2label and label2id: 9205 and 15027
#5 opened about 1 year ago
by
cristian-m-vasile
Update preprocessor_config.json
#4 opened about 2 years ago
by
camanalo1
Adding `safetensors` variant of this model
#3 opened about 3 years ago
by
SFconvertbot
Adding `safetensors` variant of this model
#2 opened over 3 years ago
by
Narsil
how did it recognize this as android man, gun and bullet proof vest
#1 opened over 3 years ago
by
Worn-Edge