Instructions to use Modotte/AIRealNet-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Modotte/AIRealNet-2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Modotte/AIRealNet-2") 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("Modotte/AIRealNet-2") model = AutoModelForImageClassification.from_pretrained("Modotte/AIRealNet-2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -14,7 +14,7 @@ tags:
|
|
| 14 |
|
| 15 |
<p align="center">
|
| 16 |
<img
|
| 17 |
-
src="https://cdn-uploads.huggingface.co/production/uploads/677fcdf29b9a9863eba3f29f/
|
| 18 |
alt="AIRealNet Banner"
|
| 19 |
width="90%"
|
| 20 |
style="border-radius:15px;"
|
|
|
|
| 14 |
|
| 15 |
<p align="center">
|
| 16 |
<img
|
| 17 |
+
src="https://cdn-uploads.huggingface.co/production/uploads/677fcdf29b9a9863eba3f29f/T-Twoka4G5_Qfcqlka4l8.png"
|
| 18 |
alt="AIRealNet Banner"
|
| 19 |
width="90%"
|
| 20 |
style="border-radius:15px;"
|