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

  • Log In
  • Sign Up

amaye15
/
aimv2-large-patch14-native-image-classification

Image Classification
Transformers
Safetensors
aimv2
vision
custom_code
Model card Files Files and versions
xet
Community

Instructions to use amaye15/aimv2-large-patch14-native-image-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use amaye15/aimv2-large-patch14-native-image-classification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="amaye15/aimv2-large-patch14-native-image-classification", trust_remote_code=True)
    pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForImageClassification
    
    processor = AutoProcessor.from_pretrained("amaye15/aimv2-large-patch14-native-image-classification", trust_remote_code=True)
    model = AutoModelForImageClassification.from_pretrained("amaye15/aimv2-large-patch14-native-image-classification", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
aimv2-large-patch14-native-image-classification
Ctrl+K
Ctrl+K
  • 1 contributor
History: 19 commits
amaye15's picture
amaye15
Update modeling_aimv2.py
a02fc19 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    2.65 kB
    Update README.md over 1 year ago
  • config.json
    46.4 kB
    Upload AIMv2ForImageClassification over 1 year ago
  • configuration_aimv2.py
    2.51 kB
    Upload AIMv2ForImageClassification over 1 year ago
  • model.safetensors
    1.24 GB
    xet
    Upload AIMv2ForImageClassification over 1 year ago
  • modeling_aimv2.py
    13.7 kB
    Update modeling_aimv2.py over 1 year ago
  • preprocessor_config.json
    468 Bytes
    Upload processor over 1 year ago