Instructions to use hf-internal-testing/tiny-random-FocalNetForImageClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-FocalNetForImageClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="hf-internal-testing/tiny-random-FocalNetForImageClassification") 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("hf-internal-testing/tiny-random-FocalNetForImageClassification") model = AutoModelForImageClassification.from_pretrained("hf-internal-testing/tiny-random-FocalNetForImageClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 278ed9028562e1d7d5a7600bd2fb56c5f8820c6f30ca67823a5ae8960f234cc9
- Size of remote file:
- 303 kB
- SHA256:
- 926a65e96b77bec06844b643850b55ff28bd7648c02bc4fbf4be271ce62ffe38
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.