Instructions to use dacorvo/mnist-mlp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dacorvo/mnist-mlp with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="dacorvo/mnist-mlp", trust_remote_code=True) pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("dacorvo/mnist-mlp", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add post_init() call for transformers 5.5 compatibility (#3)
- Add post_init() call for transformers 5.5 compatibility (1b373d684ad0fdcb74d0954276734c635c9e9166) Co-authored-by: Philipp Weidel <pweidel@users.noreply.huggingface.co>7ed1e96
-
Adding `safetensors` variant of this model (#2)
Verified signature- Adding `safetensors` variant of this model (9419994d8d4d5a17b6475652cf3e47f089b0b89e) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>cb3a982
-
Upload folder using huggingface_hub
e8adde1 -
initial commit
36bc522