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:
- 1afc6e3ef88803b1bf782cc1b2b1e97cd8c17bc8ee6fdbd14595d75dea8d27a2
- Size of remote file:
- 303 kB
- SHA256:
- 8e2e6f3172dfa34ebb375361bb441f4477f2066e4bbda62dac5075d81e72fde7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.