Instructions to use fxmarty/resnet-tiny-mnist with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fxmarty/resnet-tiny-mnist with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="fxmarty/resnet-tiny-mnist") 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("fxmarty/resnet-tiny-mnist") model = AutoModelForImageClassification.from_pretrained("fxmarty/resnet-tiny-mnist", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
93f7d08 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:72b3ed2e1f131afbe98687a782109fa539b77a1b60713d8be2cb09dab092db7f
size 763481
|