Instructions to use Modotte/AIRealNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Modotte/AIRealNet with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Modotte/AIRealNet") 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("Modotte/AIRealNet") model = AutoModelForImageClassification.from_pretrained("Modotte/AIRealNet") - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -132,7 +132,7 @@ pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/m
|
|
| 132 |
[{'label': 'artificial', 'score': 0.9865425825119019},
|
| 133 |
{'label': 'real', 'score': 0.013457471504807472}]
|
| 134 |
```
|
| 135 |
-
**Note** its correct as the image was generated by a diffusion model
|
| 136 |
|
| 137 |
---
|
| 138 |
|
|
|
|
| 132 |
[{'label': 'artificial', 'score': 0.9865425825119019},
|
| 133 |
{'label': 'real', 'score': 0.013457471504807472}]
|
| 134 |
```
|
| 135 |
+
**Note:** its correct as the image was generated by a diffusion model
|
| 136 |
|
| 137 |
---
|
| 138 |
|