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")# 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") - Inference
- Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model (#1)
Browse files- Adding `safetensors` variant of this model (d899974cbdbcb4add95684ceb54be7d1234492f8)
Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>
- .gitattributes +1 -0
- model.safetensors +3 -0
.gitattributes
CHANGED
|
@@ -16,3 +16,4 @@
|
|
| 16 |
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 17 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 18 |
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 16 |
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 17 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 18 |
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
model.safetensors filter=lfs diff=lfs merge=lfs -text
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:873a67558f17cdd9d9018eaf308288f6dc72d030af20391df9ccbb7e10be89cc
|
| 3 |
+
size 349877750
|