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")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("fptinters/DocClass-classify-model") model = AutoModelForImageClassification.from_pretrained("fptinters/DocClass-classify-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from fptinters/DocClass-classify-model: direct link, hf CLI and curl.
- Browser
- Download file 343 MB
-
https://huggingface.co/fptinters/DocClass-classify-model/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://fptinters/DocClass-classify-model/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/fptinters/DocClass-classify-model/resolve/main/pytorch_model.bin
343 MB
- Xet hash:
- a2259f4c188c13f16400990c8d748c4539199b6d68766419cff7a60bc505cc6f
- Size of remote file:
- 343 MB
- SHA256:
- 251de74de88fac5649920362b965cbacf69eb1de57a36ab7d0a55e0f593e56c6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.