Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

facebook
/
convnext-small-224

Image Classification
Transformers
PyTorch
google-tensorflow TensorFlow
Safetensors
convnext
vision
Model card Files Files and versions
xet
Community
1

Instructions to use facebook/convnext-small-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use facebook/convnext-small-224 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="facebook/convnext-small-224")
    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("facebook/convnext-small-224")
    model = AutoModelForImageClassification.from_pretrained("facebook/convnext-small-224")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
convnext-small-224
603 MB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 9 commits
nielsr's picture
nielsr HF Staff
Update README.md
e0df91d over 2 years ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model (#1) over 2 years ago
  • README.md
    3.06 kB
    Update README.md over 2 years ago
  • config.json
    69.6 kB
    Add TF weights; Add image_size to config about 4 years ago
  • model.safetensors
    201 MB
    xet
    Adding `safetensors` variant of this model (#1) over 2 years ago
  • preprocessor_config.json
    266 Bytes
    Add feature extractor over 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    201 MB
    xet
    Add model over 4 years ago
  • tf_model.h5
    201 MB
    xet
    Add TF weights; Add image_size to config about 4 years ago