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