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