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