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