Instructions to use Audi24/OptoAI2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Audi24/OptoAI2.0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Audi24/OptoAI2.0") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("Audi24/OptoAI2.0") model = AutoModelForImageClassification.from_pretrained("Audi24/OptoAI2.0", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tf_model.h5 from Audi24/OptoAI2.0: direct link, hf CLI and curl.
- Browser
- Download file 343 MB
-
https://huggingface.co/Audi24/OptoAI2.0/resolve/main/tf_model.h5
- Command line
-
hf download hf://Audi24/OptoAI2.0/tf_model.h5
-
curl -L -o tf_model.h5 https://huggingface.co/Audi24/OptoAI2.0/resolve/main/tf_model.h5
343 MB
- Xet hash:
- cc92cb99bb310febd03215ebe300e623de6ebf5fa26b17136aaf8cb27b9e168a
- Size of remote file:
- 343 MB
- SHA256:
- c4ab3731082738f4c3a57b06e4adbc64094649f66d1d61edc515e3306cf71efe
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.