Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

dacorvo
/
mnist-mlp

Image Classification
Transformers
PyTorch
Safetensors
mlp
feature-extraction
pretrained
custom_code
Model card Files Files and versions
xet
Community
2

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")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("dacorvo/mnist-mlp", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
mnist-mlp
2.16 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits
dacorvo's picture
dacorvo HF Staff
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#2)
cb3a982 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    668 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • config.json
    296 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • configuration_mlp.py
    463 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • model.safetensors
    1.08 MB
    xet
    Adding `safetensors` variant of this model (#2) over 1 year ago
  • modeling_mlp.py
    735 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch.FloatStorage",
    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    1.08 MB
    xet
    Upload folder using huggingface_hub over 2 years ago