Instructions to use aisak-ai/AD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aisak-ai/AD with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="aisak-ai/AD") 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("aisak-ai/AD") model = AutoModelForImageClassification.from_pretrained("aisak-ai/AD") - Notebooks
- Google Colab
- Kaggle
# Load model directly
from transformers import AutoImageProcessor, AutoModelForImageClassification
processor = AutoImageProcessor.from_pretrained("aisak-ai/AD")
model = AutoModelForImageClassification.from_pretrained("aisak-ai/AD")Quick Links
© 2024 Mandela Logan. All rights reserved.
No part of this model may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the copyright holder. Unauthorized use or reproduction of this model is strictly prohibited by copyright law.
- Downloads last month
- 4
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="aisak-ai/AD") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")